Message 78425 - Python tracker (original) (raw)
Using chdir() makes sense and it doesn't look like a too big problem to me:
It's a problem if another thread in the process is making file operations using relative paths at the same time.
Since shutil functions have until now been safe against this possibility, I don't think it's ok to make them unsafe in future versions.