Message175634
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. |
|
Date |
User |
Action |
Args |
2012-11-15 19:57:00 | brett.cannon | set | recipients:
+ brett.cannon, jcea, ncoghlan, Arfrever, eric.snow, Marc.Abramowitz, Ronan.Lamy |
2012-11-15 19:57:00 | brett.cannon | set | messageid: <1353009420.26.0.66493143858.issue15031@psf.upfronthosting.co.za> |
2012-11-15 19:57:00 | brett.cannon | link | issue15031 messages |
2012-11-15 19:56:59 | brett.cannon | create | |
|