Skip to content

PEP 384 inconsistent with implementation #59345

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
pitrou opened this issue Jun 22, 2012 · 3 comments
Closed

PEP 384 inconsistent with implementation #59345

pitrou opened this issue Jun 22, 2012 · 3 comments
Labels
docs Documentation in the Doc dir type-bug An unexpected behavior, bug, or error

Comments

@pitrou
Copy link
Member

pitrou commented Jun 22, 2012

BPO 15140
Nosy @loewis, @pitrou, @furkanonder

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

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 = []

@pitrou
Copy link
Member Author

pitrou commented 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).

@pitrou pitrou added docs Documentation in the Doc dir type-bug An unexpected behavior, bug, or error labels Jun 22, 2012
@loewis
Copy link
Mannequin

loewis mannequin commented 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
Copy link
Mannequin

furkanonder mannequin commented Apr 1, 2020

It fixed.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants