]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44342: [Enum] fix data type search (GH-26667)
authorEthan Furman <ethan@stoneleaf.us>
Fri, 11 Jun 2021 08:25:14 +0000 (01:25 -0700)
committerGitHub <noreply@github.com>
Fri, 11 Jun 2021 08:25:14 +0000 (01:25 -0700)
commit3a7cccfd6cd3693e1a2ab65ee05d7f45f8501dfa
tree257abc455855a84ecc862bbd1986e3183598a7f5
parente26014f1c47d26d6097ff7a0f25384bfbde714a9
bpo-44342: [Enum] fix data type search (GH-26667)

In an inheritance chain of

  int -> my_int -> final_int

the data type is now final_int (not my_int)
Lib/enum.py
Lib/test/test_enum.py