Author bkabrda
Recipients bkabrda
Date 2014-02-26.09:49:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1393408154.81.0.798109041302.issue20778@psf.upfronthosting.co.za>
In-reply-to
Content
ModuleFinder.load_module currently only skips 8 bytes before trying to marshal.load the rest of the file, but it should skip 12 since 3.3 (magic, date, file size). I'm attaching a patch with test case.

BTW this was very painful to find out, since I couldn't find any reference to written pyc files - am I searching wrong or is this really not documented anywhere?

(Note, that this was originally reported at https://bugzilla.redhat.com/show_bug.cgi?id=1060338).
History
Date User Action Args
2014-02-26 09:49:14bkabrdasetrecipients: + bkabrda
2014-02-26 09:49:14bkabrdasetmessageid: <1393408154.81.0.798109041302.issue20778@psf.upfronthosting.co.za>
2014-02-26 09:49:14bkabrdalinkissue20778 messages
2014-02-26 09:49:14bkabrdacreate