[2.7] bpo-30871: Add test.pythoninfo (#3174) #3175
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
bpo-30871: Add test.pythoninfo (bpo-30871: Add test.pythoninfo #3075)
Add Lib/test/pythoninfo.py: script collecting various informations
about Python to help debugging test failures.
regrtest: remove sys.hash_info and sys.flags from header.
Travis CI, Appveyor: run pythoninfo before tests
(cherry picked from commit b907abc)
bpo-30871: pythoninfo: add expat and _decimal (bpo-30871: pythoninfo: add expat and _decimal #3121)
bpo-30871: pythoninfo: add expat and _decimal
Remove _decimal.version
The string is hardcoded, not really interesting.
(cherry picked from commit f6ebd83)
(cherry picked from commit a3a01a2)
bpo-30871: pythoninfo: more sys, os, time data (bpo-30871: pythoninfo: more sys, os, time data #3130)
bpo-30871: pythoninfo: more sys, os, time data
PythonInfo now converts types other than intger to string by default.
(cherry picked from commit ad7eaed)
bpo-31231, bpo-30871: Replace "./python -m test.pythoninfo" with
"make pythoninfo", since macOS uses ./python.exe.
(cherry picked from commit 92b1f90)
(cherry picked from commit 29d007b)
https://bugs.python.org/issue30871