Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
GitHub fields:
assignee = None closed_at = <Date 2020-04-01.20:36:17.219> created_at = <Date 2012-06-22.18:11:27.204> labels = ['type-bug', 'docs'] title = 'PEP 384 inconsistent with implementation' updated_at = <Date 2020-04-01.20:36:17.217> user = 'https://github.com/pitrou'
bugs.python.org fields:
activity = <Date 2020-04-01.20:36:17.217> actor = 'gvanrossum' assignee = 'docs@python' closed = True closed_date = <Date 2020-04-01.20:36:17.219> closer = 'gvanrossum' components = ['Documentation'] creation = <Date 2012-06-22.18:11:27.204> creator = 'pitrou' dependencies = [] files = [] hgrepos = [] issue_num = 15140 keywords = [] message_count = 3.0 messages = ['163449', '163460', '365507'] nosy_count = 4.0 nosy_names = ['loewis', 'pitrou', 'docs@python', 'furkanonder'] pr_nums = [] priority = 'normal' resolution = 'fixed' stage = 'resolved' status = 'closed' superseder = None type = 'behavior' url = 'https://bugs.python.org/issue15140' versions = []
In PEP-384, the PyType_Spec struct has a "const char *doc" that is not present in the implementation (Include/object.h).
It's a bug in the PEP: users need to provide the module documentation through Py_tp_doc (which actually is mentioned in the PEP).
I'll fix it.
It fixed.
Activity
pitrou commented on Jun 22, 2012
In PEP-384, the PyType_Spec struct has a "const char *doc" that is not present in the implementation (Include/object.h).
loewis commented on Jun 22, 2012
It's a bug in the PEP: users need to provide the module documentation through Py_tp_doc (which actually is mentioned in the PEP).
I'll fix it.
furkanonder commented on Apr 1, 2020
It fixed.