]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41517: do not allow Enums to be extended (#22271)
authorEthan Furman <ethan@stoneleaf.us>
Wed, 16 Sep 2020 14:11:57 +0000 (07:11 -0700)
committerGitHub <noreply@github.com>
Wed, 16 Sep 2020 14:11:57 +0000 (07:11 -0700)
commit3064dbf5df1021e85b507366a7ea448c8895efe7
treee1b846f6d233d1358de877d62a1888580dee1ed7
parent0705ec8a149e27023b0420ae0366d16255f6c9f7
bpo-41517: do not allow Enums to be extended (#22271)

fix bug that let Enums be extended via multiple inheritance
Lib/enum.py
Lib/test/test_enum.py
Misc/NEWS.d/next/Library/2020-09-15-22-43-30.bpo-41517.sLBH7g.rst [new file with mode: 0644]