[Python-Dev] splitext('.cshrc') (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Mar 7 00🔞49 CET 2007


Tim Lesher wrote:

FWIW, all of the "standard" Windows functions from the Microsoft CRT (splitpath) to the Shell API (PathRemoveExtension) to the CLR (System.IO.Path.*) believe that ".cshrc" is the extension of the filename ".cshrc".

I'm not sure if that's an argument for or against the patch, though.

It might be an argument for making the behaviour platform-dependent.

-- Greg



More information about the Python-Dev mailing list