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 mrabarnett
Recipients Devika Sondhi, mrabarnett, xtreak
Date 2018-12-19.18:51:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1545245499.81.0.788709270274.issue35538@psf.upfronthosting.co.za>
In-reply-to
Content
It always returns the dot.

For example:

>>> posixpath.splitext('.blah.txt')
('.blah', '.txt')

If there's no extension (no dot):

>>> posixpath.splitext('blah')
('blah', '')

Not a bug.
History
Date User Action Args
2018-12-19 18:51:39mrabarnettsetrecipients: + mrabarnett, xtreak, Devika Sondhi
2018-12-19 18:51:39mrabarnettsetmessageid: <1545245499.81.0.788709270274.issue35538@psf.upfronthosting.co.za>
2018-12-19 18:51:39mrabarnettlinkissue35538 messages
2018-12-19 18:51:39mrabarnettcreate