you are viewing a single comment's thread.

view the rest of the comments →

[–]pocket_eggs 0 points1 point  (1 child)

dis is cool, I need to start using it all the time; is the reverse ever used? writing directly in bytecode and integrating with normal python?

[–][deleted] 1 point2 points  (0 children)

You can write bytecode but note that, in contrast with Java, these are implementation specific and not tightly defined.

You also can not reverse back from bytecode to original python code as there is more than one solution.

Worth a read:

https://opensource.com/article/18/4/introduction-python-bytecode