[Python-ideas] Small enhancement to os.path.splitext

Paul Moore p.f.moore at gmail.com
Fri Apr 23 13:49:22 CEST 2010


On 23 April 2010 12:34, Lie Ryan <lie.1296 at gmail.com> wrote:
> On 04/23/10 17:50, Paul Moore wrote:
>> As far as I am concerned, any behaviour that relies on filenames
>> differing only in case being handled differently is wrong on Windows.
>> (Yes, that includes gcc's behaviour). All programs should work case
>> insensitively in all cases when dealing with files. Simple.
>
> Have any of you convinced each other? Otherwise perhaps it's time to
> consider "In the face of ambiguity, refuse the temptation to guess."

:-)

Good point. Which I guess boils down to saying that if there's no
consensus, then nothing should be added to the stdlib (which is a
conclusion I'm happy with).

Paul.



More information about the Python-ideas mailing list