All BOOLAPI_NL functions in win32event swallow errors
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
SetEvent, ResetEvent, ReleaseMutex and SetWaitableTimer can still fail even after their handle argument has been validated (e.g. if the handle is closed or if it is a handle to a different object than the one expected by the function).
The attached patch simply removes the BOOLAPI_NL and replaces it with error checking BOOLAPI. Tests are also included.
Patch against current trunk
Awesome - thanks!
Checking in win32/test/test_win32event.py;
new revision: 1.4; previous revision: 1.3
Checking in win32/src/win32event.i;
new revision: 1.13; previous revision: 1.12
Checking in CHANGES.txt;
new revision: 1.66; previous revision: 1.65