[issue7459] Magic word incorrect in Python 3

Guido van Rossum report at bugs.python.org
Tue Dec 8 18:58:12 CET 2009


Guido van Rossum <guido at python.org> added the comment:

I don't see a bug here. The value returned by imp.get_magic() matches the 
first bytes of a bytecode file. That's all that matters.

Of course, we could remove the global variable and just use the defined 
constant; but that's just an optimization, not a bugfix.

PS. The two uploaded patches look about the same?

----------

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


More information about the Python-bugs-list mailing list