Message 80992 - Python tracker (original) (raw)

On Mon, Feb 2, 2009 at 12:22, Martin von Gagern <report@bugs.python.org> wrote:

Martin von Gagern <Martin.vGagern@gmx.net> added the comment:

Like this?

Don't have the time right now to do a code review right now, but hopefully I can get to this soon.

Should the magic number be checked as well,

If one is already reading the file you might as well.

and if so, against what value?

imp.get_magic().