Visitar URL original
bpo-33726: Add short descriptions to PEP references in seealso by andresdelfino · Pull Request #7294 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20260615035651/https://github.com/python/cpython/pull/7294
Skip to content
/ cpython Public

bpo-33726: Add short descriptions to PEP references in seealso#7294

Merged
vstinner merged 4 commits into
python:masterfrom
andresdelfino:pep-references
Oct 19, 2018
Merged

bpo-33726: Add short descriptions to PEP references in seealso#7294
vstinner merged 4 commits into
python:masterfrom
andresdelfino:pep-references

Conversation

@andresdelfino

@andresdelfino andresdelfino commented Jun 1, 2018 •

Copy link
Copy Markdown
Contributor

@willingc willingc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @andresdelfino. I've made a few suggestions that I believe give the reader more clarity on some of the PEPs. Please take a look and edit as you see best.

Comment thread Doc/reference/compound_stmts.rst Outdated

:pep:`3115` - Metaclasses in Python 3
:pep:`3115` - Metaclasses in Python 3000
The proposal that introduced the current syntax for declaring metaclasses,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps:

The proposal that changed the declaration of metaclasses to the current syntax, and the semantics...

Comment thread Doc/reference/compound_stmts.rst Outdated
and the semantics for how classes with metaclasses are constructed.

:pep:`3129` - Class Decorators
The proposal that added class decorators, as an extension to

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps:

The proposal that added class decorators. Function and method decorators were introduced earlier in :pep:318.

.. seealso::

:pep:`492` - Coroutines with async and await syntax
The proposal that made coroutines a proper standalone concept in Python,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...Python, and added supporting

Comment thread Doc/reference/simple_stmts.rst Outdated

:pep:`526` - Variable and attribute annotation syntax
:pep:`526` - Syntax for Variable Annotations
The proposal that added syntax for annotating variables and class

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The proposal that added syntax for annotating the types of variables (including class variables and instance variables), instead of expressing them through comments.

Comment thread Doc/reference/simple_stmts.rst Outdated
attributes.

:pep:`484` - Type hints
The proposal that added the :mod:`typing` module to ease the use of

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...module to provide a standard syntax for type annotations that can be used in static analysis tools and IDEs.

@andresdelfino

Copy link
Copy Markdown
Contributor Author

@willingc all your suggestions seemed right to me, and I have included them verbatim.

@willingc willingc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @andresdelfino. This looks good to me.

@serhiy-storchaka or @Mariatta would either of you be able to take a look too. I want to make sure before I merge that I'm doing the backport correctly (I'm assuming the bot will do it, but want to double check). Thanks.

@Mariatta

Copy link
Copy Markdown
Member

Yep, everything looks good. Ready to merge, @willingc. Miss-islington will backport :)

@serhiy-storchaka

Copy link
Copy Markdown
Member

LGTM if it LGT you.

Just don't forget to edit the commit message after pressing the "Squash and merge" button.

@vstinner vstinner merged commit 0f14fc1 into python:master Oct 19, 2018
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @andresdelfino for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7.
🐍🍒⛏🤖

@bedevere-bot

Copy link
Copy Markdown

GH-9980 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 19, 2018
…ythonGH-7294)

(cherry picked from commit 0f14fc1)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
@bedevere-bot

Copy link
Copy Markdown

GH-9981 is a backport of this pull request to the 3.6 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 19, 2018
…ythonGH-7294)

(cherry picked from commit 0f14fc1)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
miss-islington added a commit that referenced this pull request Oct 19, 2018
…H-7294)

(cherry picked from commit 0f14fc1)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
miss-islington added a commit that referenced this pull request Oct 19, 2018
…H-7294)

(cherry picked from commit 0f14fc1)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
@andresdelfino andresdelfino deleted the pep-references branch October 20, 2018 21:24
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 skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants