homepage

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 chris.jerdonek
Recipients Arfrever, barry, benjamin.peterson, bethard, chris.jerdonek, georg.brandl
Date 2012年09月11日.17:14:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1347383690.1.0.978837240042.issue15906@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a type of test case that I think should be considered for addition (to confirm that the code doesn't double-convert strings in at least one case). Maybe there is already a test case like this:
class MyString(str): pass
def convert(s):
 return MyString("*" + s)
parser = ArgumentParser()
parser.add_argument("--test", dest="test", type=convert, default="foo")
args = parser.parse_args()
print(args.test)
History
Date User Action Args
2012年09月11日 17:14:50chris.jerdoneksetrecipients: + chris.jerdonek, barry, georg.brandl, bethard, benjamin.peterson, Arfrever
2012年09月11日 17:14:50chris.jerdoneksetmessageid: <1347383690.1.0.978837240042.issue15906@psf.upfronthosting.co.za>
2012年09月11日 17:14:49chris.jerdoneklinkissue15906 messages
2012年09月11日 17:14:49chris.jerdonekcreate

AltStyle によって変換されたページ (->オリジナル) /