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 brett.cannon
Recipients Mark.Shannon, brett.cannon, gvanrossum, python-dev, rhettinger, serhiy.storchaka, vstinner
Date 2016-01-18.21:30:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1453152637.28.0.601885753918.issue26107@psf.upfronthosting.co.za>
In-reply-to
Content
There's technically no need to worry about ranged values as the magic number is purely an equality check to see if the interpreter matches what the .pyc was created with. I guess there might be third-party code that does a range check, but that's bad as importlib checks the raw bytes only; using a number is mostly a convenience for changing it.
History
Date User Action Args
2016-01-18 21:30:37brett.cannonsetrecipients: + brett.cannon, gvanrossum, rhettinger, vstinner, Mark.Shannon, python-dev, serhiy.storchaka
2016-01-18 21:30:37brett.cannonsetmessageid: <1453152637.28.0.601885753918.issue26107@psf.upfronthosting.co.za>
2016-01-18 21:30:37brett.cannonlinkissue26107 messages
2016-01-18 21:30:37brett.cannoncreate