A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-April/022877.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_NewGuido van Rossum guido@python.org
Tue, 09 Apr 2002 18:54:54 -0400
[Thomas Heller]
> > It seems possible to create new type objects still with
> > PyObject_New() instead of calling the type object.
> > Is this a bug?

[David Abrahams]
> I sure hope not! I need that functionality!

Um, PyObject_New() is the low-level allocation function that you
should be calling from the type's tp_new, not something you should be
calling elsewhere to create an instance of a type.

--Guido van Rossum (home page: http://www.python.org/~guido/)




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