On Tue, 12 Apr 2022 at 02:51, Christopher Barker <python...@gmail.com> wrote: > > >> The context manager changes the entire process's WD for a section of >> code. This makes sense, although it has its own consequences. > > > Actually, now that you say that— I think it makes my point: the fact that > this context manager is necessary, and “has consequences” is because the > working dir is global — not a good choice. > >> The module-scope hammer does not fit every nail. Stop trying to hammer >> in screws. > > > I don’t know about anyone else, but I’m not arguing for module scope. I’m > arguing against implicit global configuration. >
Steven is, as are a few who have agreed that namespaces are the One True Way™ to do things. 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/SMZI4L2CWBYHV3JMPX2PXTLCXKHRMPCR/ Code of Conduct: http://python.org/psf/codeofconduct/