New submission from Martin v. Löwis <mar...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue11135>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to