[issue18971] Use argparse in the profile/cProfile modules

2018-07-11 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: +yan12125 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18971] Use argparse in the profile/cProfile modules

2017-04-20 Thread Louie Lu
Louie Lu added the comment: haypo, murray, thanks for pointing this thing, I will let go about the bad message test, move to output file and sort test tomorrow, also add a new issue: #30118 -- ___ Python tracker

[issue18971] Use argparse in the profile/cProfile modules

2017-04-20 Thread R. David Murray
R. David Murray added the comment: Well, part of the point of the tests is to make sure the module's behavior doesn't change when doing the conversion to argparse. But "behavior changing" doesn't extend to the exact format of the output...that can change, as long as what the module *does*

[issue18971] Use argparse in the profile/cProfile modules

2017-04-20 Thread STINNER Victor
STINNER Victor added the comment: > bad news, somehow the output of std.err and std.out have different between > optparse and argparse Only test argparse. I don't think that it matters to test that the change doesn't change the behaviour. You can also redirect stderr to stdout. What do you

[issue18971] Use argparse in the profile/cProfile modules

2017-04-20 Thread Louie Lu
Louie Lu added the comment: bad news, somehow the output of std.err and std.out have different between optparse and argparse, even if the test is done, it still need to convert some testcase to argparse compatible. -- nosy: +louielu ___ Python

[issue18971] Use argparse in the profile/cProfile modules

2016-12-01 Thread Wolfgang Maier
Wolfgang Maier added the comment: oops, typing in wrong window. Very sorry. -- nosy: +wolma title: calendar -> Use argparse in the profile/cProfile modules ___ Python tracker

[issue18971] Use argparse in the profile/cProfile modules

2013-09-13 Thread Ezio Melotti
Ezio Melotti added the comment: Is the command-line interface covered by tests? -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18971 ___

[issue18971] Use argparse in the profile/cProfile modules

2013-09-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: No. And I know your next proposition. :-( -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18971 ___ ___

[issue18971] Use argparse in the profile/cProfile modules

2013-09-08 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Here is a patch which replaces optparse to argparse in the profile and cProfile modules. -- components: Library (Lib) files: profile_argparse.patch keywords: patch messages: 197262 nosy: bethard, georg.brandl, serhiy.storchaka priority: normal