Guido van Rossum added the comment: That's fair, though I don't know what kind of caching design was considered (until Ram's suggestion on python-ideas I had thought the cache would simply use a slot on the Path instance to hold the stat() result).
If we want pathlib to become pervasive we may have to accept that its implementation may become more complex in order to support more use cases. (I'm so far holding off a walk() method, but who knows for how long...) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26031> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com