[Python-checkins] r47206 - in python/trunk: Lib/ctypes/test/test_win32.py Modules/_ctypes/callproc.c

Neal Norwitz nnorwitz at gmail.com
Thu Jul 6 05:56:49 CEST 2006


On 7/3/06, thomas.heller <python-checkins at python.org> wrote:
> Author: thomas.heller
> Date: Mon Jul  3 10:08:14 2006
> New Revision: 47206
>
> Modified:
>    python/trunk/Lib/ctypes/test/test_win32.py
>    python/trunk/Modules/_ctypes/callproc.c
> Log:
> Add a new function uses_seh() to the _ctypes extension module.  This
> will return True if Windows Structured Exception handling (SEH) is
> used when calling functions, False otherwise.
>
> Currently, only MSVC supports SEH.
>
> Fix the test so that it doesn't crash when run with MingW compiled
> _ctypes.  Note that two tests are still failing when mingw is used, I
> suspect structure layout differences and function calling conventions
> between MSVC and MingW.

This seems like a really minor/limited feature.  Can't this wait for
2.6?  I would prefer this change was reverted.

n


More information about the Python-checkins mailing list