STINNER Victor <vstin...@redhat.com> 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 caching, and just destroy the dictionary, no? ---------- nosy: +vstinner _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33712> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com