[Python-ideas] PEP 428 - object-oriented filesystem paths
Stephen J. Turnbull
stephen at xemacs.org
Sun Oct 7 10:40:18 CEST 2012
Ethan Furman writes:
> Stephen J. Turnbull wrote:
> > Antoine Pitrou writes:
> >> Richard Oudkerk wrote:
> >>> Maybe p.basename could be shorthand for p.name.split('.')[0].
> >>
> >> Wouldn't there be some confusion with os.path.basename:
> >>
> >>--> os.path.basename('a/b/c.ext')
> >> 'c.ext'
>
> I wouldn't worry too much about this; after all, we are trying to
> replace a primitive system with a more advanced, user-friendly one.
Please, don't oversell your case. We are *not* replacing POSIX,
Antoine is proposing a system that coexists with it.
More information about the Python-ideas
mailing list