[Python-ideas] PEP 428 - object-oriented filesystem paths

Oleg Broytman phd at phdru.name
Sat Oct 6 16:01:16 CEST 2012


On Sat, Oct 06, 2012 at 03:49:49PM +0200, Yuval Greenfield <ubershmekel at gmail.com> wrote:
> Perhaps os.path.basename should be deprecated in favor of a better named
> function one day. But that's probably for a different thread.

   That's certainly for a different Python. os.path.basename cannot be
renamed because:

1) it's used in millions of programs;
2) it's in line with GNU tools.

Oleg.
-- 
     Oleg Broytman            http://phdru.name/            phd at phdru.name
           Programmers don't die, they just GOSUB without RETURN.



More information about the Python-ideas mailing list