[issue9097] os.chdir(path) to return current dir

STINNER Victor report at bugs.python.org
Sun Jun 23 15:32:29 CEST 2013


STINNER Victor added the comment:

> "an anti-pattern" and "encouraging a bad habit" are subjective non-arguments as long as they fail to answer why.

The reasons are explained in the python-idea thread. Please read it.

> With or without the helper you still write this code:

Adding more functions using os.chdir() would "encoure a bad habit".

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9097>
_______________________________________


More information about the Python-bugs-list mailing list