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

Oleg Broytmann phd at phd.pp.ru
Tue Mar 6 13:53:56 CET 2007


On Tue, Mar 06, 2007 at 01:36:03PM +0100, "Martin v. L?wis" wrote:
> #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?

   Yes. In .pythonrc.py .pythonrc is the root, and .py is the extension.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.


More information about the Python-Dev mailing list