Skip to content

bpo-40025: Require _generate_next_value_ to be defined before members#19098

Merged
ethanfurman merged 10 commits into
python:masterfrom
abbyonstott:bpo-40025
Apr 28, 2020
Merged

bpo-40025: Require _generate_next_value_ to be defined before members#19098
ethanfurman merged 10 commits into
python:masterfrom
abbyonstott:bpo-40025

Conversation

@abbyonstott

@abbyonstott abbyonstott commented Mar 21, 2020

Copy link
Copy Markdown
Contributor

@ethanfurman ethanfurman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please add a note in the docs about _generate_next_value_ needing to be defined before any members are.

Comment thread Lib/enum.py Outdated
@bedevere-bot

Copy link
Copy Markdown

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@tirkarthi

Copy link
Copy Markdown
Member

Could this also have a test about the order raising TypeError?

@abbyonstott

Copy link
Copy Markdown
Contributor Author

I have made the requested changes; please review again

@bedevere-bot

Copy link
Copy Markdown

Thanks for making the requested changes!

@ethanfurman: please review the changes made to this pull request.

@ethanfurman ethanfurman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Getting closer -- thank you for persevering!

Comment thread Misc/NEWS.d/next/Library/2020-03-21-05-26-38.bpo-40025.DTLtyq.rst Outdated
Comment thread Lib/enum.py
@bedevere-bot

Copy link
Copy Markdown

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@abbyonstott

Copy link
Copy Markdown
Contributor Author

I have made the requested changes; please review again

@bedevere-bot

Copy link
Copy Markdown

Thanks for making the requested changes!

@ethanfurman: please review the changes made to this pull request.

@ethanfurman ethanfurman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looking good! A couple minor changes and we should be good to go.

Comment thread Lib/enum.py Outdated
Comment thread Lib/enum.py Outdated
@bedevere-bot

Copy link
Copy Markdown

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@abbyonstott

Copy link
Copy Markdown
Contributor Author

I have made the requested changes; please review again

@bedevere-bot

Copy link
Copy Markdown

Thanks for making the requested changes!

@ethanfurman: please review the changes made to this pull request.

Comment thread Lib/enum.py
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @ethanonstott for the PR, and @ethanfurman for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

@miss-islington

Copy link
Copy Markdown
Contributor

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

@bedevere-bot

Copy link
Copy Markdown

GH-19762 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 Apr 28, 2020
…pythonGH-19098)

require `_generate_next_value_` to be defined before members
(cherry picked from commit d9a43e2)

Co-authored-by: Ethan Onstott <storm@stormprograms.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 28, 2020
…pythonGH-19098)

require `_generate_next_value_` to be defined before members
(cherry picked from commit d9a43e2)

Co-authored-by: Ethan Onstott <storm@stormprograms.com>
@bedevere-bot

Copy link
Copy Markdown

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants