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 <>
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()

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: <>
2012-09-11 17:14:49chris.jerdoneklinkissue15906 messages
2012-09-11 17:14:49chris.jerdonekcreate