Serhiy Storchaka added the comment: I thought that splitpath() could be used in implementations of realpath(), relpath(), commonpath(), and in user code. But looks as realpath(), relpath() and commonpath() should use specialized inlined versions for efficiency, and user code can use more highlevel pathlib. For now there are no strong arguments for adding splitpath().
The patch is updated to the tip (for the case if it will needed in the future) and the issue is closed. ---------- resolution: -> rejected stage: patch review -> resolved status: open -> closed Added file: http://bugs.python.org/file39143/ospath_splitpath_4.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11344> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com