[New-bugs-announce] [issue31947] names=None case is not handled by EnumMeta._create_ method
Paul
report at bugs.python.org
Sun Nov 5 06:21:06 EST 2017
New submission from Paul <ego at 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 <report at bugs.python.org>
<https://bugs.python.org/issue31947>
_______________________________________
More information about the New-bugs-announce
mailing list