[3.7] bpo-35899: Fix Enum handling of empty and weird strings (GH-11891) by miss-islington · Pull Request #12150 · python/cpython

@bdbaraban @miss-islington

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

https://bugs.python.org/issue35899
(cherry picked from commit 8b914d2)

Co-authored-by: Brennan D Baraban <34765317+bdbaraban@users.noreply.github.com>

remilapeyre

Mariatta