Author mblahay
Recipients bethard, mblahay, paul.j3, rgov
Date 2019-05-07.21:10:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557263442.04.0.183290629047.issue35495@roundup.psfhosted.org>
In-reply-to
Content
Ryan, what are the exact steps to reproduce the problem? This is what I get when I run the code you included:

>>> import argparse
>>> parser = argparse.ArgumentParser()
>>> parser.add_argument('things', nargs=argparse.REMAINDER, default=['nothing'])
_StoreAction(option_strings=[], dest='things', nargs='...', const=None, default=['nothing'], type=None, choices=None, help=None, metavar=None)
>>> parser.parse_args([])
Namespace(things=[])
>>> Namespace(things=[])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'Namespace' is not defined
History
Date User Action Args
2019-05-07 21:10:42mblahaysetrecipients: + mblahay, bethard, paul.j3, rgov
2019-05-07 21:10:42mblahaysetmessageid: <1557263442.04.0.183290629047.issue35495@roundup.psfhosted.org>
2019-05-07 21:10:42mblahaylinkissue35495 messages
2019-05-07 21:10:41mblahaycreate