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

Aahz aahz at pythoncraft.com
Tue Mar 6 16:53:34 CET 2007


On Tue, Mar 06, 2007, Phillip J. Eby wrote:

At 04:07 PM 3/6/2007 +0100, Martin v. L?wis wrote:

Ok - now I'm confused: do you consider this behavior (splitext('.pythonrc') == ('', '.pythonrc')) correct or not? I consider it correct, or at the least, don't think it should be changed, as it would make the behavior more difficult to reason about and introduce yet another thing to worry about when writing cross-version code.

That's my primary concern, as well. I'm -0 WRT 2.x; +1 WRT 3.x.

Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/

"I disrespectfully agree." --SJM



More information about the Python-Dev mailing list