extending: new type instance

BranoZ zarnovican at gmail.com
Thu Aug 18 13:51:13 EDT 2005


Michael Hudson wrote:
> PyObject_New is the usual way, although there are others --

Thanks for an answer !

> MyType.tp_new, PyObject_Call ...

Does this mean, that I can call my newly defined
MyType_new, MyType_init directly ??

I was afraid that Python might do some pretty important
housekeeping stuff around them.

BranoZ




More information about the Python-list mailing list