Guido van Rossum <gu...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue7459> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com