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

Cleanup/modernize code #5

Open pfalcon opened 5 years ago

pfalcon commented 5 years ago

The project has some dead code. That's definitely true with my refactorings, but probably was true even with code as was in CPython2.

Also, non-canonical use of constructors, etc. is there, brush it up/rewrite.

While doing this still consider compatibility with Python2.7 for extra points.

pfalcon commented 5 years ago

Ok, in https://github.com/pfalcon/python-compiler/commit/51a840a72f0d267abea3e04f113b3803efe09e8c, older no longer used AST-related modules are removed.

pfalcon commented 5 years ago

Good progress on removing dead code today.