mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-07 10:56:49 +00:00
misc/show-tool-versions.py: Display additional Python interpreter encoding informations (stdout, stdin and filesystem)
This commit is contained in:
parent
4f58355a0e
commit
bed23ee6d6
@ -13,7 +13,11 @@ def print_platform():
|
||||
pass
|
||||
|
||||
def print_python_ver():
|
||||
print "python:", sys.version.replace("\n", " ") + ', maxunicode: ' + str(sys.maxunicode)
|
||||
print "python:", sys.version.replace("\n", " "),
|
||||
print ', maxunicode: ' + str(sys.maxunicode),
|
||||
print ', stdout.encoding: ' + str(sys.stdout.encoding),
|
||||
print ', stdin.encoding: ' + str(sys.stdin.encoding),
|
||||
print ', filesystem.encoding: ' + str(sys.getfilesystemencoding())
|
||||
|
||||
def print_cmd_ver(cmdlist, label=None):
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user