Author brett.cannon
Recipients Arfrever, Marc.Abramowitz, Ronan.Lamy, brett.cannon, eric.snow, jcea, ncoghlan
Date 2012-11-15.19:56:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1353009420.26.0.66493143858.issue15031@psf.upfronthosting.co.za>
In-reply-to
Content
Here is my current plan::

parse_bytecode_file(data, source_stats, source_path) -> code

This will take in the bytes from the bytecode file and a stats dict from SourceLoader.path_stats(). The method will parse the bytecode file, verify the magic number, timestamp, and file size. If all of that passes, then the bytecode will be compiled into a code object (with its source path fixed if necessary based on source_path) and returned. All arguments are required as you should explicitly state you want to skip sanity checks of the bytecode and that you don't want to fix the file path.
History
Date User Action Args
2012-11-15 19:57:00brett.cannonsetrecipients: + brett.cannon, jcea, ncoghlan, Arfrever, eric.snow, Marc.Abramowitz, Ronan.Lamy
2012-11-15 19:57:00brett.cannonsetmessageid: <1353009420.26.0.66493143858.issue15031@psf.upfronthosting.co.za>
2012-11-15 19:57:00brett.cannonlinkissue15031 messages
2012-11-15 19:56:59brett.cannoncreate