This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients eric.snow, methane, serhiy.storchaka
Date 2018-05-31.12:08:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1527768528.87.0.682650639539.issue33712@psf.upfronthosting.co.za>
In-reply-to
Content
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 traceback to stderr (see issue33622), but in any case it would be better to handle the failure locally in OrderedDict. Perhaps the cache for an empty dict is not needed.
History
Date User Action Args
2018-05-31 12:08:48serhiy.storchakasetrecipients: + serhiy.storchaka, methane, eric.snow
2018-05-31 12:08:48serhiy.storchakasetmessageid: <1527768528.87.0.682650639539.issue33712@psf.upfronthosting.co.za>
2018-05-31 12:08:48serhiy.storchakalinkissue33712 messages
2018-05-31 12:08:48serhiy.storchakacreate