[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:25:20 EDT 2021


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


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


----------

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


More information about the Python-bugs-list mailing list