summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid H <dhdavvie@gmail.com>2019-01-28 09:31:19 (GMT)
committerVictor Stinner <vstinner@redhat.com>2019-01-28 09:31:19 (GMT)
commitea446409cd5f1364beafd5e5255da6799993f285 (patch)
treeee081d9c34578d781254576402571e1c13067c14
parentdfc8bb987d1fcba9225a19542c0fb9132b846b5b (diff)
downloadcpython-ea446409cd5f1364beafd5e5255da6799993f285.zip
cpython-ea446409cd5f1364beafd5e5255da6799993f285.tar.gz
cpython-ea446409cd5f1364beafd5e5255da6799993f285.tar.bz2
bpo-35701: Update doc for UUID weak referencing (GH-11621)
-rw-r--r--Doc/whatsnew/3.8.rst5
1 files changed, 0 insertions, 5 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index ce46afd..fb25ce2 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -316,8 +316,6 @@ Optimizations
(Contributed by Inada Naoki in :issue:`33597`)
* :class:`uuid.UUID` now uses ``__slots__`` to reduce its memory footprint.
- Note that this means that instances can no longer be weak-referenced and
- that arbitrary attributes can no longer be added to them.
* The :class:`list` constructor does not overallocate the internal item buffer
if the input iterable has a known length (the input implements ``__len__``).
@@ -514,9 +512,6 @@ Changes in the Python API
* The function :func:`math.factorial` no longer accepts arguments that are not
int-like. (Contributed by Pablo Galindo in :issue:`33083`.)
-* :class:`uuid.UUID` now uses ``__slots__``, therefore instances can no longer
- be weak-referenced and attributes can no longer be added.
-
* :mod:`xml.dom.minidom` and :mod:`xml.sax` modules no longer process
external entities by default.
(Contributed by Christian Heimes in :issue:`17239`.)