Skip to content

Conversation

@corona10
Copy link
Member

bpo-30616: Functional API of enum allows to create empty enums.

@corona10
Copy link
Member Author

@ethanfurman Can you take a look?

Copy link
Member

@ethanfurman ethanfurman left a comment

Choose a reason for hiding this comment

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

Overall it looks good. Please add one more test for:

Thing = enum.Enum('Thing', [])

@corona10
Copy link
Member Author

@ethanfurman Updated! Need to backport for 3.6?

Copy link
Member

@ethanfurman ethanfurman left a comment

Choose a reason for hiding this comment

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

Excellent. Thank you.

move addition to avoid conflict
@ethanfurman ethanfurman merged commit dcc8ce4 into python:master Jun 21, 2017
@bedevere-bot
Copy link

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

@ethanfurman
Copy link
Member

Add 3.5 backport label since 3.5 is still open to bug fixes.

@bedevere-bot
Copy link

GH-2888 is a backport of this pull request to the 3.5 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.

4 participants