New submission from Antony Lee:

Essentially, the following fails:

t = tempfile.TemporaryDirectory(dir=".")
os.chdir(some_other_dir)
t.cleanup()

because t.name is a relative path.  Resolving the "dir" argument when the 
directory is created should(?) fix the issue.

----------
components: Library (Lib)
messages: 208141
nosy: Antony.Lee
priority: normal
severity: normal
status: open
title: TemporaryDirectory does not resolve path when created using a relative 
path
versions: Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20267>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to