On Mon, 11 Apr 2022 at 10:41, Steven D'Aprano <st...@pearwood.info> wrote: > > On Sat, Apr 09, 2022 at 02:52:50AM +1000, Chris Angelico wrote: > > > We aren't bothered by the fact that os.chdir() > > is global, we just accept that it belongs to the application, not a > > library. > > You might not be, but those of us who use it, or *would* use it if it > wasn't so dangerous, think differently.
Would you? What would the behaviour of os.chdir be if it had module scope? Please explain, I am very curious. ChrisA _______________________________________________ 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/AU4F47KIS762MNEDWNVCAVYAILP6Z3PF/ Code of Conduct: http://python.org/psf/codeofconduct/