>> See <http://bugs.python.org/issue4755> for what I think is a function
>> with more predictable behavior given that we are discussing paths and
>> not just strings.
Martin> See above: the function works for lists as well.
But as you yourself pointed out, Python lacks a reliable split function for
filesystem paths. The patch implements different versions for Windows and
other platforms because Python supports two separators on that platform.
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