This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: PEP3119 inconsintent with actual CPython impl
Type: Stage: resolved
Components: Documentation Versions:
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: docs@python Nosy List: BTaskaya, dmiyakawa, docs@python, gvanrossum, r.david.murray
Priority: normal Keywords:

Created on 2016-08-10 08:18 by dmiyakawa, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (3)
msg272321 - (view) Author: Daisuke Miyakawa (dmiyakawa) * Date: 2016-08-10 08:17
Python 3.5.2 (and Python 2.7.12) uses Py_TPFLAGS_IS_ABSTRACT while PEP 3119 menttions "Py_TPFLAGS_ABSTRACT" for it. At some point had the name of the flag been changed without modifying PEP?
msg272333 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2016-08-10 13:52
Probably.  PEPs, once completed (unless they are informational PEPs), are historical documents, and the real implementation may diverge from the PEP immediately, or after maintenance updates.  The real documentation for the added feature should be in the main docs.  We are not always good about making that true, and we do reference the PEPs, and so sometimes we do update them.  I'll leave this open so someone knowledgeable about it can decide if this should be fixed, or if there are missing "real docs" (I don't get hits for either constant grepping the docs).
msg356966 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2019-11-19 12:57
Presumably when the implementation was done the IS_ABSTRACT name sounded more logical than just ABSTRACT. Since the PEP doesn't *specify* the name of this flag[1] I see no reason to change anything. Closing.

_____
[1] The PEP mentions this flag exactly once:

    (If this were implemented in CPython, an internal flag
    ``Py_TPFLAGS_ABSTRACT`` could be used to speed up this check [6]_.)
History
Date User Action Args
2022-04-11 14:58:34adminsetgithub: 71911
2019-11-19 12:57:07gvanrossumsetstatus: open -> closed
resolution: not a bug
messages: + msg356966

stage: resolved
2019-11-18 23:04:34BTaskayasetnosy: + gvanrossum, BTaskaya

versions: - Python 3.5
2016-08-10 13:52:48r.david.murraysetnosy: + r.david.murray
messages: + msg272333
2016-08-10 08:18:00dmiyakawacreate