[issue24441] In argparse add_argument() allows the empty choices argument
R. David Murray
report at bugs.python.org
Fri Jun 12 23:48:33 CEST 2015
R. David Murray added the comment:
There's no real reason to throw an error here, and to do so would break backward compatibility and, arguably, functionality: someone autogenerating a choices list might depend on the empty list working.
----------
nosy: +r.david.murray
resolution: -> rejected
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24441>
_______________________________________
More information about the Python-bugs-list
mailing list