Brett Cannon added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26107>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to