[issue45192] The tempfile._infer_return_type function cannot infer the type of os.PathLike objects.

Łukasz Langa report at bugs.python.org
Wed Oct 20 15:54:50 EDT 2021


Łukasz Langa <lukasz at langa.pl> added the comment:


New changeset 6270d3eeaf17b50abc4f8f4d97790d66179638e4 by Kyungmin Lee in branch 'main':
bpo-45192: Fix a bug that infers the type of an os.PathLike[bytes] object as str (GH-28323)
https://github.com/python/cpython/commit/6270d3eeaf17b50abc4f8f4d97790d66179638e4


----------
nosy: +lukasz.langa

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45192>
_______________________________________


More information about the Python-bugs-list mailing list