Issue 1462106: Patch for 1115886 - splitext incorrectly handles filenames l (original) (raw)

Issue1462106

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:16 admin set github: 43119
2006-03-31 13:53:45 mjfoord create