Devika Sondhi <devi...@iiitd.ac.in> added the comment:
Linux (unlike Windows) allows naming a file with a trailing dot. The issue with file name such as '.blah.' is that it does not have an extension and one would expect the base-name without extension to be returned as '.blah.' and not as '.blah' splitext returns ('.blah','.') ---------- resolution: not a bug -> status: closed -> pending _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35538> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com