mirror of https://github.com/python/cpython
bpo-35701: Update doc for UUID weak referencing (GH-11621)
This commit is contained in:
parent
dfc8bb987d
commit
ea446409cd
|
@ -316,8 +316,6 @@ Optimizations
|
||||||
(Contributed by Inada Naoki in :issue:`33597`)
|
(Contributed by Inada Naoki in :issue:`33597`)
|
||||||
|
|
||||||
* :class:`uuid.UUID` now uses ``__slots__`` to reduce its memory footprint.
|
* :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
|
* The :class:`list` constructor does not overallocate the internal item buffer
|
||||||
if the input iterable has a known length (the input implements ``__len__``).
|
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
|
* The function :func:`math.factorial` no longer accepts arguments that are not
|
||||||
int-like. (Contributed by Pablo Galindo in :issue:`33083`.)
|
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
|
* :mod:`xml.dom.minidom` and :mod:`xml.sax` modules no longer process
|
||||||
external entities by default.
|
external entities by default.
|
||||||
(Contributed by Christian Heimes in :issue:`17239`.)
|
(Contributed by Christian Heimes in :issue:`17239`.)
|
||||||
|
|
Loading…
Reference in New Issue