[Python-checkins] [python/cpython] 92e9e3: [3.6] bpo-29514: Check magic number for bugfix rel...

GitHub noreply at github.com
Tue Jun 13 06:32:47 EDT 2017


  Branch: refs/heads/3.6
  Home:   https://github.com/python/cpython
  Commit: 92e9e35292d4e2044c25970389f3cdb30cfc903a
      https://github.com/python/cpython/commit/92e9e35292d4e2044c25970389f3cdb30cfc903a
  Author: Nick Coghlan <ncoghlan at gmail.com>
  Date:   2017-06-13 (Tue, 13 Jun 2017)

  Changed paths:
    M Lib/test/test_importlib/test_util.py

  Log Message:
  -----------
  [3.6] bpo-29514: Check magic number for bugfix releases (#2157)

Add a test to check the current MAGIC_NUMBER against the
expected number for the release if the current release is
at candidate or final level. On test failure, describe to
the developer the procedure for changing the magic number.

This ensures that pre-merge CI will automatically pick up
on magic number changes in maintenance releases (and
explain why those are problematic), rather than relying on
all core developers to be aware of the implications of
such changes.




More information about the Python-checkins mailing list