Skip to content

Comment on Understanding Python Bytecode

Comments

What is this used for? This went right over my head.

The byte code here is an implementation detail of an interpreter for the Python programming language. Wikipedia seems to have decent coverage:

http://en.wikipedia.org/wiki/Bytecode

Someone at Coverity would likely be interested in understanding it to use in analyzing source code. They use automatic analysis to find defects.

an example that comes to mind, Pony ORM uses it to convert a generator expression to SQL, https://stackoverflow.com/questions/16115713/how-pony-orm-do...

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.