[Python-Dev] New type objects and PyObject_New (original) (raw)
Martin v. Loewis martin@v.loewis.de
09 Apr 2002 21:39:09 +0200
- Previous message: [Python-Dev] New type objects and PyObject_New
- Next message: [Python-Dev] New type objects and PyObject_New
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Thomas Heller" <thomas.heller@ion-tof.com> writes:
It seems possible to create new type objects still with PyObjectNew() instead of calling the type object. Is this a bug?
Not sure what you are asking: I assume you are not asking about new type objects (as created by typeobject.c:type_new), but instead about instance of newstyle classes (i.e. instance of type objects).
Why would you then think that using PyObject_New is a bad thing?
Regards, Martin
- Previous message: [Python-Dev] New type objects and PyObject_New
- Next message: [Python-Dev] New type objects and PyObject_New
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]