[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 17:27:38 EDT 2021


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


New changeset 64e83c711eb371d60fce64cae074c4d3311f6ece by Miss Islington (bot) in branch '3.10':
bpo-45192: Fix a bug that infers the type of an os.PathLike[bytes] object as str (GH-28323) (GH-29111)
https://github.com/python/cpython/commit/64e83c711eb371d60fce64cae074c4d3311f6ece


----------

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


More information about the Python-bugs-list mailing list