[Python-Dev] Alternative path suggestion

Greg Ewing greg.ewing at canterbury.ac.nz
Fri May 5 03:29:15 CEST 2006


Nick Coghlan wrote:

> Similarly, I would separate out the extension to a distinct attribute, as it 
> too uses a different separator from the normal path elements ('.' most places, 
> but '/' on RISC OS, for example)

-1. What constitutes "the extension" is not well-defined in
all cases. What about filenames with multiple suffixes,
such as "spam.tar.gz"? What part of that would you put in
the extension attribute?

--
Greg



More information about the Python-Dev mailing list