[Python-Dev] A wart which should have been repaired in 3.0?

skip at pobox.com skip at pobox.com
Sat Dec 27 03:49:55 CET 2008


    Nick> Why can't we add an "allow_fragment" keyword that defaults to
    Nick> True? Then "allow_fragment=False" will stop at the last full
    Nick> directory name and ignore any partial matches on the filenames or
    Nick> the next subdirectory (depending on where the common prefix ends).

You could I suppose though that would just be adding another hack on top of
existing questionable behavior.  I wasn't so concerned with implementation
as whether or not a change to the semantics of the function was possible.

Skip



More information about the Python-Dev mailing list