[New-bugs-announce] [issue11135] Redundant doc field in TypeSpec

Martin v. Löwis report at bugs.python.org
Sun Feb 6 21:02:06 CET 2011


New submission from Martin v. Löwis <martin at v.loewis.de>:

There are currently two ways to specify a type doc string in PyType_FromSpec; either through the doc field (which is not actually processed), or through Py_tp_doc (which works correctly).

The original concern for adding doc into the TypeSpec was that the slots may only refer to function pointers; as it turns out, putting character pointers in there works fine as well, so I recommend to drop the doc field in TypeSlot.

The patch also fixes some labelling in the xxlimited module.

----------
files: tp_doc.diff
keywords: patch
messages: 128077
nosy: georg.brandl, loewis
priority: release blocker
severity: normal
status: open
title: Redundant doc field in TypeSpec
versions: Python 3.2
Added file: http://bugs.python.org/file20706/tp_doc.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11135>
_______________________________________


More information about the New-bugs-announce mailing list