STINNER Victor added the comment:

> See msg246573. PyDict_New() can trigger garbage collecting and traversing and 
> GC have a reference to underinitialized OrderedDict and can call 
> odict_traverse() for it.

Oooh ok, I understand.

I updated my patch to implement your idea.

----------
Added file: http://bugs.python.org/file40340/odict-2.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24992>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to