Skip to content
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

bpo-39130: Dict reversed was added in v3.8 so should say in the doc as well #17694

Merged
merged 1 commit into from Jan 5, 2020

Conversation

@khalidmammadov
Copy link
Contributor

khalidmammadov commented Dec 24, 2019

To be consistent with document layout, it should say when the feature was added.
Although it's mentioned few other places in the doc but it's not explicitly say that at that place.

https://bugs.python.org/issue39130

Automerge-Triggered-By: @csabella

@the-knights-who-say-ni

This comment has been minimized.

Copy link

the-knights-who-say-ni commented Dec 24, 2019

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA).

CLA Missing

Our records indicate the following people have not signed the CLA:

@khalidmammadov

For legal reasons we need all the people listed to sign the CLA before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

If you have recently signed the CLA, please wait at least one business day
before our records are updated.

You can check yourself to see if the CLA has been received.

Thanks again for the contribution, we look forward to reviewing it!

Copy link
Contributor

tirkarthi left a comment

LGTM. This is more noticeable though there is an example with reversed(dict) at https://github.com/python/cpython/pull/17694/files#diff-7498e907ba97646df434a0eb583c6909L4409 . Thanks.

@aeros
aeros approved these changes Dec 25, 2019
Copy link
Member

aeros left a comment

Thanks for the PR @khalidmammadov and welcome!

LGTM. This feature was clearly documented in the What's New for 3.8, so it should definitely have a versionadded tag in a highly visible location: https://docs.python.org/3/whatsnew/3.8.html#other-language-changes.

@aeros

This comment has been minimized.

Copy link
Member

aeros commented Dec 25, 2019

@tirkarthi

This is more noticeable though there is an example with reversed(dict) at https://github.com/python/cpython/pull/17694/files#diff-7498e907ba97646df434a0eb583c6909L4409

Agreed. The versionadded in this PR is definitely much more visible than the present one, which is easy to miss since it's not near the main definition.

Copy link
Contributor

csabella left a comment

Thank you for the contribution, @khalidmammadov!

@miss-islington miss-islington merged commit 94d9cfc into python:master Jan 5, 2020
5 checks passed
5 checks passed
Docs
Details
Azure Pipelines PR #20191224.12 succeeded
Details
bedevere/issue-number Issue number 39130 found
Details
bedevere/news "skip news" label found
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@miss-islington

This comment has been minimized.

Copy link

miss-islington commented Jan 5, 2020

Thanks @khalidmammadov for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒🤖

@bedevere-bot

This comment has been minimized.

Copy link

bedevere-bot commented Jan 5, 2020

GH-17848 is a backport of this pull request to the 3.8 branch.

miss-islington added a commit that referenced this pull request Jan 5, 2020
…s well (GH-17694)

To be consistent with document layout, it should say when the feature was added.
Although it's mentioned few other places in the doc but it's not explicitly say that at that place.

https://bugs.python.org/issue39130
(cherry picked from commit 94d9cfc)

Co-authored-by: Khalid Mammadov <khalidmammadov9@gmail.com>
gousaiyang added a commit to gousaiyang/cpython that referenced this pull request Jan 8, 2020
…s well (pythonGH-17694)

To be consistent with document layout, it should say when the feature was added.
Although it's mentioned few other places in the doc but it's not explicitly say that at that place.


https://bugs.python.org/issue39130
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
8 participants
You can’t perform that action at this time.