Puzzling output when executing .pyc file directly

Peter Otten __peter__ at web.de
Wed Dec 14 12:18:37 CET 2005

Steven D'Aprano wrote:

> bash-2.03$ python tester.pyc
> Doing stuff with things now...
> 6
> run_pyc_file: nested_scopes: 0
> Can anyone tell me what the run_pyc_file line is doing
> in the output of the .pyc file? Is that normal
> behaviour when calling a .pyc file?
> For my sins, I am using Python 2.1.1 on sunos5.
"that's just a random debugging printf left in by mistake"



More information about the Python-list mailing list