summaryrefslogtreecommitdiffstats
path: root/Tools/pybench
diff options
context:
space:
mode:
authorEzio Melotti <none@none>2011-10-04 16:06:00 (GMT)
committerEzio Melotti <none@none>2011-10-04 16:06:00 (GMT)
commita9860aeb08fce7494a963746c04102d23f1cf4ac (patch)
treebe8e64b6a66b80997969362be5795b75ac7b313a /Tools/pybench
parentb7591d4780c76e17db4e143a097d128b124c2e66 (diff)
downloadcpython-a9860aeb08fce7494a963746c04102d23f1cf4ac.zip
cpython-a9860aeb08fce7494a963746c04102d23f1cf4ac.tar.gz
cpython-a9860aeb08fce7494a963746c04102d23f1cf4ac.tar.bz2
#13054: fix usage of sys.maxunicode after PEP-393.
Diffstat (limited to 'Tools/pybench')
-rwxr-xr-xTools/pybench/pybench.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tools/pybench/pybench.py b/Tools/pybench/pybench.py
index 8eaad63..cc1e55c 100755
--- a/Tools/pybench/pybench.py
+++ b/Tools/pybench/pybench.py
@@ -107,6 +107,7 @@ def get_machine_details():
print('Getting machine details...')
buildno, builddate = platform.python_build()
python = platform.python_version()
+ # XXX this is now always UCS4, maybe replace it with 'PEP393' in 3.3+?
if sys.maxunicode == 65535:
# UCS2 build (standard)
unitype = 'UCS2'