/external/python/rsa/rsa/ |
D | _compat.py | 30 PY2 = sys.version_info[0] == 2 variable 43 if PY2: 58 if PY2: 120 if PY2:
|
/external/scapy/scapy/ |
D | compat.py | 52 if six.PY2: 66 if six.PY2: 127 if six.PY2: 133 if six.PY2:
|
/external/libchrome/third_party/markupsafe/ |
D | _compat.py | 13 PY2 = sys.version_info[0] == 2 variable 15 if not PY2:
|
D | __init__.py | 13 unichr, PY2 232 if not PY2:
|
/external/python/setuptools/setuptools/ |
D | py27compat.py | 17 if six.PY2: 24 six.PY2
|
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/ |
D | _exit_test.py | 139 @unittest.skipIf(six.PY2, 'https://github.com/grpc/grpc/issues/6999') 154 @unittest.skipIf(six.PY2, 'https://github.com/grpc/grpc/issues/6999') 162 @unittest.skipIf(six.PY2, 'https://github.com/grpc/grpc/issues/6999') 179 @unittest.skipIf(six.PY2, 'https://github.com/grpc/grpc/issues/6999')
|
/external/tensorflow/tensorflow/python/framework/ |
D | tensor_shape_div_test.py | 32 if six.PY2: # Old division exists only in Python 2 41 if six.PY2: # Old division exists only in Python 2
|
/external/scapy/scapy/layers/tls/crypto/ |
D | pkcs1.py | 173 if isinstance(s, int) and six.PY2: 175 if (six.PY2 and not isinstance(s, long)) or s > n-1: 218 if isinstance(m, int) and six.PY2: 220 if (six.PY2 and not isinstance(m, long)) or m > n-1:
|
/external/scapy/scapy/arch/ |
D | common.py | 48 if conf.use_pypy and six.PY2: 61 if conf.use_pypy and six.PY2:
|
/external/libchrome/third_party/jinja2/ |
D | _compat.py | 15 PY2 = sys.version_info[0] == 2 variable 20 if not PY2:
|
D | exceptions.py | 11 from jinja2._compat import imap, text_type, PY2, implements_to_string 17 if PY2:
|
D | debug.py | 18 from jinja2._compat import iteritems, reraise, PY2 271 if PY2: 307 if PY2:
|
/external/python/rsa/tests/ |
D | test_cli.py | 18 from rsa._compat import PY2 22 if PY2: 30 if PY2:
|
/external/python/mock/mock/tests/ |
D | conftest.py | 5 if 'py3' in path.basename and six.PY2:
|
/external/tensorflow/tensorflow/python/autograph/utils/ |
D | compat_util.py | 36 if six.PY2:
|
/external/python/setuptools/pkg_resources/_vendor/packaging/ |
D | _compat.py | 9 PY2 = sys.version_info[0] == 2 variable
|
/external/python/setuptools/setuptools/_vendor/packaging/ |
D | _compat.py | 9 PY2 = sys.version_info[0] == 2 variable
|
/external/scapy/test/ |
D | run_tests_py2.bat | 2 title UTscapy - All tests - PY2
|
/external/flatbuffers/python/flatbuffers/ |
D | compat.py | 21 PY2 = sys.version_info[0] == 2 variable
|
/external/fonttools/Tests/misc/ |
D | plistlib_test.py | 22 PY2 = sys.version_info < (3,) variable 23 if PY2: 520 expected = plistlib.Data if PY2 else bytes 527 expected = plistlib.Data if PY2 else bytes
|
/external/python/setuptools/setuptools/tests/ |
D | test_archive_util.py | 25 if six.PY2:
|
D | test_build_ext.py | 40 if six.PY2 or not get_abi3_suffix():
|
/external/python/apitools/apitools/gen/ |
D | client_generation_test.py | 29 if six.PY2:
|
/external/tensorflow/tensorflow/python/autograph/operators/ |
D | py_builtins.py | 115 if six.PY2: 306 if not six.PY2: 467 if six.PY2:
|
/external/python/dateutil/dateutil/tz/ |
D | _common.py | 1 from six import PY2 19 if PY2:
|