Terry J. Reedy <tjre...@udel.edu> added the comment: 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.) ---------- nosy: +terry.reedy resolution: -> out of date stage: -> resolved status: open -> closed type: crash -> behavior _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32668> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com