Message416930
| Author |
vstinner |
| Recipients |
corona10, erlendaasland, pablogsal, serhiy.storchaka, vstinner |
| Date |
2022年04月07日.14:56:51 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1649343411.93.0.530563428982.issue47250@roundup.psfhosted.org> |
| In-reply-to |
| Content |
The following change introduced reference leaks:
---
commit 884eba3c76916889fd6bff3b37b8552bfb4f9566
Author: Serhiy Storchaka <storchaka@gmail.com>
Date: Wed Apr 6 20:00:14 2022 +0300
bpo-26579: Add object.__getstate__(). (GH-2821)
Copying and pickling instances of subclasses of builtin types
bytearray, set, frozenset, collections.OrderedDict, collections.deque,
weakref.WeakSet, and datetime.tzinfo now copies and pickles instance attributes
implemented as slots.
---
Example of buildbot failure.
AMD64 RHEL8 Refleaks 3.x:
https://buildbot.python.org/all/#builders/259/builds/355
14 tests failed:
test_bytes test_copy test_datetime test_deque test_descr
test_distutils test_minidom test_ordered_dict test_pickle test_set
test_shutil test_tarfile test_typing test_weakset
Example of leak:
$ ./python -m test -R 3:3 test_descr -m test_issue24097
(...)
beginning 6 repetitions
123456
......
test_descr leaked [1, 1, 1] references, sum=3
test_descr failed (reference leak)
(...) |
|