[pywin32-bugs] [ pywin32-Patches-3136751 ] All BOOLAPI_NL functions in win32event swallow errors
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2010-12-18 00:15:17
|
Patches item #3136751, was opened at 2010-12-14 07:09 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551956&aid=3136751&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Ziga Seilnacht (zseil) Assigned to: Nobody/Anonymous (nobody) Summary: All BOOLAPI_NL functions in win32event swallow errors Initial Comment: 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. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2010-12-18 11:15 Message: 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 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551956&aid=3136751&group_id=78018 |