[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 g

[issue18338] python --version should send output to STDOUT

2018-03-24 Thread Stefan Sauer
Stefan Sauer added the comment: Sorry need to find the ticket for argparse .. -- ___ Python tracker <https://bugs.python.org/issue18338> ___ ___ Python-bug

[issue18338] python --version should send output to STDOUT

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 g