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.
Created on 2014年11月13日 10:25 by rbcollins, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 30293 | merged | dmzz, 2021年12月29日 19:34 | |
| Messages (5) | |||
|---|---|---|---|
| msg231102 - (view) | Author: Robert Collins (rbcollins) * (Python committer) | Date: 2014年11月13日 10:25 | |
Before the argparse migration usageExit was invoked and could be extended via subclasses, but it no longer is. We could delete it (and document it being no longer accessible) or put some glue in to reinstate it. I think deleting it is fine, as long as we make the argparse parser objects part of the API (so that folk have a reliable place to poke at to change help). |
|||
| msg409324 - (view) | Author: Carlos Damazio (carlosdamazio) * | Date: 2021年12月29日 19:40 | |
Well, to this issue, I'm going to put a PR to remove it and give it a chance for it to being reinstated if you folks want to. |
|||
| msg411442 - (view) | Author: Jelle Zijlstra (JelleZijlstra) * (Python committer) | Date: 2022年01月24日 04:46 | |
I suggest we mark the method as deprecated and remove it in 3.13. Making the argparse objects public can be done in a separate enhancement request if there is demand for it. |
|||
| msg415383 - (view) | Author: Jelle Zijlstra (JelleZijlstra) * (Python committer) | Date: 2022年03月17日 02:41 | |
New changeset 7c353b7594545fb9403b3123a17ad06cadc2f73d by Carlos Damazio in branch 'main': bpo-22859: deprecate unittest.main.TestProgram.usageExit (GH-30293) https://github.com/python/cpython/commit/7c353b7594545fb9403b3123a17ad06cadc2f73d |
|||
| msg415384 - (view) | Author: Jelle Zijlstra (JelleZijlstra) * (Python committer) | Date: 2022年03月17日 02:41 | |
It is now marked deprecated, to be removed in 3.13. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:10 | admin | set | github: 67048 |
| 2022年03月17日 02:41:51 | JelleZijlstra | set | status: open -> closed resolution: fixed messages: + msg415384 stage: patch review -> resolved |
| 2022年03月17日 02:41:25 | JelleZijlstra | set | messages: + msg415383 |
| 2022年01月24日 04:46:03 | JelleZijlstra | set | nosy:
+ JelleZijlstra messages: + msg411442 |
| 2021年12月29日 19:40:51 | carlosdamazio | set | nosy:
+ carlosdamazio, - dmzz messages: + msg409324 |
| 2021年12月29日 19:34:55 | dmzz | set | keywords:
+ patch nosy: + dmzz pull_requests: + pull_request28507 stage: patch review |
| 2021年11月30日 00:02:53 | iritkatriel | set | keywords:
+ easy versions: + Python 3.11, - Python 3.5 |
| 2014年11月13日 10:25:31 | rbcollins | set | type: behavior components: + Library (Lib) versions: + Python 3.5 |
| 2014年11月13日 10:25:22 | rbcollins | create | |