[issue25061] Add native enum support for argparse

Raymond Hettinger report at bugs.python.org
Tue Nov 3 12:44:05 EST 2015


Raymond Hettinger added the comment:

IMO, this adds more complexity than it solves.   Argparse already has more options than people can remember.  Also, it isn't clear whether this logic should go into the parser or into the business logic (consider for example that the requests package doesn't autogenerate enum results, not does sqlite) -- the extraction of values is a distinct step.

----------
assignee:  -> bethard
nosy: +bethard, rhettinger

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25061>
_______________________________________


More information about the Python-bugs-list mailing list