We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I haven't tested this, but the
INVALID_HANDLE_VALUE = 0xFFFFFFFF
declaration in winapi.py line 54 might cause problems on x64 Python. In the Mercurial project we do it like this instead:
winapi.py
_HANDLE = ctypes.c_void_p _INVALID_HANDLE_VALUE = _HANDLE(-1).value
The text was updated successfully, but these errors were encountered:
using this as a monkey patch works for windows x64 py2.7 - without it fails complaining about invalid handle
... from watchdog.utils import platform # monkey if platform.is_windows(): import ctypes from watchdog.observers import winapi _HANDLE = ctypes.c_void_p _INVALID_HANDLE_VALUE = _HANDLE(-1).value winapi.INVALID_HANDLE_VALUE = _INVALID_HANDLE_VALUE ...
Sorry, something went wrong.
12d60a9
fix invalid handle value for x64. closes gorakhargosh#123
e601943
No branches or pull requests
I haven't tested this, but the
declaration in
winapi.py
line 54 might cause problems on x64 Python. In the Mercurial project we do it like this instead:The text was updated successfully, but these errors were encountered: