Message217041
| Author |
pitrou |
| Recipients |
alex, christian.heimes, grooverdan, kwirk, neologix, pitrou, rhettinger, vstinner |
| Date |
2014年04月22日.22:57:40 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1398207458.2288.7.camel@fsol> |
| In-reply-to |
<1398207258.29.0.974305913401.issue21207@psf.upfronthosting.co.za> |
| Content |
> maybe you've thought and dismissed this already but os.close could
> call dev_urandom_close for the urandom_fd. Then there's no fstat calls
> in every random access.
That's fine if os.close() is indeed used to close fd, but not if some
third-party library uses the C close() function directly. I don't know
how likely that is, but I think it's better to squash the bug
completely, rather than 80% of it :-)
(also some other stdlib code might (?) also call C close()...) |
|