[Python-ideas] Updated PEP 428 (pathlib)
Andrew Barnert
abarnert at yahoo.com
Tue Mar 5 21:29:13 CET 2013
Correct me if I'm remembering wrong, but the posix basename(1) tool can strip both dirnames _and_ extensions.
So, any confusion here has a solid precedent.
Sent from a random iPhone
On Mar 5, 2013, at 7:23, Ethan Furman <ethan at stoneleaf.us> wrote:
> On 03/05/2013 01:16 AM, Antoine Pitrou wrote:
>> Le Sun, 3 Mar 2013 15:12:09 +0100,
>> Charles-François Natali a écrit :
>>>
>>> How about "rootname", or "stripped_name" (the last one is a little
>>> too long)?
>>
>> I really prefer "basename" [...]
>
> +1
>
> --
> ~Ethan~
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/mailman/listinfo/python-ideas
More information about the Python-ideas
mailing list