This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xnovakj
Recipients lys.nikolaou, xnovakj, xtreak
Date 2018-10-29.11:55:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Yes, dot behaviour is well documented.

But splitext() is a function to split name and extension, not take care about hidden files.

Hidden files starting with dot is Unix like system feature.

Hidden files could have also extension.
Try for example create/rename .somename.jpg file in Ubuntu.
It is normal image with .jpg extension. You could open it etc.

You can't use standard python splitext() function to detect extension.

I know that change this standard python function is probably imposible due to backward compatibility. Bud extend it with new parameter could be possible. The change in 2007 was unfortunate/incomplete.
Date User Action Args
2018-10-29 11:55:07xnovakjsetrecipients: + xnovakj, lys.nikolaou, xtreak
2018-10-29 11:55:07xnovakjsetmessageid: <>
2018-10-29 11:55:07xnovakjlinkissue34931 messages
2018-10-29 11:55:07xnovakjcreate