Author Mark.Shannon
Recipients Arfrever, Mark.Shannon, jcea, tseaver
Date 2013-03-27.23:07:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
This issue should be considered closed.

PyType_GenericNew is a convenience function for typeobjects to put in their tp_new slots. Calling it directly only works for some types. 
It worked in 3.2 for dict, but that was happenstance.

You could use 
((PyTypeObject *)type_object)->tp_new((PyTypeObject *)type_object, NULL, NULL);
to call the new method directly, but it would be better to call the 
PyObject_CallObject(type_object, NULL);
Date User Action Args
2013-03-27 23:07:58Mark.Shannonsetrecipients: + Mark.Shannon, jcea, tseaver, Arfrever
2013-03-27 23:07:58Mark.Shannonsetmessageid: <>
2013-03-27 23:07:57Mark.Shannonlinkissue16676 messages
2013-03-27 23:07:57Mark.Shannoncreate