]> granicus.if.org Git - python/commit
bpo-34282: Fix Enum._convert shadowing members named _convert (GH-8568)
authororlnub123 <orlnub123@gmail.com>
Wed, 12 Sep 2018 17:28:53 +0000 (20:28 +0300)
committerEthan Furman <ethan@stoneleaf.us>
Wed, 12 Sep 2018 17:28:53 +0000 (10:28 -0700)
commit0fb9fadd3b3e9e3698647e0b92d49b0b7aacd979
tree0a53251ce3c6655e1a291d2c668e74bbb1318ea7
parentf52237400b9960d434c5d0676a3479b8c1e8c869
bpo-34282: Fix Enum._convert shadowing members named _convert (GH-8568)

* Fix enum members getting shadowed by parent attributes
* Move Enum._convert to EnumMeta._convert_
* Deprecate _convert
Lib/enum.py
Lib/signal.py
Lib/socket.py
Lib/ssl.py
Lib/test/test_enum.py
Misc/ACKS
Misc/NEWS.d/next/Library/2018-08-31-06-28-03.bpo-34282.ztyXH8.rst [new file with mode: 0644]