[Python-checkins] [python/cpython] d79a79: Simplify code in warnings modules

GitHub noreply at github.com
Sat Jun 3 21:11:47 EDT 2017


  Branch: refs/heads/alex-patch-2
  Home:   https://github.com/python/cpython
  Commit: d79a793fb8613e45d3a1131fbc7b523d071549e7
      https://github.com/python/cpython/commit/d79a793fb8613e45d3a1131fbc7b523d071549e7
  Author: Alex Gaynor <alex.gaynor at gmail.com>
  Date:   2017-06-03 (Sat, 03 Jun 2017)

  Changed paths:
    M Lib/warnings.py

  Log Message:
  -----------
  Simplify code in warnings modules

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




More information about the Python-checkins mailing list