diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-06-15 22:18:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-15 22:18:15 (GMT) |
commit | 50dbf577e10f806056d60ac956db0748d2cc8257 (patch) | |
tree | f28a773dacfbfee77ef7d04da81f0c4be19e2707 /Misc/NEWS | |
parent | e064d4dfeda09fd206653697b70b434e98cc1b57 (diff) | |
download | cpython-50dbf577e10f806056d60ac956db0748d2cc8257.zip cpython-50dbf577e10f806056d60ac956db0748d2cc8257.tar.gz cpython-50dbf577e10f806056d60ac956db0748d2cc8257.tar.bz2 |
bpo-23890: Fix ref cycle in TestCase.assertRaises (#858)
unittest.TestCase.assertRaises() now manually breaks a
reference cycle to not keep objects alive longer than expected.
(cherry picked from commit bbd3cf8f1ef1e91a8d6dac6411e18b4b9084abf5)
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -51,6 +51,9 @@ Core and Builtins Library ------- +- bpo-23890: unittest.TestCase.assertRaises() now manually breaks a reference + cycle to not keep objects alive longer than expected. + - bpo-30149: inspect.signature() now supports callables with variable-argument parameters wrapped with partialmethod. Patch by Dong-hee Na. |