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

Generate proper co_flags #1

Open pfalcon opened 5 years ago

pfalcon commented 5 years ago

Currently, dumping co_flags when comparing CPython vs python-compiler compilation results is disabled. Indeed, "async func" flag is definitely not handled, and probably other flags aren't dealt right with too.

pfalcon commented 4 years ago

Per https://github.com/pfalcon/python-compiler/issues/7#issuecomment-531453470, I switched working on my own bytecode compiler, written from scratch. I unlikely will work on this issue anytime soon, but leaving it open for possible interested parties.