[Python-checkins] [python/cpython] e14af3: Simplify code in warnings modules (#1957)
GitHub
noreply at github.com
Mon Jun 5 09:13:52 EDT 2017
Branch: refs/heads/2.7
Home: https://github.com/python/cpython
Commit: e14af32cc656249c2d785d190cc981869aa257f6
https://github.com/python/cpython/commit/e14af32cc656249c2d785d190cc981869aa257f6
Author: Alex Gaynor <alex.gaynor at gmail.com>
Date: 2017-06-05 (Mon, 05 Jun 2017)
Changed paths:
M Lib/warnings.py
Log Message:
-----------
Simplify code in warnings modules (#1957)
Metaprogramming a list of attributes was excessive, and made the code less readable and slower.
Backport of 5de3a64179bafcd440b32849b1129ed1fea47b85
More information about the Python-checkins
mailing list