This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kristjan.jonsson
Recipients barry, christian.heimes, kristjan.jonsson, pitrou, ronaldoussoren, serhiy.storchaka, vstinner
Date 2013-10-11.14:14:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1381500899.49.0.0614432256474.issue19219@psf.upfronthosting.co.za>
In-reply-to
Content
"This will save you two opcodes and perhaps several lines of code. "
Just bear in mind that without other changes, version 4 needs to be backwards compatible with version 3.
I ran into this when developing version 3.  The reason is that while the marshal format includes the version information in its header, it isn't actually verified on loading. IIRC.  You specify the expected format to the function, or something like that.  So, if you don't do this, you get errors when loading previously generated .pyc files.
Of course, we are free to fix that problem as well :)
History
Date User Action Args
2013-10-11 14:14:59kristjan.jonssonsetrecipients: + kristjan.jonsson, barry, ronaldoussoren, pitrou, vstinner, christian.heimes, serhiy.storchaka
2013-10-11 14:14:59kristjan.jonssonsetmessageid: <1381500899.49.0.0614432256474.issue19219@psf.upfronthosting.co.za>
2013-10-11 14:14:59kristjan.jonssonlinkissue19219 messages
2013-10-11 14:14:59kristjan.jonssoncreate