]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
copy_absolute() keeps the relative path on _Py_wgetcwd() failure
authorVictor Stinner <victor.stinner@haypocalc.com>
Thu, 7 Oct 2010 23:29:18 +0000 (23:29 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Thu, 7 Oct 2010 23:29:18 +0000 (23:29 +0000)
commit4f3abb0f091b14e09d257ee4eb40632471177d6d
tree9149282dcf1713e0e472c11530faa8be4c2b528e
parent6672d0c5bbbb15671d3fa46a2cd0c99d7344f41f
copy_absolute() keeps the relative path on _Py_wgetcwd() failure

.. instead of raising a fatal error. Even if the current directory was deleted,
use relative paths may still work (eg. run Python with "../python").
Modules/getpath.c