[issue29447] Add/check os.PathLike support for the tempfile module's 'dir' arguments

Louie Lu report at bugs.python.org
Sun May 7 09:30:37 EDT 2017


Louie Lu added the comment:

Since tempfile is relay on `os`,

e.g. `file = _os.join.path(dir, pre+name+suf)`, 


it can directly accept dir as PathLike type, this should need to add test case for it.

----------
nosy: +louielu

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29447>
_______________________________________


More information about the Python-bugs-list mailing list