Message228459
> Should I use os.path.realpath?
I don't see other way.
But there is other issue. Following code works now, but will fail with the patch:
import os, tempfile
os.mkdir('parent')
os.chdir('parent')
t = tempfile.TemporaryDirectory(dir=".")
os.rename('../parent', '../parent2')
t.cleanup() |
|
Date |
User |
Action |
Args |
2014-10-04 13:45:51 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, georg.brandl, ncoghlan, pitrou, yselivanov, Antony.Lee |
2014-10-04 13:45:51 | serhiy.storchaka | set | messageid: <1412430351.84.0.295510686813.issue20267@psf.upfronthosting.co.za> |
2014-10-04 13:45:51 | serhiy.storchaka | link | issue20267 messages |
2014-10-04 13:45:51 | serhiy.storchaka | create | |
|