-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
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
[BUG] static dictionaries will cause Int/Str not callable error once compiled in Python>3.12 #1987
Comments
As I have metioned, no pack, only obfuscate, does it work or not? |
I do not know how to test that. However, now you have a working, replicable, small example. So go try it. |
As I have known, some Python rc version, for example, Python-3.12.0rc may not work. So make sure you're use the latest patch for Python 3.11+ |
I am using latest python 3.13. And latest python 3.12, installed through conda. There are no rc versions involved Can you replicate the above results or no? |
Sorry, I can't reproduce it. What I test is
It works fine |
You seem to be rude to the author and your Github issue is very uninformative and unprofessional.
None of problem like yours. |
@fdteam-deanie Fresh conda environment, python 3.12.7. Replicated issue inconsistently, happens once every ~4 compiles. |
Can you try python 3.13? On 3.12 it's very unreliable to replicate, which is interesting. |
Reproduced in Python 3.13, I'll check it |
Found problem, it will be fixed in next released. Before released, the pre-release version is available here https://pyarmor.dashingsoft.com/downloads/temp/pyarmor-9.0.6.zip |
Thank you. I'll see if I can get that byte slicing memory leak to be replicable as well. Something is also preventing my script from launching post pyarmor in python 3.12, but not in 3.13. Not a huge issue.
|
Above example replicates this perfectly. Static dictionaries will break entirely when compiled with pyarmor 9.0.5 in any python version over 3.11. 3.11 is latest that function properly.
pyarmor gen --pack onefile test.py
The text was updated successfully, but these errors were encountered: