Message416930
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)
(...) |
|
| Date |
User |
Action |
Args |
| 2022-04-07 14:56:51 | vstinner | set | recipients:
+ vstinner, serhiy.storchaka, corona10, pablogsal, erlendaasland |
| 2022-04-07 14:56:51 | vstinner | set | messageid: <1649343411.93.0.530563428982.issue47250@roundup.psfhosted.org> |
| 2022-04-07 14:56:51 | vstinner | link | issue47250 messages |
| 2022-04-07 14:56:51 | vstinner | create | |
|