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 atb00ker
Recipients atb00ker
Date 2020-01-10.04:32:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1578630738.78.0.369523186494.issue39283@roundup.psfhosted.org>
In-reply-to
Content
I am currently writing a unittest script that requires argparser but since the unittest module already has a ArgumentParser instance, I cannot create and use my own ArgumentParser instance.


Possible solution:

The problem would be solved I could inherit the parent ArgumentParser instance created here:
https://github.com/python/cpython/blob/master/Lib/unittest/main.py#L162

Please let me know if it's feasible / acceptable to change `parent_parser` as `self.parent_parent` for inheritance.

I would love to create a pull request for it.
History
Date User Action Args
2020-01-10 04:32:18atb00kersetrecipients: + atb00ker
2020-01-10 04:32:18atb00kersetmessageid: <1578630738.78.0.369523186494.issue39283@roundup.psfhosted.org>
2020-01-10 04:32:18atb00kerlinkissue39283 messages
2020-01-10 04:32:18atb00kercreate