Brett Cannon added the comment:

That comment is poorly worded. All that is really necessary is that the tag 
differ when you want to have a .pyc file exist side-by-side with another .pyc 
file. So far we have only changed it when releasing a new version of Python, 
but for instance Python 3.5.2 could have had a different tag and that would 
have prevented trying to overwrite any pre-existing .pyc files for 3.5.1 and 
instead create new ones.

So the tag doesn't need to change for every new magic number, just when you 
don't want to overwrite .pyc files created by another version of Python.

----------

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

Reply via email to