[issue25562] Python 2 & 3 don't allow the user to disable ctypes SEH in windows

2015-11-05 Thread R. David Murray
R. David Murray added the comment: This would be a new feature and so would not be acceptable for python2.7. I wonder if cffi has such a switch. -- nosy: +r.david.murray type: behavior -> enhancement versions: -Python 2.7 ___ Python tracker

[issue25562] Python 2 & 3 don't allow the user to disable ctypes SEH in windows

2015-11-05 Thread tzickel
New submission from tzickel: In Windows, there is a mechanizm called SEH that allows C/C++ programs to catch OS Exceptions (such as divide by zero, page faults, etc..). Python's ctypes module for some reason forces the user to wrap all ctypes FFI calls with a special SEH wrapper that converts