anatoly techtonik added the comment:
"an anti-pattern" and "encouraging a bad habit" are subjective non-arguments as
long as they fail to answer why.
With or without the helper you still write this code:
prev = os.getcwd()
os.chdir(SDKPATH)
...
os.chdir(prev)
And because os.chdir() doesn't do anything high-level, there is no place for
the multithreading warning.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue9097>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com