Author mblahay
Recipients bethard, mblahay, paul.j3, rgov
Date 2019-05-08.20:15:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557346515.75.0.955983412541.issue35495@roundup.psfhosted.org>
In-reply-to
Content
Ryan, I have reviewed the documentation at https://docs.python.org/3/library/argparse.html#nargs and must admit that there is not a definitive answer that I can see regarding the defined behavior should there be no command line arguments that are in fact remaining. One could certainly argue that the empty list is the expression of the fact that no remaining arguments could be found. One can also argue that when seeking the remaining arguments, a list that may be zero to many elements in size, that by definition there cannot be a default.

Can you cite any documentation that would support your claim?
History
Date User Action Args
2019-05-08 20:15:15mblahaysetrecipients: + mblahay, bethard, paul.j3, rgov
2019-05-08 20:15:15mblahaysetmessageid: <1557346515.75.0.955983412541.issue35495@roundup.psfhosted.org>
2019-05-08 20:15:15mblahaylinkissue35495 messages
2019-05-08 20:15:15mblahaycreate