[issue20267] TemporaryDirectory does not resolve path when created using a relative path
Yury Selivanov
report at bugs.python.org
Mon Jan 20 20:47:51 CET 2014
Yury Selivanov added the comment:
This looks like a bug to me (or we should complain if a relative 'dir' was passed).
I'm attaching a patch that fixes this, although I'm not sure if the unittest I wrote will work on windows.
Moreover, 'mkstemp' and 'mktemp' have the same bug (separate issue for them?)
----------
keywords: +patch
nosy: +yselivanov
Added file: http://bugs.python.org/file33570/tempfile_01.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20267>
_______________________________________
More information about the Python-bugs-list
mailing list