New submission from Paul <e...@anentropic.com>: It seems to me that this method should not have names=None default value in signature, because that case is not handled, nor is it described as a possible value in the docstring.
Seems like maybe a copy and paste from __call__, which has basically same signature, but names=None is valid and handled there. ---------- messages: 305591 nosy: anentropic priority: normal pull_requests: 4251 severity: normal status: open title: names=None case is not handled by EnumMeta._create_ method type: behavior versions: Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31947> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com