summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-01-13 09:00:55 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-01-13 09:00:55 (GMT)
commit458fc6f98ca9a838af5dcdff64fd48ae3eb64fa9 (patch)
tree2f5ebe056493b3bc7ed8931fb9ca141fd150340d /Misc
parent17cba7daf5cdbe2a0e589be9ef507408b8dc07f1 (diff)
parent38dc250521d2c34f58537b25301a0ac9a4bb6c85 (diff)
downloadcpython-458fc6f98ca9a838af5dcdff64fd48ae3eb64fa9.zip
cpython-458fc6f98ca9a838af5dcdff64fd48ae3eb64fa9.tar.gz
cpython-458fc6f98ca9a838af5dcdff64fd48ae3eb64fa9.tar.bz2
Issue #23209, #23225: selectors.BaseSelector.get_key() now raises a
RuntimeError if the selector is closed. And selectors.BaseSelector.close() now clears its internal reference to the selector mapping to break a reference cycle. Initial patch written by Martin Richard.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index ec2e74a..04eb5a7 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -203,6 +203,11 @@ Core and Builtins
Library
-------
+- Issue #23209, #23225: selectors.BaseSelector.get_key() now raises a
+ RuntimeError if the selector is closed. And selectors.BaseSelector.close()
+ now clears its internal reference to the selector mapping to break a
+ reference cycle. Initial patch written by Martin Richard.
+
- Issue #19777: Provide a home() classmethod on Path objects. Contributed
by Victor Salgado and Mayank Tripathi.