On 15/09/2021 11.56, Marc-Andre Lemburg wrote:
> - Chris mentioned that library code should not be changing the
>   CWD. In an ideal world, I'd agree, but there are cases where
>   you don't have an option and you need to change the CWD in order
>   make certain things work, e.g. you don't control the code you
>   want to run, but need to make it work in a specific directory
>   by changing the CWD and then passing relative paths to the
>   code.

This seems rather hypothetical to me. Can you provide a real-world
example where you cannot use absolute paths?

Christian

_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/UIBLP5GNXIVAE52IUJCCTLOFVQ7LOMYS/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to