A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-April/022866.html below:

[Python-Dev] New type objects and PyObject_New

[Python-Dev] New type objects and PyObject_New [Python-Dev] New type objects and PyObject_NewMartin v. Loewis martin@v.loewis.de
09 Apr 2002 22:19:04 +0200
"Thomas Heller" <thomas.heller@ion-tof.com> writes:

> IIUC, PyObject_New doesn't call the tp_new, tp_alloc, and tp_init slots.
> So, the new object probably will be in an invalid state, may be
> allocated by an allocator not compatible with the tp_dealloc slot?

I see. However, how do you implement tp_new if PyObject_New went away?

Regards,
Martin




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4