Skip to content
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

Fix bytecode for Python 3.12 #327

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

felixonmars
Copy link

LOAD_ATTR has been changed in Python 3.12 and it seems reusing the LOAD_GLOBAL logic makes the simple tests passing.

I am not sure if this is correct since I'm pretty new to the code, but maybe it's still helpful.

Fixes #317

@4144
Copy link
Contributor

4144 commented Apr 17, 2024

@felixonmars you can enable github ci in your source repository and see how is tests going

@felixonmars
Copy link
Author

@felixonmars you can enable github ci in your source repository and see how is tests going

It seems all failing tests are because of unsupported old Python versions.

@4144
Copy link
Contributor

4144 commented Apr 19, 2024

yes look like tests passed

`LOAD_ATTR` has been changed in Python 3.12 and it seems reusing the
`LOAD_GLOBAL` logic makes the simple tests passing.

I am not sure if this is correct since I'm pretty new to the code, but
maybe it's still helpful.
@mostaszewski
Copy link

I've tested it in my project, and it works as expected. @PiotrDabkowski, is there anything we can do to release it?

@Leclowndu93150
Copy link

man man man let's just fork it

@kgruiz
Copy link

kgruiz commented Dec 27, 2024

Also works in my project and fixed #317. Can this be approved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

KeyError in python3.12.0
6 participants