[Python-checkins] [python/cpython] d071a2: [3.5] bpo-29514: Check magic number for bugfix rel...

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


  Branch: refs/heads/3.5
  Home:   https://github.com/python/cpython
  Commit: d071a20f136547a490783fcfa969c6528025a6d2
      https://github.com/python/cpython/commit/d071a20f136547a490783fcfa969c6528025a6d2
  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.5] bpo-29514: Check magic number for bugfix releases (#2158)

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