[issue18920] argparse version action should print to stdout, not stderr

2018-03-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: You can implement your own version action which outputs to stdout and use it for -V and --version. -- ___ Python tracker ___ __

[issue18920] argparse version action should print to stdout, not stderr

2018-03-24 Thread Stefan Sauer
Stefan Sauer added the comment: Is there a workaround for python2? The issue is that autotools is checking that installed tools support --help and --version and it expects those to stdout: bad=0; pid=$$; list="gtkdoc-check gtkdoc-depscan gtkdoc-fixxref gtkdoc-mkdb gtkdoc-mkhtml gtkdoc-mkhtml2

[issue18920] argparse version action should print to stdout, not stderr

2016-07-04 Thread Jakub Wilk
Changes by Jakub Wilk : -- nosy: +jwilk title: argparse module version action -> argparse version action should print to stdout, not stderr ___ Python tracker ___ __