<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 11, 2013 at 10:21 PM, Bryan O'Sullivan <span dir="ltr"><<a href="mailto:bos@serpentine.com" target="_blank">bos@serpentine.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Sun, Feb 10, 2013 at 4:37 PM, Benoit Boissinot <span dir="ltr"><<a href="mailto:bboissin@gmail.com" target="_blank">bboissin@gmail.com</a>></span> wrote:<br>

<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>If that's what you actually want to catch (like what was done previously), you need to check errno for ENOENT</div><div><div></div></div></blockquote></div><br></div>Actually, Durham's patch doesn't change the semantics of the code. statfiles turns all lstat results that would cause OSError to be thrown into None entries in the result list.<div>


<br></div><div>It's possible that the prior patch that he's modifying was wrong, but I don't think so (haven't thought about it deeply).</div></blockquote><div><br></div><div style>At least that's the behaviour of the pure python version (in posix.py).</div>

<div style>Might be a bug of the C code, or the python code being too defensive.</div><div style> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br></div>

<div>Patch crewed as-is for now.</div>
</blockquote></div><br></div></div>