Js2Py icon indicating copy to clipboard operation
Js2Py copied to clipboard

Fix bytecode for Python 3.12

Open felixonmars opened this issue 10 months ago • 6 comments

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

felixonmars avatar Apr 17 '24 13:04 felixonmars

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

4144 avatar Apr 17 '24 19:04 4144

@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.

felixonmars avatar Apr 18 '24 18:04 felixonmars

yes look like tests passed

4144 avatar Apr 19 '24 16:04 4144

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

mostaszewski avatar Jun 11 '24 06:06 mostaszewski