Message336699
In Python 2.7 structseq is not a tuple, and in `structseq_repr` a tuple is created to help extracting items. However when the check at https://github.com/python/cpython/blob/2.7/Objects/structseq.c#L268 fails, the reference count of this tuple is not decreased, causing memory leakage.
To reproduce, download the attached file, install and run the `quicktest.py` and watch the memory usage.
This bug only exists on python 2.7, because on python >3.2, no helper tuple is created. |
|
Date |
User |
Action |
Args |
2019-02-26 17:09:57 | zasdfgbnm | set | recipients:
+ zasdfgbnm |
2019-02-26 17:09:57 | zasdfgbnm | set | messageid: <1551200997.63.0.481035129926.issue36126@roundup.psfhosted.org> |
2019-02-26 17:09:57 | zasdfgbnm | link | issue36126 messages |
2019-02-26 17:09:57 | zasdfgbnm | create | |
|