[issue5128] compileall: consider ctime

Martin von Gagern report at bugs.python.org
Mon Feb 2 21:42:36 CET 2009


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

Next iteration. With magic number, and now also closing the file again.
I changed from unpack and number comparison to pack and string
comparison, makes things a bit easier, as there is only one comparison,
and as underflow of the packed data isn't an issue any more.

Would you prefer the use of private marshal functions, as bootstrap
does, over the struct packing as I do here?

Looking forward to your review.

Added file: http://bugs.python.org/file12924/compileall-timestamp2.patch

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


More information about the Python-bugs-list mailing list