STINNER Victor added the comment:

Nick Coghlan: "If we end up deciding some of this information might be useful 
to end users as well, it would be reasonable to extend "python -m sysconfig" to 
report it, perhaps with the extra imports gated behind a command line option."

Designing such tool is a can of worm. Everybody can have different expectation, 
different information. IMHO PyPI is a better home for a more general tool. I 
prefer to keep test.pythoninfo specialized to debug failures on CIs (Travis CI, 
AppVeyor, buildbots).

For test.pythoninfo, I'm mostly interested to get plaintext output right now, 
and JSON output later, to correlate information. For example, be able to say 
which readline versions are tested on all buildbots for one Python branch.

Moreover, I would like to add test.pythoninfo to Python 2.7 and 3.6. It 
wouldn't be doable if the tool would be in the stdlib, since these branches 
don't accept new features ;-)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30871>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to