[Python-checkins] [python/cpython] 5de3a6: Simplify code in warnings modules (#1935)

GitHub noreply at github.com
Sun Jun 4 11:34:17 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: 5de3a64179bafcd440b32849b1129ed1fea47b85
      https://github.com/python/cpython/commit/5de3a64179bafcd440b32849b1129ed1fea47b85
  Author: Alex Gaynor <alex.gaynor at gmail.com>
  Date:   2017-06-04 (Sun, 04 Jun 2017)

  Changed paths:
    M Lib/warnings.py

  Log Message:
  -----------
  Simplify code in warnings modules (#1935)

Metaprogramming a list of attributes was excessive, and made the code less readable and slower.




More information about the Python-checkins mailing list