Visitar URL original
bpo-44342: [Enum] fix data type search by ethanfurman · Pull Request #26667 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20220203012621/https://github.com/python/cpython/pull/26667
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-44342: [Enum] fix data type search #26667

Merged
merged 1 commit into from Jun 11, 2021

Conversation

@ethanfurman
Copy link
Member

@ethanfurman ethanfurman commented Jun 11, 2021 •

In an inheritance chain of

int -> my_int -> final_int

the data type is now final_int (not my_int)

https://bugs.python.org/issue44342

In an inheritance chain of

  int -> my_int -> final_int

the data type is now final_int (not my_int)
@ethanfurman ethanfurman merged commit 3a7cccf into python:main Jun 11, 2021
11 of 12 checks passed
@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jun 15, 2021

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

@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented Jun 15, 2021

GH-26746 is a backport of this pull request to the 3.10 branch.

miss-islington added a commit to miss-islington/cpython that referenced this issue Jun 15, 2021
In an inheritance chain of

  int -> my_int -> final_int

the data type is now final_int (not my_int)
(cherry picked from commit 3a7cccf)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
ethanfurman added a commit that referenced this issue Jun 15, 2021
In an inheritance chain of

  int -> my_int -> final_int

the data type is now final_int (not my_int)
(cherry picked from commit 3a7cccf)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
JuniorJPDJ added a commit to JuniorJPDJ/cpython that referenced this issue Aug 12, 2021
In an inheritance chain of

  int -> my_int -> final_int

the data type is now final_int (not my_int)
@ethanfurman ethanfurman deleted the enum-inheritance branch Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants