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.

classification
Title: Patch for 1115886 - splitext incorrectly handles filenames l
Type: Stage:
Components: Library (Lib) Versions:
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: loewis, michael.foord
Priority: normal Keywords: patch

Created on 2006-03-31 13:53 by michael.foord, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
sfbug1115886.patch michael.foord, 2006-03-31 13:53 Patch macpath, posixpath, ntpath and corresponding tests.
Messages (2)
msg49885 - (view) Author: Michael Foord (michael.foord) * (Python committer) Date: 2006-03-31 13:53
Patch attached which modifies behaviour in macpath,
posixpath, and ntpath - and modifies tests as well.

Change is desirable, the intention is to split the
extension from the filename. A fiel called '.foo' does
not have an extension.

There is the possibility that this change will break
code where workarounds have been made.
msg49886 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2007-03-07 11:00
The patch is incomplete: it would still split '..' to ('.', '.'), hence I'm rejecting it. A more complete patch will be committed shortly.
History
Date User Action Args
2022-04-11 14:56:16adminsetgithub: 43119
2006-03-31 13:53:45mjfoordcreate