Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build parser for Python bytecode #2945

scoder opened this issue May 3, 2019 · 0 comments


None yet
1 participant
Copy link

commented May 3, 2019

It would be nice if Cython could read Python bytecode, in addition to having its own parser. That would allow the compilation of Python .pyc modules as well as generated byte code (e.g. from the ast module).

  • Create a mapping from bytecode to Cython syntax tree nodes
  • Extract metadata from Python modules and functions
  • Translate byte code sequences to syntax trees and run the rest of the pipeline on it.

Alternatively, see #2803.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.