On Fri, Jan 8, 2021, at 15:47, Joseph Martinot-Lagarde wrote: > One remark about this : .tar.gz files are the exception rather than the > rule, and AFAIK maybe the only one ? It's pretty common to have dots in > filenames instead of blanks for example, and stem does the right thing > here : '/data/my.little.file.txt'. There is also the case of hidden > files on Linux, what do you expect for /home/toto/.program.cfg ?
Hidden files are already treated specially - a file called simply ".whatever" is considered to be the stem, not the suffix. _______________________________________________ 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/R263HIE7466FYARL52HIQFAXQ4ZQI2ID/ Code of Conduct: http://python.org/psf/codeofconduct/