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
There seems to be a breaking change in python 3.10 (see https://docs.python.org/3.10/whatsnew/3.10.html#id2 ) where PY_SSIZE_T_CLEAN needs to be defined. See error below I receive when attempting to run ropium,
(ropium)> load -a X86 myfile.dll
Traceback (most recent call last):
File "/usr/bin/ropium", line 524, in <module>
main()
File "/usr/bin/ropium", line 84, in main
load(args[1:])
File "/usr/bin/ropium", line 205, in load
compiler.load(f)
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
The text was updated successfully, but these errors were encountered:
mechgt
added a commit
to mechgt/ropium
that referenced
this issue
Jan 15, 2023
I believe that PY_SSIZE_T_CLEAN needs to be defined, and a few types need to be changed from int to Py_ssize_t. I don't exactly understand all of this, but managed to get it working anyway and sent a pull request.
Change details in case others are interested: mechgt@212ed51
There seems to be a breaking change in python 3.10 (see https://docs.python.org/3.10/whatsnew/3.10.html#id2 ) where PY_SSIZE_T_CLEAN needs to be defined. See error below I receive when attempting to run ropium,
The text was updated successfully, but these errors were encountered: