[docs] [issue15029] Update Defining New Types chapter according to PEP 253
report at bugs.python.org
Thu Jun 7 19:25:09 CEST 2012
New submission from Mateusz Loskot <mateusz at loskot.net>:
The chapter '2. Defining New Types" in the Python 3.2 documentation  does not cover all important elements, especially in the subsection 2.1.4. Subclassing other types.
The accepted PEP 253  provides much more detailed and thorough explanation for Python C API users willing to define and subclass new types, than the official manual.
I'd like to suggest update of the manual with information enclosed in the PEP 253. In fact, the PEP's sections like
* Preparing a type for subtyping
* Creating a subtype of a built-in type in C
could be copied with little editing, IMHO.
The PEP 253 really seems to be a must-read document for Python C API users.
assignee: docs at python
nosy: docs at python, mloskot
title: Update Defining New Types chapter according to PEP 253
versions: Python 3.2
Python tracker <report at bugs.python.org>
More information about the docs