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
_______________________________________________
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