-
Notifications
You must be signed in to change notification settings - Fork 69
Fix plugin loading for Python 3.13 #83
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
Conversation
Can you change this to target the |
Ah, didn't know about that branch. Rebased. |
This looks good to me. I'm going to track down a system with Python 3.13 on it to test and I'll get back to you. |
Will this change/break anything for older versions of Python? |
I tried as far back as Python 3.8 and everything worked fine |
can usually just |
Looking at this it looks fine... and honestly a little cleaner than what we're doing now so it's a win-win. I'm fine landing this and letting more people test. For organization purposes can you back-out the drive-by |
This looks fantastic, thanks for writing this up. I wish all the bug reports and fixes I receive were as well researched and presented as this. Makes my job much easier. Gold star for you. |
Thanks for maintaining this lovely tool! |
DOOL VERSION
Dool 1.3.2
Python 3.13.1 (main, Dec 4 2024, 18:05:56) [GCC 14.2.1 20240910]
Arch Linux
SUMMARY
Python 3.13 changes how the
exec
builtin works. See python/cpython#118888Tl;dr: things defined in the
exec
context no longer show up in the caller's local scope; you have to explicitly pass a dict you want to be modified instead.Before:
After: