summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBar Harel <bzvi7919@gmail.com>2019-05-19 13:57:13 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2019-05-19 13:57:13 (GMT)
commitf4e1babf44792bdeb0c01da96821ba0800a51fd8 (patch)
treebc551ef155b52026cee8408766e7259f06024b45 /Misc
parentc661b30f89ffe7a7995538d3b1649469b184bee4 (diff)
downloadcpython-f4e1babf44792bdeb0c01da96821ba0800a51fd8.zip
cpython-f4e1babf44792bdeb0c01da96821ba0800a51fd8.tar.gz
cpython-f4e1babf44792bdeb0c01da96821ba0800a51fd8.tar.bz2
bpo-27141: Fix collections.UserList and UserDict shallow copy. (GH-4094)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2017-10-24-00-42-14.bpo-27141.zbAgSs.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2017-10-24-00-42-14.bpo-27141.zbAgSs.rst b/Misc/NEWS.d/next/Library/2017-10-24-00-42-14.bpo-27141.zbAgSs.rst
new file mode 100644
index 0000000..76c2abb
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2017-10-24-00-42-14.bpo-27141.zbAgSs.rst
@@ -0,0 +1,3 @@
+Added a ``__copy__()`` to ``collections.UserList`` and
+``collections.UserDict`` in order to correctly implement shallow copying of
+the objects. Patch by Bar Harel.