R. David Murray added the comment: The function is chdir, not cd. The 'cd' man page says that 'cd -P' should "perform actions equivalent to the chdir() function".
So, you are asking for a different function, which should *not* be named 'os.chdir'. You'll have to make a case for it being useful enough to add. The same applies to getcwd, which is also a wrapper for the posix function, not an emulation of the shell's pwd. ---------- components: +Library (Lib) -Interpreter Core nosy: +r.david.murray versions: -Python 2.7, Python 3.3, Python 3.4, Python 3.5, Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29635> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com