[Python-ideas] os.path.commonprefix: Yes that old chestnut.

Antoine Pitrou solipsis at pitrou.net
Sat Mar 21 12:47:32 CET 2015


On Fri, 20 Mar 2015 21:41:03 -0700 (PDT)
Paddy3118 <paddy3118 at gmail.com> wrote:
> 
> The  fix seems clear: deprecate os.path.commonprefix whilst creating a true 
> os.path.commonpath and str.commonprefix. The deprecated function should 
> hang around and the standard libs modified to switch to the new function(s)

+1 from me.

> I've heard that some religious people put obvious faults in their work as 
> only their god should get so close to perfection - maybe that's why we 
> still have this wart :-)

If by chance their god is Guido, then at least /he/ can intervene to
fix his disciples' mess ;-)

Regards

Antoine.




More information about the Python-ideas mailing list