This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 <>
> 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()...)
Date User Action Args
2014-04-22 22:57:40pitrousetrecipients: + pitrou, rhettinger, vstinner, christian.heimes, alex, grooverdan, neologix, kwirk
2014-04-22 22:57:40pitroulinkissue21207 messages
2014-04-22 22:57:40pitroucreate