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 wolma
Recipients berker.peksag, bethard, paul.j3, rhettinger, serhiy.storchaka, vstinner, wolma, yan12125
Date 2017-04-26.08:21:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
@rhettinger: I do not quite understand this harsh reaction. Making argparse more responsive could, in fact, be quite a nice improvement. This is particularly true, I guess, if you want argument completion with a package like

You have a point that the patch probably tries to optimize too many things in too many places at once, but that could be amended rather easily.

The idea of delaying imports in argparse itself to when they are actually needed is a really good one and, for this module, it is also very reasonable that other places in the stdlib only import it when they are run as __main__.
Date User Action Args
2017-04-26 08:21:03wolmasetrecipients: + wolma, rhettinger, bethard, vstinner, berker.peksag, paul.j3, serhiy.storchaka, yan12125
2017-04-26 08:21:03wolmasetmessageid: <>
2017-04-26 08:21:03wolmalinkissue30152 messages
2017-04-26 08:21:02wolmacreate