summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2007-12-13 00:08:37 (GMT)
committerRaymond Hettinger <python@rcn.com>2007-12-13 00:08:37 (GMT)
commitadf9ffdfbe0fb00f5a47444c1dc53eb280d0bd0a (patch)
treed006a49e33601df220458519b651e15660108b26 /Misc
parent842c178442a9b9b855d9773dbe2e8ac3d6d79895 (diff)
downloadcpython-adf9ffdfbe0fb00f5a47444c1dc53eb280d0bd0a.zip
cpython-adf9ffdfbe0fb00f5a47444c1dc53eb280d0bd0a.tar.gz
cpython-adf9ffdfbe0fb00f5a47444c1dc53eb280d0bd0a.tar.bz2
Fix bug 1604. deque.__init__() did not clear existing contents like list.__init__. Not a backport candidate.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 679f1fe..7dae508 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -881,6 +881,10 @@ Library
Extension Modules
-----------------
+- Bug #1604: collections.deque.__init__(iterable) now clears any prior contents
+ before adding elements from the iterable. This fix brings the behavior into
+ line with that for list.__init__().
+
- Added wide char functions to msvcrt module: getwch, getwche, putwch and
ungetwch. The functions accept or return unicode.