Hi Vincent, On Wed, Dec 23, 2015 at 7:05 PM, Vincent Legoll <vincent.leg...@gmail.com> wrote: > Do you thought about that removed code ? > https://bitbucket.org/vincentlegoll/pypy/commits/992e29624c5fd8a7e76677acf085fea0520f576d > > The filedesc was not kept opened there, or do you meant another thing > in this file ?
Thanks for looking it up :-) Yes, that's exactly what I have in mind, and indeed I see now that the file descriptor was not kept opened, so it didn't have the problem anyway. However rpython.rlib.rurandom line 101 keeps a file descriptor opened and reuses it without checking, which is the problem here. A bientôt, Armin. _______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev