Home
last modified time | relevance | path

Searched refs:PY2 (Results 1 – 25 of 109) sorted by relevance

12345

/external/python/rsa/rsa/
D_compat.py30 PY2 = sys.version_info[0] == 2 variable
43 if PY2:
58 if PY2:
120 if PY2:
/external/scapy/scapy/
Dcompat.py52 if six.PY2:
66 if six.PY2:
127 if six.PY2:
133 if six.PY2:
/external/libchrome/third_party/markupsafe/
D_compat.py13 PY2 = sys.version_info[0] == 2 variable
15 if not PY2:
D__init__.py13 unichr, PY2
232 if not PY2:
/external/python/setuptools/setuptools/
Dpy27compat.py17 if six.PY2:
24 six.PY2
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/
D_exit_test.py139 @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/
Dtensor_shape_div_test.py32 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/
Dpkcs1.py173 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/
Dcommon.py48 if conf.use_pypy and six.PY2:
61 if conf.use_pypy and six.PY2:
/external/libchrome/third_party/jinja2/
D_compat.py15 PY2 = sys.version_info[0] == 2 variable
20 if not PY2:
Dexceptions.py11 from jinja2._compat import imap, text_type, PY2, implements_to_string
17 if PY2:
Ddebug.py18 from jinja2._compat import iteritems, reraise, PY2
271 if PY2:
307 if PY2:
/external/python/rsa/tests/
Dtest_cli.py18 from rsa._compat import PY2
22 if PY2:
30 if PY2:
/external/python/mock/mock/tests/
Dconftest.py5 if 'py3' in path.basename and six.PY2:
/external/tensorflow/tensorflow/python/autograph/utils/
Dcompat_util.py36 if six.PY2:
/external/python/setuptools/pkg_resources/_vendor/packaging/
D_compat.py9 PY2 = sys.version_info[0] == 2 variable
/external/python/setuptools/setuptools/_vendor/packaging/
D_compat.py9 PY2 = sys.version_info[0] == 2 variable
/external/scapy/test/
Drun_tests_py2.bat2 title UTscapy - All tests - PY2
/external/flatbuffers/python/flatbuffers/
Dcompat.py21 PY2 = sys.version_info[0] == 2 variable
/external/fonttools/Tests/misc/
Dplistlib_test.py22 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/
Dtest_archive_util.py25 if six.PY2:
Dtest_build_ext.py40 if six.PY2 or not get_abi3_suffix():
/external/python/apitools/apitools/gen/
Dclient_generation_test.py29 if six.PY2:
/external/tensorflow/tensorflow/python/autograph/operators/
Dpy_builtins.py115 if six.PY2:
306 if not six.PY2:
467 if six.PY2:
/external/python/dateutil/dateutil/tz/
D_common.py1 from six import PY2
19 if PY2:

12345