[issue9307] Py_TPFLAGS_LONG_SUBCLASS is not documented

2014-04-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: This is committed, thank you. -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed versions: +Python 3.4 -Python 2.7, Python 3.1, Python 3.2 ___ Python tracker

[issue9307] Py_TPFLAGS_LONG_SUBCLASS is not documented

2014-04-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 37786ae8cc1c by Antoine Pitrou in branch '3.4': Issue #9307: document the various Py_TPFLAGS_*_SUBCLASS flags. Patch by Yury V. Zaytsev. http://hg.python.org/cpython/rev/37786ae8cc1c New changeset d1a03834cec7 by Antoine Pitrou in branch 'default'

[issue9307] Py_TPFLAGS_LONG_SUBCLASS is not documented

2014-01-07 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue9307] Py_TPFLAGS_LONG_SUBCLASS is not documented

2013-07-17 Thread Yury V. Zaytsev
Yury V. Zaytsev added the comment: Hi, I agree with Alexander, I've been recently investigating a related problem and I found the lack of documentation on the subject quite frustrating; I therefore propose the attached patch to the docs. Hope that helps, --Yury. -- keywords: +patch n

[issue9307] Py_TPFLAGS_LONG_SUBCLASS is not documented

2011-03-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue9307] Py_TPFLAGS_LONG_SUBCLASS is not documented

2010-07-19 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Mon, Jul 19, 2010 at 2:17 PM, Antoine Pitrou wrote: > .. These flags are primarily useful for C extension developers, there's > little point checking them from Python code. Of course there is: it helps debugging problems in types implemented in C.

[issue9307] Py_TPFLAGS_LONG_SUBCLASS is not documented

2010-07-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: It would probably be more useful to document them in the C API and put a reference to that in the inspect module docs. These flags are primarily useful for C extension developers, there's little point checking them from Python code. -- nosy: +pitrou v

[issue9307] Py_TPFLAGS_LONG_SUBCLASS is not documented

2010-07-19 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Here are other similar flags that are not documented: /* These flags are used to determine if a type is a subclass. */ #define Py_TPFLAGS_INT_SUBCLASS (1L<<23) #define Py_TPFLAGS_LONG_SUBCLASS(1L<<24) #define Py_TPFLAGS_LIST_SUBCLASS

[issue9307] Py_TPFLAGS_LONG_SUBCLASS is not documented

2010-07-19 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : Is there a reason for not documenting Py_TPFLAGS_LONG_SUBCLASS (Py_TPFLAGS_INT_SUBCLASS in 2.x)? This flag is used in PyLong_Check, but neither this flag or its inheritance properties are explained anywhere in the docs. See also issue5476. -