Nick Coghlan added the comment:

I think the table of expected magic numbers will be easier to maintain than a 
single value, as otherwise you either have to:

- update it every time the magic number changes during the alpha/beta cycle 
(which would be a bad habit to encourage, since it runs counter to the purpose 
of the test)

- change it to None for the alpha/beta cycle (to effectively disable the test) 
before setting it again at the next release candidate

By contrast, the version table will typically be append only - the only time it 
will routinely require modification is for the first release candidate of a 
particular feature release, and the change will be to add a new entry for that 
release.

I see it as being similar to why we have the full history of all the magic 
numbers in _bootstrap_external.py, even though we technically only need the 
latest one.

----------

_______________________________________
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