Skip to content

bpo-44342: [Enum] fix data type search - #26667

Merged
ethanfurman merged 1 commit into
python:mainfrom
ethanfurman:enum-inheritance
Jun 11, 2021
Merged

ethanfurman merged 1 commit into
python:mainfrom
ethanfurman:enum-inheritance

Conversation

@ethanfurman

@ethanfurman ethanfurman commented Jun 11, 2021 •

Copy link
Copy Markdown
Member

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)
@miss-islington

Copy link
Copy Markdown
Contributor

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

@bedevere-bot

Copy link
Copy Markdown

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request 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 pull request 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>
@ethanfurman
ethanfurman deleted the enum-inheritance branch October 21, 2021 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

4 participants