Ronald Oussoren added the comment: It was a pretty easy catch, the _elementtree caused a crash while I was working on an implementation for PEP 447. The missing call to PyType_Ready helped to make that implementation more robust :-)
I'm not entirely convinced that adding forward declarations for the type is really useful, but have added a patch that moves the forward declarations to the start of the file and adds one for the iter type. ---------- Added file: http://bugs.python.org/file30949/elementtree-missing-type-ready-with-forwards.txt _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18480> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com