New issue 3168: PyUnicode_FSConverter() doesn't handle os.PathLike
https://bitbucket.org/pypy/pypy/issues/3168/pyunicode_fsconverter-doesnt-handle

Christoph Reiter:

[https://docs.python.org/3/c-api/unicode.html#c.PyUnicode\_FSConverter](https://docs.python.org/3/c-api/unicode.html#c.PyUnicode_FSConverter)

When passing an object providing an `__fspath__` method PyPy3 will raise:

`TypeError: Can't convert '_PathLike' object to str implicitly`

‌

‌


_______________________________________________
pypy-issue mailing list
pypy-issue@python.org
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to