[issue44116] The _csv module can't be garbage-collected after _csv.register_dialect is called

Erlend E. Aasland report at bugs.python.org
Wed May 12 11:56:13 EDT 2021


Erlend E. Aasland <erlend.aasland at innova.no> added the comment:

I don't understand this. After applying PR-26074, test_csv now leaks memory/refs:

$ ./python.exe -m test -R : test_csv
0:00:00 load avg: 1.18 Run tests sequentially
0:00:00 load avg: 1.18 [1/1] test_csv
beginning 9 repetitions
123456789
.........
test_csv leaked [3928, 3924, 3924, 3924] references, sum=15700
test_csv leaked [1666, 1664, 1664, 1664] memory blocks, sum=6658
test_csv failed

== Tests result: FAILURE ==

1 test failed:
    test_csv

Total duration: 4.9 sec
Tests result: FAILURE


Any ideas?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44116>
_______________________________________


More information about the Python-bugs-list mailing list