pfalcon / python-compiler.old

Python2 compiler package ported to Python3. Compiles Python AST (as produced by the "ast" module) to bytecode assembly and code objects.
https://docs.python.org/2/library/compiler.html
Other
41 stars 3 forks source link

Rewrite symbols.py #4

Open pfalcon opened 5 years ago

pfalcon commented 5 years ago

The original code didn't have enough power to handle modern Python, and was patched by me in more or less adhoc way. And test_super.py still excluded from testing, because handling it requires truly crazy patchings.

Instead, consider rewriting it. Like, from scratch of close. While doing that, consider being compatible with https://docs.python.org/3/library/symtable.html