]> granicus.if.org Git - python/commit
bpo-34443: Use __qualname__ instead of __name__ in enum exception messages. (GH-14809)
authorWalter Dörwald <walter@livinglogic.de>
Thu, 18 Jul 2019 18:37:13 +0000 (20:37 +0200)
committerEthan Furman <ethan@stoneleaf.us>
Thu, 18 Jul 2019 18:37:13 +0000 (11:37 -0700)
commit323842c2792a81e87917790506ec3457832c84b3
treeded0113edade7ad0aff9373f1cff4a0ab25254e3
parentaf2f5b1723b95e45e1f15b5bd52102b7de560f7c
bpo-34443: Use __qualname__ instead of __name__ in enum exception messages. (GH-14809)

* Use __qualname__ instead of __name__ in enum exception messages.
Lib/enum.py
Lib/test/test_enum.py
Misc/NEWS.d/next/Library/2019-07-17-11-10-08.bpo-34443.OFnGqz.rst [new file with mode: 0644]