[New-bugs-announce] [issue18530] posixpath.ismount performs extra lstat calls

Alex Gaynor report at bugs.python.org
Mon Jul 22 17:07:40 CEST 2013


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 <report at bugs.python.org>
<http://bugs.python.org/issue18530>
_______________________________________


More information about the New-bugs-announce mailing list