Author serhiy.storchaka
Recipients Tim.Graham, charettes, eric.snow, serhiy.storchaka
Date 2015-12-28.21:49:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1451339354.93.0.59059252469.issue25935@psf.upfronthosting.co.za>
In-reply-to
Content
An OrderedDict owns two references to every key (as a dict and from a linked list). Therefore it should visit it twice in tp_traverse.

Proposed patch fixes garbage collection for OrderedDict. It also rewrites OrderedDict clearing in more reentrant form (a linked list is detached from an OrderedDict before deallocating its nodes that can trigger executing user code).
History
Date User Action Args
2015-12-28 21:49:15serhiy.storchakasetrecipients: + serhiy.storchaka, eric.snow, charettes, Tim.Graham
2015-12-28 21:49:14serhiy.storchakasetmessageid: <1451339354.93.0.59059252469.issue25935@psf.upfronthosting.co.za>
2015-12-28 21:49:14serhiy.storchakalinkissue25935 messages
2015-12-28 21:49:14serhiy.storchakacreate