Home
last modified time | relevance | path

Searched refs:PY3 (Results 1 – 25 of 79) sorted by relevance

1234

/external/yapf/yapf/yapflib/
Dpy3compat.py20 PY3 = sys.version_info[0] >= 3 variable
23 if PY3:
82 if PY3:
100 if PY3:
115 if not PY3:
/external/python/setuptools/setuptools/_vendor/packaging/
D_compat.py10 PY3 = sys.version_info[0] == 3 variable
14 if PY3:
/external/python/setuptools/pkg_resources/_vendor/packaging/
D_compat.py10 PY3 = sys.version_info[0] == 3 variable
14 if PY3:
/external/python/setuptools/pkg_resources/_vendor/
Dsix.py37 PY3 = sys.version_info[0] == 3 variable
40 if PY3:
107 if PY3:
143 if PY3:
502 if PY3:
535 if PY3:
573 if PY3:
618 if PY3:
678 if PY3:
/external/python/six/
Dsix.py37 PY3 = sys.version_info[0] == 3 variable
40 if PY3:
107 if PY3:
143 if PY3:
508 if PY3:
541 if PY3:
579 if PY3:
624 if PY3:
684 if PY3:
Dtest_six.py89 if six.PY3:
270 if six.PY3:
278 if six.PY3:
286 if six.PY3:
291 if six.PY3:
387 if six.PY3:
392 if not six.PY3:
426 if six.PY3:
499 if six.PY3:
592 if six.PY3:
[all …]
/external/python/setuptools/setuptools/_vendor/
Dsix.py37 PY3 = sys.version_info[0] == 3 variable
40 if PY3:
107 if PY3:
143 if PY3:
502 if PY3:
535 if PY3:
573 if PY3:
618 if PY3:
678 if PY3:
/external/scapy/scapy/modules/
Dsix.py42 PY3 = sys.version_info[0] == 3 variable
45 if PY3:
112 if PY3:
148 if PY3:
512 if PY3:
545 if PY3:
583 if PY3:
628 if PY3:
688 if PY3:
/external/flatbuffers/python/flatbuffers/
Dcompat.py25 PY3 = sys.version_info[0] == 3 variable
28 if PY3:
/external/grpc-grpc/src/python/grpcio_tests/
Dsetup.py24 PY3 = sys.version_info.major == 3 variable
47 if not PY3:
/external/grpc-grpc/
Dsetup.py35 PY3 = sys.version_info.major == 3 variable
222 pymodinit_type = 'PyObject*' if PY3 else 'void'
230 if 'darwin' in sys.platform and PY3:
282 if not PY3:
/external/python/setuptools/setuptools/tests/
Dtest_sdist.py53 if six.PY3 and not isinstance(path, str):
297 if six.PY3:
351 if six.PY3:
384 if six.PY3:
Dtest_develop.py98 expected = 'print("foo")' if six.PY3 else 'print "foo"'
164 platform.python_implementation() == 'PyPy' and six.PY3,
/external/selinux/python/sepolgen/src/sepolgen/
Dutil.py23 PY3 = sys.version_info[0] == 3 variable
25 if PY3:
Daudit.py46 if util.PY3:
61 if util.PY3:
74 if util.PY3:
/external/grpc-grpc/tools/distrib/python/grpcio_tools/
Dsetup.py52 PY3 = sys.version_info.major == 3 variable
122 if 'darwin' in sys.platform and PY3:
/external/grpc-grpc/src/python/grpcio_tests/tests/_sanity/
D_sanity_test.py40 if six.PY3 else tests_json_string)
/external/scapy/test/
Drun_tests_py3.bat2 title UTscapy - All tests - PY3
Dlinux.uts97 assert six.PY3 or isinstance(pointer, str)
98 assert six.PY3 or len(pointer) > 1
/external/python/setuptools/setuptools/
Dwheel.py11 from setuptools.extern.six import PY3
88 value = fp.read().decode('utf-8') if PY3 else fp.read()
/external/python/dateutil/dateutil/tz/
D_common.py1 from six import PY3
21 if name is not None and not PY3:
/external/python/setuptools/setuptools/command/
Dupload_docs.py27 errors = 'surrogateescape' if six.PY3 else 'strict'
156 if six.PY3:
Dtest.py129 with_2to3 = six.PY3 and getattr(self.distribution, 'use_2to3', False)
232 if six.PY3 and getattr(self.distribution, 'use_2to3', False):
/external/python/mock/mock/tests/
Dtestmagicmethods.py89 @unittest.skipIf(six.PY3, "no unicode in Python 3")
169 if six.PY3:
297 if six.PY3:
343 @unittest.skipIf(six.PY3, "no __cmp__ in Python 3")
/external/yapf/yapftests/
Dreformatter_verify_test.py27 @unittest.skipIf(py3compat.PY3, 'Requires Python 2')

1234