[issue33712] OrderedDict can set an exception in tp_clear

2018-10-20 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33712] OrderedDict can set an exception in tp_clear

2018-10-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset f1b90e3922e9d218cf1f6c94ab98874c1752bdf3 by Serhiy Storchaka in branch '3.6': bpo-33712: OrderedDict only creates od_fast_nodes cache if needed (GH-7349). (GH-10001) https://github.com/python/cpython/commit/f1b90e3922e9d218cf1f6c94ab98874c175

[issue33712] OrderedDict can set an exception in tp_clear

2018-10-20 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9343 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue33712] OrderedDict can set an exception in tp_clear

2018-10-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 861d34eee345956cbb0940fa676bfb7ff492999d by Serhiy Storchaka in branch '3.7': bpo-33712: OrderedDict only creates od_fast_nodes cache if needed (GH-7349). (GH-1) https://github.com/python/cpython/commit/861d34eee345956cbb0940fa676bfb7ff49

[issue33712] OrderedDict can set an exception in tp_clear

2018-10-20 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9342 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue33712] OrderedDict can set an exception in tp_clear

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset 6f17e51345d930ccb4db306acc12b7d1f6c5e690 by Victor Stinner (Serhiy Storchaka) in branch 'master': bpo-33712: OrderedDict only creates od_fast_nodes cache if needed (GH-7349) https://github.com/python/cpython/commit/6f17e51345d930ccb4db306acc12b7

[issue33712] OrderedDict can set an exception in tp_clear

2018-06-03 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +6975 stage: -> patch review ___ Python tracker ___ ___ Python-bugs

[issue33712] OrderedDict can set an exception in tp_clear

2018-05-31 Thread STINNER Victor
STINNER Victor added the comment: > The tp_clear handler of OrderedDict can set an exception when fail to > allocate a nodes cache for an empty dict. An exception in tp_clear is not > expected and caused a crash in the garbage collector. If it's a cache, it would be better to cancel the cach

[issue33712] OrderedDict can set an exception in tp_clear

2018-05-31 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : The tp_clear handler of OrderedDict can set an exception when fail to allocate a nodes cache for an empty dict. An exception in tp_clear is not expected and caused a crash in the garbage collector. In the master branch it will cause just writing a traceb