On 2022-04-11 20:01, Chris Angelico wrote: [snip]
Which raises the question: what if the current directory no longer has a path name? Or is that simply not possible on Windows? I know that on Linux, I can unlink a directory while being in it (which creates interesting problems for bash, git, and other tools, but not fundamental ones for the process model itself), and many references WILL be resolved correctly. Or I can move the directory to another parent, and "pwd" says the original name (because that's a shell feature), but "ls .." will list the contents of the new directory.
Windows won't let you delete a directory that's currently being used. [snip] _______________________________________________ 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/N4K77HCYDXYOKAA5N7UGY5PCC77J7I34/ Code of Conduct: http://python.org/psf/codeofconduct/