Message359704
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. |
|
Date |
User |
Action |
Args |
2020-01-10 04:32:18 | atb00ker | set | recipients:
+ atb00ker |
2020-01-10 04:32:18 | atb00ker | set | messageid: <1578630738.78.0.369523186494.issue39283@roundup.psfhosted.org> |
2020-01-10 04:32:18 | atb00ker | link | issue39283 messages |
2020-01-10 04:32:18 | atb00ker | create | |
|