Home
last modified time | relevance | path

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

12345678910>>...112

/dports/finance/electrum/Electrum-4.1.5/packages/qtpy/
H A Dpy3compat.py32 if PY2:
46 if PY2:
88 if PY2:
105 if PY2:
115 if PY2:
131 if PY2:
141 if PY2:
160 if PY2:
176 if PY2:
186 if PY2:
[all …]
/dports/devel/git-cola/git-cola-3.10.1/qtpy/
H A Dpy3compat.py32 if PY2:
46 if PY2:
88 if PY2:
105 if PY2:
115 if PY2:
131 if PY2:
141 if PY2:
160 if PY2:
176 if PY2:
186 if PY2:
[all …]
/dports/devel/py-QtPy/QtPy-1.11.3/qtpy/
H A Dpy3compat.py32 if PY2:
46 if PY2:
89 if PY2:
106 if PY2:
116 if PY2:
132 if PY2:
142 if PY2:
161 if PY2:
177 if PY2:
187 if PY2:
[all …]
/dports/devel/py-spyder-kernels/spyder-kernels-2.2.1/spyder_kernels/
H A Dpy3compat.py49 if PY2:
63 if PY2:
107 if PY2:
117 if PY2:
126 if PY2:
140 if PY2:
149 if PY2:
243 if PY2:
254 if PY2:
318 if PY2:
[all …]
/dports/devel/py-spyder/spyder-3.2.7/spyder/
H A Dpy3compat.py31 if PY2:
45 if PY2:
89 if PY2:
99 if PY2:
108 if PY2:
122 if PY2:
131 if PY2:
149 if PY2:
165 if PY2:
174 if PY2:
[all …]
/dports/www/py-pyramid/pyramid-1.7.3/pyramid/
H A Dcompat.py24 if PY2:
53 if PY2:
73 if PY2:
96 if PY2:
173 if PY2:
179 if PY2:
188 if PY2:
205 if PY2:
210 if PY2:
215 if PY2:
[all …]
/dports/devel/py-testfixtures/testfixtures-6.18.3/testfixtures/tests/
H A Dtest_roundcomparison.py5 from ..compat import PY2, PY3
78 with ShouldRaise(self.TYPE_ERROR_DECIMAL, unless=PY2):
82 with ShouldRaise(self.TYPE_ERROR_DECIMAL, unless=PY2):
86 with ShouldRaise(self.TYPE_ERROR_DECIMAL, unless=PY2):
90 with ShouldRaise(self.TYPE_ERROR_DECIMAL, unless=PY2):
98 with ShouldRaise(self.TYPE_ERROR_FLOAT, unless=PY2):
102 with ShouldRaise(self.TYPE_ERROR_FLOAT, unless=PY2):
106 with ShouldRaise(self.TYPE_ERROR_FLOAT, unless=PY2):
110 with ShouldRaise(self.TYPE_ERROR_FLOAT, unless=PY2):
114 with ShouldRaise(TypeError, unless=PY2):
[all …]
/dports/science/py-obspy/obspy-1.2.2/obspy/core/
H A Dcompatibility.py8 from future.utils import PY2
21 if PY2:
28 if PY2:
37 if PY2:
44 if PY2:
56 if PY2:
69 if PY2:
91 if PY2:
108 if PY2 and not isinstance(obj, io.BufferedIOBase) and \
129 if PY2 and not isinstance(obj, io.BufferedIOBase) and \
/dports/games/renpy/renpy-7.4.11-sdk/renpy/compat/
H A D__init__.py77 PY2 = future.utils.PY2 variable
82 if PY2:
99 if PY2:
130 if PY2:
139 if PY2:
150 if PY2:
/dports/devel/py-cleo/cleo-0.8.1/cleo/
H A D_compat.py5 PY2 = sys.version_info[0] == 2 variable
7 if PY2:
18 if not PY2 and not isinstance(string, bytes):
21 if PY2 and isinstance(string, unicode):
37 if not PY2 and isinstance(string, bytes):
40 if PY2 and isinstance(string, str):
/dports/devel/py-poetry-core/poetry-core-1.0.7/poetry/core/utils/
H A D_compat.py24 PY2 = sys.version_info[0] == 2 variable
32 if PY2:
61 if not PY2 and not isinstance(string, bytes):
64 if PY2 and isinstance(string, unicode):
81 if not PY2 and isinstance(string, bytes):
84 if PY2 and isinstance(string, str):
102 if PY2:
/dports/net/exabgp4/exabgp-4.2.13/lib/exabgp/util/
H A D__init__.py13 PY2 = sys.version_info[0] < 3 variable
41 if PY2:
49 if PY2:
57 if PY2:
93 if PY2:
105 if PY2:
/dports/devel/py-csv23/csv23-0.3.2/tests/
H A Dconftest.py11 PY2 = (sys.version_info.major == 2) variable
19 py2only = pytest.mark.skipif(not PY2, reason='Python 2 only')
20 py3only = pytest.mark.skipif(PY2, reason='Python 3 only')
21 pytest.csv23 = argparse.Namespace(PY2=PY2, py2only=py2only, py3only=py3only)
26 return PY2
/dports/misc/py-spdx-tools/spdx-tools-0.6.1/spdx/parsers/
H A Dtagvalue.py278 if six.PY2:
484 if six.PY2:
544 if six.PY2:
560 if six.PY2:
589 if six.PY2:
678 if six.PY2:
799 if six.PY2:
871 if six.PY2:
980 if six.PY2:
1031 if six.PY2:
[all …]
/dports/devel/py-clikit/clikit-0.6.2/src/clikit/utils/
H A D_compat.py13 PY2 = sys.version_info[0] == 2 variable
27 if not PY2 and not isinstance(string, bytes):
30 if PY2 and isinstance(string, unicode):
45 if not PY2 and isinstance(string, bytes):
48 if PY2 and isinstance(string, str):
66 if PY2:
/dports/devel/py-logbook/Logbook-1.1.0/logbook/
H A Dhelpers.py19 PY2 = sys.version_info[0] == 2 variable
21 if PY2:
31 if PY2:
44 if PY2:
50 if PY2:
57 if PY2:
62 if PY2:
84 if PY2:
110 if PY2:
292 if PY2:
[all …]
/dports/devel/py-attrs/attrs-21.2.0/tests/
H A Dtest_cmp.py10 from attr._compat import PY2
132 if not PY2:
183 if not PY2:
233 if not PY2:
284 if not PY2:
305 if not PY2:
374 if not PY2:
409 if PY2:
422 if PY2:
435 if PY2:
[all …]
/dports/finance/py-stripe/stripe-2.29.4/tests/
H A Dtest_error.py12 if six.PY2:
20 if six.PY2:
28 if six.PY2:
36 if six.PY2:
43 if six.PY2:
65 if six.PY2:
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/beaker/
H A D_compat.py5 PY2 = sys.version_info[0] == 2 variable
9 if PY2 and not JYTHON: # pragma: no cover
15 if not PY2: # pragma: no cover
88 if not PY2: # pragma: no cover
95 if not PY2: # pragma: no cover
102 if not PY2: # pragma: no cover
109 if not PY2: # pragma: no cover
135 if not PY2: # pragma: no cover
/dports/www/py-beaker/Beaker-1.11.0/beaker/
H A D_compat.py5 PY2 = sys.version_info[0] == 2 variable
9 if PY2 and not JYTHON: # pragma: no cover
15 if not PY2: # pragma: no cover
88 if not PY2: # pragma: no cover
95 if not PY2: # pragma: no cover
102 if not PY2: # pragma: no cover
109 if not PY2: # pragma: no cover
135 if not PY2: # pragma: no cover
/dports/devel/py-pendulum/pendulum-2.1.1/pendulum/utils/
H A D_compat.py4 PY2 = sys.version_info < (3, 0) variable
22 if not PY2 and not isinstance(string, bytes):
25 if PY2 and isinstance(string, unicode):
40 if not PY2 and isinstance(string, bytes):
43 if PY2 and isinstance(string, str):
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/thirdparty/pybind11/tests/
H A Dtest_pytypes.py125 elif env.PY2:
130 if env.PY2:
138 if env.PY2:
150 "str" if env.PY2 else "bytes"
241 if env.PY2:
327 if env.PY2:
336 if env.PY2:
455 if isinstance(expected_view, bytes) or not env.PY2:
484 if env.PY2:
498 if env.PY2:
[all …]
/dports/multimedia/py-tvnamer/tvnamer-3.0.4/tvnamer/
H A Dcompat.py3 PY2 = sys.version_info[0] == 2 variable
5 if PY2:
10 if PY2:
15 if PY2:
/dports/devel/py-pipenv/pipenv-2021.5.29/pipenv/vendor/dotenv/
H A Dcompat.py3 PY2 = sys.version_info[0] == 2 # type: bool variable
5 if PY2:
32 if PY2:
46 if PY2:
/dports/databases/py-litecli/litecli-1.6.0/litecli/
H A Dencodingutils.py4 from litecli.compat import PY2
7 if PY2:
24 if PY2 and isinstance(arg, text_type):
36 if PY2 and isinstance(arg, binary_type):

12345678910>>...112