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 masamoto
Recipients dellair.jie, masamoto, python-dev, serhiy.storchaka, zach.ware
Date 2016-10-03.15:29:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1475508583.86.0.0318716599641.issue21124@psf.upfronthosting.co.za>
In-reply-to
Content
unpack_iterator type has not been registered into _struct module. And all users get only unpack_iterator object from function returning iterator. The object iterating doesn't need reference to type. Therefore, I think issue finish by PyType_Ready fix because this segfault doesn't have big impact.

However, I think if possible, it is preferable that extension module having un-initialize type objects gets a compile error at build time. And impossible case for compile error is better that wrong extension module always fails import.
History
Date User Action Args
2016-10-03 15:29:43masamotosetrecipients: + masamoto, python-dev, zach.ware, serhiy.storchaka, dellair.jie
2016-10-03 15:29:43masamotosetmessageid: <1475508583.86.0.0318716599641.issue21124@psf.upfronthosting.co.za>
2016-10-03 15:29:43masamotolinkissue21124 messages
2016-10-03 15:29:43masamotocreate