[issue28897] Python 3.6.0rc1 breaks NumPy tests.

Ned Deily report at bugs.python.org
Wed Dec 7 18:29:30 EST 2016


Ned Deily added the comment:

Charles, these are the two changes that went into Lib/warnings.py between b4 and rc1:

changeset:   105490:aaee06743c61
branch:      3.6
parent:      105488:c0f59410ccfc
user:        Ned Deily <nad at python.org>
date:        Tue Dec 06 17:12:47 2016 -0500
files:       Lib/warnings.py
description:
Issue #28835: Tidy previous showwarning changes based on review comments.
Patch by Serhiy Storchaka.


changeset:   105474:726308cfe3b5
branch:      3.6
parent:      105472:ab66423c3581
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Tue Dec 06 10:53:52 2016 +0100
files:       Lib/test/test_warnings/__init__.py Lib/warnings.py Misc/NEWS
description:
catch_warnings() calls showwarning() if overriden

Issue #28089: Fix a regression introduced in warnings.catch_warnings(): call
warnings.showwarning() if it was overriden inside the context manager.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28897>
_______________________________________


More information about the Python-bugs-list mailing list