[Python-Dev] Policy Decisions, Judgment Calls, and Backwards Compatibility (was Re: splitext('.cshrc'))

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Mar 10 01:36:16 CET 2007

Martin v. Löwis wrote:

> splitext(path)
> Split the pathname path into a pair (root, ext) such that root + ext == 
> path, and ext is empty or begins with a period and contains at most one 
> period.

Actually, that spec could be satisfied by a function
that *always* returned an empty string for ext...


More information about the Python-Dev mailing list