[Python-ideas] CPython Bytecode Assembler

Batuhan Osman Taşkaya batuhanosmantaskaya at gmail.com
Wed Apr 24 12:54:34 EDT 2019


Currently it is hard to assemble cpython bytecode without help of 3rd party
libraries (like: vstinner/bytecode). I'm proposing an assembler to standard
library and an API to cpython's peephole optimizer. Also an interface like
`ast.NodeVisitor` and `ast.NodeTransformer` for bytecode objects will may
be handy.

It would help if you are doing;
- Runtime patching
- Specific optimizations at bytecode level
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20190424/2523da03/attachment.html>

More information about the Python-ideas mailing list