cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://botbot.me/freenode/pypy/ ) | use cffi for calling C | the secret reason for us trying to get PyPy users: to test the JIT well enough that we're somewhat confident about it
<tos9>
The code he's modifying there essentially leaves a generator un-iterated over -- I hope PyPy should be garbage collecting that eventually?
<tos9>
Possibly he's confusing "leak" with "isn't collected immediately", which is what I want to verify, but just in case there's anythign specific I should be aware of, might as well ask.
<tos9>
oh, fun, I can't test because pypy 6 isn't available via homebrew, sigh, ok let's try 5.10
<tos9>
oh wait pypy3... wow, first non-me person I've ever seen using that, ok, let's see...
<tos9>
hm nope that uses 20GB of memory pretty quickly
<idnar>
it should be GCed at some point but yeah maybe not in that loop
<idnar>
the generator will have GeneratorExit thrown into it when it is
<tos9>
yeah so looks like either it's pypy3 related or pypy 6 related, since pypy2 5.10.0 seems pretty stable at 84MB worth of memory usage
<tos9>
(vs the ~20GB of memory usage in ~1 minute on pypy3 6)
<fijal>
*cough*
DRMacIver has quit [Ping timeout: 256 seconds]
samth has quit [Ping timeout: 256 seconds]
DRMacIver has joined #pypy
samth has joined #pypy
user24 has joined #pypy
dfee has joined #pypy
dddddd has quit [Remote host closed the connection]
user24 has quit [Remote host closed the connection]
<simpson>
"The presentation made it sound like Shapiro and his colleagues were the first to think about these issues and to recognize the inefficiencies" never heard of *this* in the Python speaking community before~
<simpson>
I don't believe that they actually looked into PyPy.
sbauman has quit [Remote host closed the connection]
wallet42 has quit [Remote host closed the connection]
MarkMangoba has quit [Remote host closed the connection]
altendky has quit [Remote host closed the connection]
lauren has quit [Remote host closed the connection]
marvin has quit [Remote host closed the connection]
marvin_ has joined #pypy
lauren has joined #pypy
MarkMangoba has joined #pypy
<fijal>
simpson: writing new interpreters and telling people they're stupid is always easier than understanding why people who did the work before didn't get as far as their dreams
marvin_ has quit [Remote host closed the connection]
danieljabailey has quit [Ping timeout: 260 seconds]
<simpson>
fijal: Ha, yeah, people are silly.
marvin has joined #pypy
<simpson>
OTOH sometimes it's just disturbing that people see these corpses on the side of the road of all the various Python optimizers and compilers and CPython add-on JITs, and then think, "Y'know, that won't be *me*."
<simpson>
...Ha, yeah, people are silly.
danieljabailey has joined #pypy
<fijal>
your dreams are always better than reality
sbauman has joined #pypy
altendky has joined #pypy
wallet42 has joined #pypy
marvin has quit [Remote host closed the connection]
marvin_ has joined #pypy
lazka has joined #pypy
jcea has quit [Quit: jcea]
jcea has joined #pypy
dfee has quit [Ping timeout: 264 seconds]
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
Taggnostr3 has joined #pypy
Taggnostr has quit [Ping timeout: 240 seconds]
lazka has quit [Ping timeout: 260 seconds]
lazka has joined #pypy
mattip_ has quit [Ping timeout: 240 seconds]
mattip has joined #pypy
<RemoteFox>
I have a slightly lame question - which of the branches are stable?
<cfbolz>
RemoteFox: default (for CPython 2.7 compat) and py3.5
<RemoteFox>
I was building my rpython project against the default, but it now can not translate
<cfbolz>
RemoteFox: are you sure that's not a change in rply?
<RemoteFox>
when I update the repo to the 94157, it translates
<RemoteFox>
when I then swicht to the latest default, it doesn't
<RemoteFox>
*switch
<RemoteFox>
it may be a bug in rply, but I find strange that it would manifest itself between two revisons of pypy / rpython
<cfbolz>
annoying
<cfbolz>
no, I have a vague memory that we changed some stuff in the regular expression engine of rpython
<cfbolz>
maybe that's the problem
nunatak has joined #pypy
<cfbolz>
RemoteFox: can you see whether it is broken in ac140c11bea3
lazka has quit [Quit: Leaving]
<cfbolz>
and whether it works in b437cad15ce6
<RemoteFox>
yeah, it is broken in ac140c11bea3
<RemoteFox>
and yeah, works in b437cad15ce6
<cfbolz>
ok, so I fear somebody needs to fix rply
<cfbolz>
(it was really a severe miscompilation in the regular expression engine, which we couldn't easily fix without an API change)
<RemoteFox>
oh, in which commits?
<cfbolz>
ac140c11bea3
<RemoteFox>
maybe I can just update my lexer's regexps
<RemoteFox>
I will create a issue in rply
<RemoteFox>
but I have my doubts whether it will be fixed
<cfbolz>
I'll take a look
<cfbolz>
why? rply is essentially dead?
<RemoteFox>
I don't know, I can see some commits from this month, but there has been no reaction on my other issue
<cfbolz>
Alex_Gaynor: you around?
<Alex_Gaynor>
cfbolz: yes
<cfbolz>
Alex_Gaynor: I guess rply is not really on your agenda much, right?
<Alex_Gaynor>
cfbolz: uhh, I haven't spent a lot of time on it lately *reads scrollback*, it looks like rsre's API changed and I hven't fixed rply for it
<cfbolz>
Alex_Gaynor: I can try to take a look
<Alex_Gaynor>
cfbolz: that'd be awesome, I'm happy to review/merge a PR if you have the time to figure out how the rsre API changed
<cfbolz>
Alex_Gaynor: I did the change, so I should be able to ;-)
<Alex_Gaynor>
haha, perfect :D
<cfbolz>
yeah, I see the test failures
<cfbolz>
let me see
dfee has joined #pypy
dfee has quit [Ping timeout: 260 seconds]
tbodt has joined #pypy
<cfbolz>
RemoteFox: I'll probably won't finish tonight, can you please file a bug and cc me?
<cfbolz>
So I don't forget
<RemoteFox>
you mean on github in rplys repo, or in pypy's repo?
<cfbolz>
RemoteFox: rply, I would say
<RemoteFox>
ok
<RemoteFox>
your github nickname is same as here?
<cfbolz>
Yes
<RemoteFox>
can I paste the IRC backlog?
<RemoteFox>
well, I did, I will edit it if you'll disagree