diff options
author | Anthon van der Neut <anthon@mnt.org> | 2016-09-05 15:18:19 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2016-09-05 15:18:19 +0200 |
commit | 121dfba49da9d9e94f137f09a30eebdcd786e62b (patch) | |
tree | beaafcf5e2027aaa743be727a340c3fbd56125f5 /compat.py | |
parent | 10b723f400bc8be58d068f8fdeca2a5332ae837d (diff) | |
download | ruamel.yaml-121dfba49da9d9e94f137f09a30eebdcd786e62b.tar.gz |
rewrite of 32 bit support based on exception0.12.10
Diffstat (limited to 'compat.py')
-rw-r--r-- | compat.py | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -7,7 +7,6 @@ from __future__ import print_function import sys import os import types -import sysconfig try: from ruamel.ordereddict import ordereddict # type: ignore @@ -37,11 +36,6 @@ except: PY2 = sys.version_info[0] == 2 PY3 = sys.version_info[0] == 3 -# 4 if 32 bit unicode supported, 2 e.g. on MacOS (issue 56) -UNICODE_SIZE = sysconfig.get_config_vars().get( - 'SIZEOF_WCHAR_T', - sysconfig.get_config_vars().get('Py_UNICODE_SIZE', 4)) - if PY3: def utf8(s): |