question about a command like 'goto ' in Python's bytecode or it's just a compiler optimization?

John Machin sjmachin at
Wed Jun 17 08:29:19 EDT 2009

On Jun 17, 1:40 pm, higer <higerinbeij... at> wrote:
> My Python version is 2.5.2; When I reading the bytecode of some pyc
> file, I always found that there are many jump command from different
> position,but to the same position. You can see this situation in
> following code(this bytecode is just from one .pyc file and I don't
> have its source .py file):

Why don't you (a) read the answers you got on stackoverflow to the
identical question (b) WRITE some code instead of inspecting the
entrails of the code of others?

More information about the Python-list mailing list