Some of the badly written programs keep files open and expecting GC to close them, especially code written before with statement has introduced.

I have seen them in some web frameworks and many other modules. 

They open file , process them and just ignore closing, causing pypy to fail to work. Fixing them is just a matter of using with statement or manually closing .

On Thu, Oct 1, 2015 at 12:40 AM, Vasily Evseenko <svpcom@gmail.com> wrote:
Hi,
Could you explain about closed file objects (do you mean open file descriptors)?
I've never heard about this restriction before.

30.09.2015 19:35, Phyo Arkar пишет:

On Wed, Sep 30, 2015 at 6:54 PM, Luis José Novoa <luisjosenovoa@gmail.com> wrote:
gurobipy

Never heard of it.

Here are things PyPy Can help:

- If it is Pure Python
- If CExtensions are with CFFI
- If file objects (if any) are closed 

PyPy will work fine and you can expect average 7x performance gain , up to 20-30x.




_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev


_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev