You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PyModule_AddIntConstant takes a long, linux is unix is LP64, so long is 64-bits wide, windows is LLP64, so long is 32-bits wide, so that highest set bit makes it negative on windows.
Fix would be using PyLong_FromLongLong and PyModule_AddObjectRef.
I encountered the following problem.
Linux environment
Python 3.11.3
zstandard 0.21.0
Win10 environment
Python 3.9.16
zstandard 0.21.0
It seems to be a OS specific difference not related to the Python version. Why is there a difference?
The text was updated successfully, but these errors were encountered: