TranscryptOrg / Transcrypt

Python 3.9 to JavaScript compiler - Lean, fast, open!
https://www.transcrypt.org
Apache License 2.0
2.85k stars 214 forks source link

Python 3.12 support #885

Open unoctanium opened 3 hours ago

unoctanium commented 3 hours ago

Does transcrypt support python 3.12?

JennaSys commented 2 hours ago

Not yet, however 3.12 will likely be the target version for the next major update. Because Transcrypt is intimately tied to the Python AST for transpiling, the version of Python is is fixed, and right now it is coded to use the version 3.9 AST.

That said, version 3.9 is only needed for transpiling the Python source code to JavaScript. If you also need to run the source code with CPython, you should still be able to do that with Python 3.12