[Python-Dev] New type objects and PyObject_New (original) (raw)
Martin v. Loewis martin@v.loewis.de
09 Apr 2002 22:19:04 +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:
IIUC, PyObjectNew doesn't call the tpnew, tpalloc, and tpinit slots. So, the new object probably will be in an invalid state, may be allocated by an allocator not compatible with the tpdealloc slot?
I see. However, how do you implement tp_new if PyObject_New went away?
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 ]