bpo-35899: Fix Enum handling of empty and weird strings (GH-11891)



Co-authored-by: Maxwell <maxwellpxt@gmail.com>
Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>





https://bugs.python.org/issue35899
3 files changed