>> You could I suppose though that would just be adding another hack on
>> top of existing questionable behavior.
Antoine> Agreed. We should fix the original function so that it has the
Antoine> obvious, intented effect. Leaving the buggy function in place
Antoine> and adding another function with the proper behaviour sounds
Antoine> ridiculous.
If we add commonpath or commonpathprefix or pathprefix, or whatever, then
find someplace to move the existing commonprefix function (maybe to the
string module or as a class method of string objects?) then could we make a
2to3 fixer for this?
Skip
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com