paul j3 <ajipa...@gmail.com> added the comment:

Updating you Python3.7 might change the behavior.  If I read

https://github.com/python/cpython/commits/master/Lib/argparse.py

correctly, subparsers are no longer required by default (it reverted back to 
earlier Py3 behavior).  There is a proposed patch for handling this 'dest=None' 
issue, but I don't think that's been pushed.

But simply adding the 'dest' to subparses should work without update.  If you 
want to identify which subparser was used, you need this 'dest'.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34191>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to