Alexander Belopolsky added the comment: I am not sure what this patch would accomplish. I tried $ cat t.py def f(): return 1 1+2 from dis import dis print dis(f)
Both with and without patch I get $ ./python.exe -O t.py 2 0 LOAD_CONST 1 (1) 3 RETURN_VALUE 3 4 LOAD_CONST 1 (1) 7 LOAD_CONST 2 (2) 10 BINARY_ADD 11 POP_TOP None I am sure I am missing something, but it is hard to tell what without any use cases provided. ---------- nosy: +belopolsky __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1394> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com