Home
last modified time | relevance | path

Searched refs:path_repr (Results 1 – 25 of 26) sorted by relevance

12

/dports/devel/py-fs2/fs-2.4.11/fs/
H A D_fscompat.py27 path_repr = path_type.__fspath__(path)
36 if isinstance(path_repr, (six.text_type, bytes)):
37 return path_repr
41 "not {}".format(path_type.__name__, type(path_repr).__name__)
/dports/devel/py-gevent/gevent-21.8.0/src/gevent/
H A D_compat.py135 path_repr = path_type_fspath(path)
136 if isinstance(path_repr, native_path_types):
137 return path_repr
141 type(path_repr).__name__))
/dports/www/firefox/firefox-99.0/third_party/python/virtualenv/__virtualenv__/configparser-4.0.2-py2.py3-none-any/backports/configparser/
H A Dhelpers.py255 path_repr = path_type.__fspath__(path)
265 if isinstance(path_repr, (str, bytes)):
266 return path_repr
270 "not {}".format(path_type.__name__, type(path_repr).__name__)
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/python/virtualenv/__virtualenv__/configparser-4.0.2-py2.py3-none-any/backports/configparser/
H A Dhelpers.py255 path_repr = path_type.__fspath__(path)
265 if isinstance(path_repr, (str, bytes)):
266 return path_repr
270 "not {}".format(path_type.__name__, type(path_repr).__name__)
/dports/www/firefox-esr/firefox-91.8.0/third_party/python/virtualenv/__virtualenv__/configparser-4.0.2-py2.py3-none-any/backports/configparser/
H A Dhelpers.py255 path_repr = path_type.__fspath__(path)
265 if isinstance(path_repr, (str, bytes)):
266 return path_repr
270 "not {}".format(path_type.__name__, type(path_repr).__name__)
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/python/virtualenv/__virtualenv__/configparser-4.0.2-py2.py3-none-any/backports/configparser/
H A Dhelpers.py255 path_repr = path_type.__fspath__(path)
265 if isinstance(path_repr, (str, bytes)):
266 return path_repr
270 "not {}".format(path_type.__name__, type(path_repr).__name__)
/dports/devel/py-vistir/vistir-0.5.2/src/vistir/
H A Dcompat.py301 path_repr = path_type.__fspath__(path)
304 if isinstance(path_repr, (six.string_types, bytes)):
305 return path_repr
/dports/devel/py-pipenv/pipenv-2021.5.29/pipenv/vendor/vistir/
H A Dcompat.py301 path_repr = path_type.__fspath__(path)
304 if isinstance(path_repr, (six.string_types, bytes)):
305 return path_repr
/dports/lang/python37/Python-3.7.12/Lib/
H A Dos.py1049 path_repr = path_type.__fspath__(path)
1056 if isinstance(path_repr, (str, bytes)):
1057 return path_repr
1061 type(path_repr).__name__))
/dports/databases/py-sqlite3/Python-3.8.12/Lib/
H A Dos.py1043 path_repr = path_type.__fspath__(path)
1050 if isinstance(path_repr, (str, bytes)):
1051 return path_repr
1055 type(path_repr).__name__))
/dports/databases/py-gdbm/Python-3.8.12/Lib/
H A Dos.py1043 path_repr = path_type.__fspath__(path)
1050 if isinstance(path_repr, (str, bytes)):
1051 return path_repr
1055 type(path_repr).__name__))
/dports/lang/python38/Python-3.8.12/Lib/
H A Dos.py1043 path_repr = path_type.__fspath__(path)
1050 if isinstance(path_repr, (str, bytes)):
1051 return path_repr
1055 type(path_repr).__name__))
/dports/lang/python-tools/Python-3.8.12/Lib/
H A Dos.py1043 path_repr = path_type.__fspath__(path)
1050 if isinstance(path_repr, (str, bytes)):
1051 return path_repr
1055 type(path_repr).__name__))
/dports/lang/python39/Python-3.9.9/Lib/
H A Dos.py1043 path_repr = path_type.__fspath__(path)
1050 if isinstance(path_repr, (str, bytes)):
1051 return path_repr
1055 type(path_repr).__name__))
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Lib/
H A Dos.py1043 path_repr = path_type.__fspath__(path)
1050 if isinstance(path_repr, (str, bytes)):
1051 return path_repr
1055 type(path_repr).__name__))
/dports/lang/python310/Python-3.10.1/Lib/
H A Dos.py1049 path_repr = path_type.__fspath__(path)
1056 if isinstance(path_repr, (str, bytes)):
1057 return path_repr
1061 type(path_repr).__name__))
/dports/lang/python311/Python-3.11.0a3/Lib/
H A Dos.py1050 path_repr = path_type.__fspath__(path)
1057 if isinstance(path_repr, (str, bytes)):
1058 return path_repr
1062 type(path_repr).__name__))
/dports/lang/python37/Python-3.7.12/Modules/
H A Dposixmodule.c12619 PyObject *path_repr = NULL; in PyOS_FSPath() local
12634 path_repr = _PyObject_CallNoArg(func); in PyOS_FSPath()
12636 if (NULL == path_repr) { in PyOS_FSPath()
12640 if (!(PyUnicode_Check(path_repr) || PyBytes_Check(path_repr))) { in PyOS_FSPath()
12644 Py_TYPE(path_repr)->tp_name); in PyOS_FSPath()
12645 Py_DECREF(path_repr); in PyOS_FSPath()
12649 return path_repr; in PyOS_FSPath()
/dports/databases/py-gdbm/Python-3.8.12/Modules/
H A Dposixmodule.c13579 PyObject *path_repr = NULL; in PyOS_FSPath() local
13594 path_repr = _PyObject_CallNoArg(func); in PyOS_FSPath()
13596 if (NULL == path_repr) { in PyOS_FSPath()
13600 if (!(PyUnicode_Check(path_repr) || PyBytes_Check(path_repr))) { in PyOS_FSPath()
13604 Py_TYPE(path_repr)->tp_name); in PyOS_FSPath()
13605 Py_DECREF(path_repr); in PyOS_FSPath()
13609 return path_repr; in PyOS_FSPath()
/dports/lang/python-tools/Python-3.8.12/Modules/
H A Dposixmodule.c13579 PyObject *path_repr = NULL; in PyOS_FSPath() local
13594 path_repr = _PyObject_CallNoArg(func); in PyOS_FSPath()
13596 if (NULL == path_repr) { in PyOS_FSPath()
13600 if (!(PyUnicode_Check(path_repr) || PyBytes_Check(path_repr))) { in PyOS_FSPath()
13604 Py_TYPE(path_repr)->tp_name); in PyOS_FSPath()
13605 Py_DECREF(path_repr); in PyOS_FSPath()
13609 return path_repr; in PyOS_FSPath()
/dports/lang/python38/Python-3.8.12/Modules/
H A Dposixmodule.c13622 PyObject *path_repr = NULL; in PyOS_FSPath() local
13637 path_repr = _PyObject_CallNoArg(func); in PyOS_FSPath()
13639 if (NULL == path_repr) { in PyOS_FSPath()
13643 if (!(PyUnicode_Check(path_repr) || PyBytes_Check(path_repr))) { in PyOS_FSPath()
13647 Py_TYPE(path_repr)->tp_name); in PyOS_FSPath()
13648 Py_DECREF(path_repr); in PyOS_FSPath()
13652 return path_repr; in PyOS_FSPath()
/dports/databases/py-sqlite3/Python-3.8.12/Modules/
H A Dposixmodule.c13579 PyObject *path_repr = NULL; in PyOS_FSPath() local
13594 path_repr = _PyObject_CallNoArg(func); in PyOS_FSPath()
13596 if (NULL == path_repr) { in PyOS_FSPath()
13600 if (!(PyUnicode_Check(path_repr) || PyBytes_Check(path_repr))) { in PyOS_FSPath()
13604 Py_TYPE(path_repr)->tp_name); in PyOS_FSPath()
13605 Py_DECREF(path_repr); in PyOS_FSPath()
13609 return path_repr; in PyOS_FSPath()
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Modules/
H A Dposixmodule.c13579 PyObject *path_repr = NULL; in PyOS_FSPath() local
13594 path_repr = _PyObject_CallNoArg(func); in PyOS_FSPath()
13596 if (NULL == path_repr) { in PyOS_FSPath()
13600 if (!(PyUnicode_Check(path_repr) || PyBytes_Check(path_repr))) { in PyOS_FSPath()
13604 Py_TYPE(path_repr)->tp_name); in PyOS_FSPath()
13605 Py_DECREF(path_repr); in PyOS_FSPath()
13609 return path_repr; in PyOS_FSPath()
/dports/lang/python310/Python-3.10.1/Modules/
H A Dposixmodule.c14366 PyObject *path_repr = NULL; in PyOS_FSPath() local
14381 path_repr = _PyObject_CallNoArg(func); in PyOS_FSPath()
14383 if (NULL == path_repr) { in PyOS_FSPath()
14387 if (!(PyUnicode_Check(path_repr) || PyBytes_Check(path_repr))) { in PyOS_FSPath()
14391 _PyType_Name(Py_TYPE(path_repr))); in PyOS_FSPath()
14392 Py_DECREF(path_repr); in PyOS_FSPath()
14396 return path_repr; in PyOS_FSPath()
/dports/lang/python311/Python-3.11.0a3/Modules/
H A Dposixmodule.c14383 PyObject *path_repr = NULL; in PyOS_FSPath() local
14398 path_repr = _PyObject_CallNoArgs(func); in PyOS_FSPath()
14400 if (NULL == path_repr) { in PyOS_FSPath()
14404 if (!(PyUnicode_Check(path_repr) || PyBytes_Check(path_repr))) { in PyOS_FSPath()
14408 _PyType_Name(Py_TYPE(path_repr))); in PyOS_FSPath()
14409 Py_DECREF(path_repr); in PyOS_FSPath()
14413 return path_repr; in PyOS_FSPath()

12