Brett Cannon <br...@python.org> added the comment:

On Mon, Feb 2, 2009 at 12:22, Martin von Gagern <rep...@bugs.python.org> wrote:
>
> Martin von Gagern <martin.vgag...@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().

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5128>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to