summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2006-04-01 00:26:53 (GMT)
committerTim Peters <tim.peters@gmail.com>2006-04-01 00:26:53 (GMT)
commitc17976e9833f3093adb1019356737e728a24f7c9 (patch)
treefd8ea78a830d3eb5978bfbe96a72401839c11ac7 /Misc
parent2a9a6b0e86320ba0793051f3050034ae4290c764 (diff)
downloadcpython-c17976e9833f3093adb1019356737e728a24f7c9.zip
cpython-c17976e9833f3093adb1019356737e728a24f7c9.tar.gz
cpython-c17976e9833f3093adb1019356737e728a24f7c9.tar.bz2
Another crack at bug #1460340: make random.sample(dict)
work, this time by ugly brute force.
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 ea5095f..974712a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -489,6 +489,11 @@ Extension Modules
Library
-------
+- Bug #1460340: ``random.sample(dict)`` failed in various ways. Dicts
+ aren't officially supported here, and trying to use them will probably
+ raise an exception some day. But dicts have been allowed, and "mostly
+ worked", so support for them won't go away without warning.
+
- Bug #1445068: getpass.getpass() can now be given an explicit stream
argument to specify where to write the prompt.