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 terry.reedy
Recipients mkolman, nitishch, terry.reedy
Date 2018-01-27.05:38:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1517031513.49.0.467229070634.issue32668@psf.upfronthosting.co.za>
In-reply-to
Content
Hi, you seem to be in luck, regardless of version.

Python 3.7.0a4+ (heads/master:a49ac99029, Jan 27 2018, 00:11:50) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import argparse
>>> from copy import deepcopy
>>> parser = argparse.ArgumentParser()
>>> deepcopy(parser)
ArgumentParser(prog='', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True)

Fresh 3.6.4+ build also runs, but without enhanced repr.
...
<class 'argparse.ArgumentParser'>

(Note: 'crash' here means segfault rather than Python exception.)
History
Date User Action Args
2018-01-27 05:38:33terry.reedysetrecipients: + terry.reedy, mkolman, nitishch
2018-01-27 05:38:33terry.reedysetmessageid: <1517031513.49.0.467229070634.issue32668@psf.upfronthosting.co.za>
2018-01-27 05:38:33terry.reedylinkissue32668 messages
2018-01-27 05:38:33terry.reedycreate