Message212244
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). |
|
Date |
User |
Action |
Args |
2014-02-26 09:49:14 | bkabrda | set | recipients:
+ bkabrda |
2014-02-26 09:49:14 | bkabrda | set | messageid: <1393408154.81.0.798109041302.issue20778@psf.upfronthosting.co.za> |
2014-02-26 09:49:14 | bkabrda | link | issue20778 messages |
2014-02-26 09:49:14 | bkabrda | create | |
|