cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end ) | use cffi for calling C | if a pep adds a mere 25-30 [C-API] functions or so, it's a drop in the ocean (cough) - Armin
gef has joined #pypy
gef has quit [Ping timeout: 260 seconds]
grimler32 has joined #pypy
gef has joined #pypy
gef has quit [Ping timeout: 252 seconds]
<mattip>
arigato: there is a project to test conda + numpy + various blas libraries. They ran into failures on ppc + pypy
<mattip>
I suggested they turn off the JIT, which seems to have fixed the failures
<fijal>
but there is a bunch of things - like if you pass a generator (or at least wanted to) , but you forgot yield and it's a normal function, hilarity ensues
<fijal>
ah, another beginner one that I find incredibly frustrating
<fijal>
for i in range(X): def f(): .... use i somewhere ....
<cfbolz>
I am not doing much async programming, so I am not hitting theses often...
<cfbolz>
re closures: that's a bad footgun, but I am not sure how it would be fixable :-(
gef has joined #pypy
gef_ has quit [Ping timeout: 246 seconds]
<fijal>
I think, as a first step, using iteration variable in a closure is always a bad idea?
<fijal>
should be a warning IMO
<cfbolz>
fijal: I don't know, very occasionally it's what you want 🤔
<fijal>
I think 0 for me
<fijal>
like I used def f(i=i): sure, but to *actually* capture the last value of a for loop?
<fijal>
yes, I think it's technically possible to make it useful, but hard to think how
todda7 has joined #pypy
<cfbolz>
fijal: I am really excited about the precise position information
<fijal>
yeah that does sound good
gef has quit [Ping timeout: 268 seconds]
gef_ has joined #pypy
todda7 has quit [Remote host closed the connection]
todda7 has joined #pypy
tsaka__ has joined #pypy
todda7 has quit [Remote host closed the connection]
tsaka__ has quit [Excess Flood]
tsaka__ has joined #pypy
jcea has joined #pypy
tsaka__ has quit [Ping timeout: 260 seconds]
tsaka__ has joined #pypy
gef_ has quit [Ping timeout: 260 seconds]
gef has joined #pypy
jcea has quit [Ping timeout: 250 seconds]
oberstet has quit [Quit: Leaving]
gef has quit [Ping timeout: 252 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 260 seconds]
gef has joined #pypy
Dejan has joined #pypy
Dejan has quit [Changing host]
Dejan has joined #pypy
gef has quit [Quit: No Ping reply in 210 seconds.]