[Python-ideas] CPython Bytecode Assembler

Guido van Rossum guido at python.org
Wed Apr 24 13:44:12 EDT 2019


It is intentionally not included -- bytecode is a detail of the
implementation and changes with each feature release, without concern for
backwards compatibility.

On Wed, Apr 24, 2019 at 10:33 AM Batuhan Osman Taşkaya <
batuhanosmantaskaya at gmail.com> wrote:

> Hello,
>
> 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
>
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>


-- 
--Guido van Rossum (python.org/~guido)
*Pronouns: he/him/his **(why is my pronoun here?)*
<http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-change-the-world/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20190424/f333fb59/attachment-0001.html>


More information about the Python-ideas mailing list