[issue11614] import __hello__ is broken in Python 3

Andreas Stührk report at bugs.python.org
Thu May 12 23:24:53 CEST 2011


Andreas Stührk <andy-python at hammerhartes.de> added the comment:

A patch against 3.1. The new bytecode is now:

  1           0 LOAD_CONST               2 (True) 
              3 STORE_NAME               1 (initialized) 

  2           6 LOAD_NAME                2 (print) 
              9 LOAD_CONST               0 ('Hello world...') 
             12 CALL_FUNCTION            1 
             15 POP_TOP              
             16 LOAD_CONST               1 (None) 
             19 RETURN_VALUE

----------
keywords: +patch
Added file: http://bugs.python.org/file21987/issue11614.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11614>
_______________________________________


More information about the Python-bugs-list mailing list