[issue22859] unittest.TestProgram.usageExit no longer invoked

2022-03-16 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: It is now marked deprecated, to be removed in 3.13. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue22859] unittest.TestProgram.usageExit no longer invoked

2022-03-16 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: 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 --

[issue22859] unittest.TestProgram.usageExit no longer invoked

2022-01-23 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: 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. -- nosy: +Jelle Zijlstra ___ Python

[issue22859] unittest.TestProgram.usageExit no longer invoked

2021-12-29 Thread Carlos Damazio
Carlos Damazio added the comment: 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. -- nosy: +carlosdamazio -dmzz ___ Python tracker

[issue22859] unittest.TestProgram.usageExit no longer invoked

2021-12-29 Thread Carlos Damázio
Change by Carlos Damázio : -- keywords: +patch nosy: +dmzz nosy_count: 1.0 -> 2.0 pull_requests: +28507 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30293 ___ Python tracker

[issue22859] unittest.TestProgram.usageExit no longer invoked

2021-11-29 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy versions: +Python 3.11 -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue22859] unittest.TestProgram.usageExit no longer invoked

2014-11-13 Thread Robert Collins
New submission from Robert Collins: 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

[issue22859] unittest.TestProgram.usageExit no longer invoked

2014-11-13 Thread Robert Collins
Changes by Robert Collins robe...@robertcollins.net: -- components: +Library (Lib) type: - behavior versions: +Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22859 ___