New submission from Alex Gaynor: Right now it calls islink(), which does an lstat, and then does its own lstat on the same path. This can be optimized by inlining the body of islink and reusing the stat result.
(This has been identified as an actual issue in openstack-swift https://review.openstack.org/#/c/37929/ ) ---------- messages: 193540 nosy: alex priority: normal severity: normal status: open title: posixpath.ismount performs extra lstat calls _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18530> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com