<rindolf>
hi all. https://paste.debian.net/1091022 - this throws an eoferror in pypy3 and seems to work fine in cpython3. linux x64
micisuta_ has joined #pypy
micisuta has quit [Ping timeout: 244 seconds]
ast71 has quit [Remote host closed the connection]
micisuta has joined #pypy
pjenvey2 has joined #pypy
pjenvey1 has quit [Ping timeout: 246 seconds]
micisuta_ has quit [Ping timeout: 244 seconds]
pjenvey3 has joined #pypy
pjenvey2 has quit [Ping timeout: 258 seconds]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
awygle has quit [Ping timeout: 276 seconds]
awygle has joined #pypy
alexband_ has quit [Remote host closed the connection]
pjenvey4 has joined #pypy
pjenvey3 has quit [Ping timeout: 245 seconds]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
ast88 has joined #pypy
ast88 has quit [Remote host closed the connection]
awygle has quit [Ping timeout: 252 seconds]
awygle has joined #pypy
pjenvey has joined #pypy
awygle has quit [Quit: No Ping reply in 180 seconds.]
pjenvey4 has quit [Read error: Connection reset by peer]
awygle has joined #pypy
alexband has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
adamholmberg has joined #pypy
dddddd has joined #pypy
the_rat has joined #pypy
<the_rat>
I'm getting an "undefined symbol: Py_IS_NAN" with an extension module built for PyPy. I think it's some version mismatch but I want to be sure I understand what is going on :) What's PyPy-specific about this?
<cfbolz>
the_rat: we probably don't support that function in our C extension module emulation
<cfbolz>
probably easy to add, though
<the_rat>
Ok, I'll try to build with a newer PyPy and check again. Thanks :)
<cfbolz>
I see it in my checkout, so it should exist
<Alex_Gaynor>
the_rat: you can probably just `#include <math.h>` and use `isnan()` instead of the python version
<the_rat>
Oh, it's not mine, it's some pandas thing
<Alex_Gaynor>
ah
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
forgottenone has quit [Quit: Konversation terminated!]
fling has quit [Quit: ZNC 1.7.2+deb1~bpo9+1 - https://znc.in]
fling has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
<rindolf>
hi all. https://paste.debian.net/1091022 - this throws an eoferror in pypy3 and seems to work fine in cpython3. linux x64 . with "with" i get OSError: [Errno 24] Too many open files: 'cache-consumed/myrec/350/287/1/73/2'
<_aegis_>
the pypy gc is different from cpython's
<_aegis_>
`pickle.dump(ret, open(fn, 'wb'))`
<_aegis_>
don't do this, as open() won't be gc'd until later
<_aegis_>
in cpython it will be collected immediately and the file will close, in pypy it will be collected lazily and the file won't close immediately
<_aegis_>
use `with open(file) as f:` instead
<_aegis_>
which closes the file when the with block ends
oberstet has quit [Quit: Leaving]
<rindolf>
_aegis_: thanks, that worked
abrown_ has joined #pypy
lritter has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
micisuta has joined #pypy
jacob22 has joined #pypy
micisuta1 has joined #pypy
micisuta has quit [Ping timeout: 245 seconds]
micisuta1 is now known as micisuta
marky1991 has quit [Ping timeout: 246 seconds]
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
marky1991 has joined #pypy
marky1991 has quit [Ping timeout: 245 seconds]
marky1991 has joined #pypy
speeder39_ has joined #pypy
marky1991 has quit [Ping timeout: 244 seconds]
kenaan has joined #pypy
<kenaan>
cfbolz default bf3310921e45 /rpython/: (Luanna, cfbolz): add rbigint.gcd to compute the greatest common divisor of two rbigint instances using Lehmer's a...