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
oberstet has quit [Remote host closed the connection]
YannickJadoul has quit [Quit: Leaving]
epony has quit [Remote host closed the connection]
epony has joined #pypy
_whitelogger has joined #pypy
rfgpfeiffer has quit [Ping timeout: 240 seconds]
Taggnostr has quit [Quit: Switching to single player mode.]
Taggnostr has joined #pypy
epony has quit [Ping timeout: 258 seconds]
epony has joined #pypy
epony has quit [Remote host closed the connection]
epony has joined #pypy
lritter has joined #pypy
jcea has quit [Quit: jcea]
fangerer___ has quit [Read error: Connection reset by peer]
fangerer___ has joined #pypy
_whitelogger has joined #pypy
_whitelogger has joined #pypy
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8365 [mattip: test branch, longdouble-ctypes]
<bbot2> Started: http://buildbot.pypy.org/builders/own-win-x86-32/builds/2469 [mattip: test branch, longdouble-ctypes]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8365 [mattip: test branch, longdouble-ctypes]
_whitelogger has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-win-x86-32/builds/2469 [mattip: test branch, longdouble-ctypes]
_whitelogger has joined #pypy
epony has quit [Ping timeout: 258 seconds]
<antocuni> mattip: I commented out the call to newlist and started a new translation, to see whether the problem is when we union the two annotations
<antocuni> yes, by commenting out the call to newlist, it works
epony has joined #pypy
<mattip> ok, so it is trying to merge the two callsites?
<antocuni> I think it is correct
<antocuni> as soon as I pass items_w to newlist, it correctly becomes non-resizable (because once it is inside a list, it can be resized, of course)
<antocuni> but newtuple wants a different type
<antocuni> I mean, if we wrote it in C it would be evident because newlist and newtuple take two different C types
<antocuni> RPython is a very weird language
<antocuni> I suppose the proper fix is to unshare the code between TupleBuilder and ListBuilder
<mattip> you could make a base class and two subclasses, but in this case it might be overkill
<antocuni> I don't think it works
<antocuni> because self.items_w would be shared anyway
<antocuni> I can probably use some RPython trick to write the class only once and get two different copies, though
<mattip> :shrug: maybe not worth the effort
jacob22_ has joined #pypy
<antocuni> another easy trick is to do "space.newtuple(self.items_w[:])"
Civil has joined #pypy
jacob22 has quit [Ping timeout: 240 seconds]
Civilian has quit [Ping timeout: 240 seconds]
<antocuni> or maybe the opposite, i.e. to make the copy in the ListBuilder case: I suspect it is more common to create a tuple than to create a pre-resized list and fill it with elements
lritter has quit [Quit: Leaving]
<antocuni> I opened an MR to merge the latest hpy developments into py3.6; reviews are welcome: https://foss.heptapod.net/pypy/pypy/-/merge_requests/767
_whitelogger has joined #pypy
rfgpfeiffer_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<mattip> arigato: ppc is failing to build scikit-learn on the 7.3.2 release tag
<mattip> Could it be due to c61a69876e5b ?
jcea has joined #pypy
jcea1 has joined #pypy
jcea has quit [Ping timeout: 260 seconds]
jcea1 is now known as jcea
YannickJadoul has joined #pypy
todda7 has joined #pypy
oberstet has joined #pypy
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7234 [mattip: force build, stdlib-2.7.18-3]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/5559 [mattip: force build, stdlib-2.7.18-3]
<tumbleweed> mattip: ppc was totally broken on 7.3.2
<tumbleweed> (without that)
<tumbleweed> either you need that patch or --jit off
<mattip> ahh. And with the patch tests pass?
<mattip> I could add the patch to the conda 7.3.2 release.
<mattip> Right now they have marked it as "broken" so ppc v7.3.2 will not be available on conda
jcea has quit [Ping timeout: 240 seconds]
<tumbleweed> mattip: yep, that patch solved everything
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7234 [mattip: force build, stdlib-2.7.18-3]
<mattip> tumbleweed: thanks
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/5559 [mattip: force build, stdlib-2.7.18-3]
rfgpfeiffer has joined #pypy
jcea has joined #pypy
<mattip> only 20 failures to go on stdlib-2.7.18-3 on linux64
redj has quit [Ping timeout: 240 seconds]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7235 [mattip: test branch, longdouble-ctypes]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/5560 [mattip: test branch, longdouble-ctypes]
redj has joined #pypy
<mattip> it seems lib_pypy/_ctypes has gotten out of sync between 2.7 and 3.6
<mattip> I wonder which would be easier: syncing (in the hope it fixes failures) or directly fixing the stdlib-2.7.18 failures
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7235 [mattip: test branch, longdouble-ctypes]
todda7 has quit [Ping timeout: 272 seconds]
<tumbleweed> yeah, a lot of the changes in 2.7.18 were things backported from 3
YannickJadoul has quit [Ping timeout: 260 seconds]
rfgpfeiffer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
jacob22_ has quit [Ping timeout: 244 seconds]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/5560 [mattip: test branch, longdouble-ctypes]
jacob22 has joined #pypy
jacob22_ has joined #pypy
jacob22 has quit [Ping timeout: 260 seconds]