We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4890f65 commit b6be188Copy full SHA for b6be188
Doc/whatsnew/3.11.rst
@@ -459,6 +459,10 @@ Other Language Changes
459
:class:`collections.OrderedDict`, :class:`collections.deque`,
460
:class:`weakref.WeakSet`, and :class:`datetime.tzinfo` now copies and
461
pickles instance attributes implemented as :term:`slots <__slots__>`.
462
+ This change has an unintended side effect: It trips up a small minority
463
+ of existing Python projects not expecting :meth:`object.__getstate__` to
464
+ exist. See the later comments on :gh:`70766` for discussions of what
465
+ workarounds such code may need.
466
(Contributed by Serhiy Storchaka in :issue:`26579`.)
467
468
.. _whatsnew311-pythonsafepath:
0 commit comments