[issue36126] Reference count leakage in structseq_repr

2019-02-28 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: -> resolved status: open -> closed type: behavior -> resource usage ___ Python tracker ___ ___

[issue36126] Reference count leakage in structseq_repr

2019-02-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 69b4a17f342146d6b7a73975a37678db9916aa75 by Serhiy Storchaka (Gao, Xiang) in branch '2.7': bpo-36126: Fix ref count leakage in structseq_repr. (GH-12035) https://github.com/python/cpython/commit/69b4a17f342146d6b7a73975a37678db9916aa75 -

[issue36126] Reference count leakage in structseq_repr

2019-02-26 Thread zasdfgbnm
New submission from zasdfgbnm : 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,