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

"Martin v. Löwis" martin at v.loewis.de
Tue Mar 6 16:00:01 CET 2007


Oleg Broytmann schrieb:

Should this be changed? Opinions? Yes. In .pythonrc.py .pythonrc is the root, and .py is the extension.

Ah, it would do that already: with multiple dots, the last one always provides the extension. However, for .pythonrc, it would conclude that .pythonrc is the extension.

Regards, Martin



More information about the Python-Dev mailing list