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

Georg Brandl g.brandl at gmx.net
Tue Mar 6 13:40:04 CET 2007

Martin v. Löwis schrieb:
> #1115886 complains that in the file name '.cshrc', the
> entire file name is treated as an extension, with no
> root.
> #1462106 contains a patch for that, changing the behavior
> so that there will always be a root file name (and no
> extension if the file is just a dotfile).
> Should this be changed? Opinions?

Since dotfiles can have extensions as well (e.g. ~/.fonts.conf), I'd
say that the current behavior is wrong.

Question is, is it worth possibly breaking compatibility...


More information about the Python-Dev mailing list