This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jeffknupp
Recipients chris.jerdonek, eric.smith, jeffknupp
Date 2013-01-18.19:38:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The only time this would be an issue is for infinite sequences via range or a generator, which doesn't work anyway.

>>> p = argparse.ArgumentParser()
>>> a = p.add_argument('a', choices=itertools.count(0), type=int)
>>> p.parse_args(['10000'])
... hangs

Are there any other cases where coercing to a list wouldn't work?
Date User Action Args
2013-01-18 19:38:31jeffknuppsetrecipients: + jeffknupp, eric.smith, chris.jerdonek
2013-01-18 19:38:31jeffknuppsetmessageid: <>
2013-01-18 19:38:31jeffknupplinkissue16977 messages
2013-01-18 19:38:30jeffknuppcreate