Serhiy Storchaka added the comment: I think that if some high-level function uses os.path, it likely should convert Path argument to str either because the path should be saved as a string, or for performance if multiple os.path functions are called with the same argument. Note, that some os.path functions will implicitly support path objects if the posix module support it.
Let first find the functions that need path objects support in os.path. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27184> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com