cfbolz changed the topic of #pypy to: #pypy PyPy, the flexible snake https://pypy.org | IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end and https://libera.irclog.whitequark.org/pypy | insert pithy quote here
lritter has quit [Ping timeout: 265 seconds]
lritter has joined #pypy
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-win-x86-64/builds/31 [mattip: test branch, win64-xmm-registers]
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-linux-x86-64/builds/468 [mattip: test branch, win64-xmm-registers]
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-linux-x86-32/builds/439 [mattip: test branch, win64-xmm-registers]
kor1 has quit [Quit: Leaving.]
<bbot2> Failure: http://buildbot.pypy.org/builders/rpython-linux-x86-64/builds/468 [mattip: test branch, win64-xmm-registers]
<bbot2> Failure: http://buildbot.pypy.org/builders/rpython-linux-x86-32/builds/439 [mattip: test branch, win64-xmm-registers]
<bbot2> Failure: http://buildbot.pypy.org/builders/rpython-win-x86-64/builds/31 [mattip: test branch, win64-xmm-registers]
<mattip> arigato: could you check that the newly failing tests in jit.backend make sense and should be fixed on the branch?
<mattip> (ignore the first run, there was a typo)
<mattip> the failures seem to stem from _check_invariants where there is "for reg in self.free_regs: assert reg not in rev_regs"
<mattip> and xmm4 is in self.free_regs, so the check fails
Guest11 has joined #pypy
Guest11 has quit [Client Quit]
Julian has joined #pypy
amirouche has joined #pypy
<amirouche> I can not find the source code repository of pypy
lritter has quit [Quit: Leaving]
Julian has quit [Quit: leaving]
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-win-x86-64/builds/32 [mattip: force build, win64-xmm-registers]
<bbot2> Failure: http://buildbot.pypy.org/builders/rpython-win-x86-64/builds/32 [mattip: force build, win64-xmm-registers]
isidentical has joined #pypy
<mattip> arigato: I had another typo which was causing tests to fail
<mattip> now there are 32 failing rpython tests on the branch, and 34 in default
<mattip> and the segfault went away
<mattip> so it seems like the branch is an overall win
<mattip> should I merge it as-is or do you want to look at disabling the scratch register for 64-bit windows like on 32-bit ?
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-64/builds/321 [mattip: force build, py3.8]
<bbot2> Started: http://buildbot.pypy.org/builders/own-win-x86-64/builds/369 [mattip: force build, py3.8]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8774 [mattip: force build, py3.8]
Julian has joined #pypy
Julian has quit [Ping timeout: 268 seconds]
Julian has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8774 [mattip: force build, py3.8]
stkrdknmibalz has quit [Quit: WeeChat 3.0.1]
stkrdknmibalz has joined #pypy
kor1 has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-64/builds/321 [mattip: force build, py3.8]
Julian has quit [Ping timeout: 268 seconds]
Julian has joined #pypy
Julian has quit [Ping timeout: 268 seconds]
Julian has joined #pypy
Julian has quit [Ping timeout: 268 seconds]
isidentical has quit [Remote host closed the connection]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-win-x86-64/builds/369 [mattip: force build, py3.8]
Julian has joined #pypy
<mattip> cfbolz: have we implemented the last sentence of the docstring of object.__index__
<mattip> If __int__(), __float__() and __complex__() are not defined then corresponding built-in functions int(), float() and complex() fall back to __index__()
<cfbolz> mattip: is that related to 3.8?
<cfbolz> Something changed around that
<mattip> yes, the failures of hpy on py3.8
<cfbolz> I think it's not fixed yet
<cfbolz> Or maybe not in all cases
<cfbolz> I hope to get back to 3.8 work this week :-(
<mattip> in baseobjspace.py, there is "def int(self. w_obj): return w_obj.int(self)"
<cfbolz> mattip: I never know what space.int is supposed to do precisely
<mattip> well, it calls w_obj.int
<cfbolz> Sure
<mattip> W_Root.int() is also in that file, at line 302
<cfbolz> But in which situations do you use it
Julian has quit [Ping timeout: 268 seconds]
<cfbolz> mattip: ie does the int constructor use it?
<mattip> ahh. HPy and cpyext both use it in HPyLong_AsLong or PyLong_AsLong
<cfbolz> mattip: so we should check whether the latter in cpython will call index
<mattip> but maybe they should be using space.newint
<cfbolz> If yes, that's an argument for changing space.int
<cfbolz> mattip: isn't newint the reverse?
<mattip> ahh, right
<mattip> 3.7 has a different docstring https://docs.python.org/3.7/reference/datamodel.html#object.__index__
<mattip> In order to have a coherent integer type class, when __index__() is defined __int__() should also be defined, and both should return the same value.
<cfbolz> mattip: right
<mattip> Functions ... like PyLong_AsLong() ... will now use the __index__() special method instead of __int__(), if available
<cfbolz> mattip: so maybe indeed space.int also changes
<cfbolz> We should look a bit who else calls that
<mattip> right, hg grep "space.int\(" shows ~20 calls
Julian has joined #pypy
<mattip> thanks, I will go through them and try to figure it out
Julian has quit [Ping timeout: 265 seconds]
<cfbolz> mattip: probably no need to look at all
<cfbolz> But if a few all seem to need index, then we should switch
Julian has joined #pypy
Julian has quit [Ping timeout: 265 seconds]
Julian has joined #pypy
Julian has quit [Ping timeout: 255 seconds]
Julian has joined #pypy
Julian has quit [Ping timeout: 252 seconds]
Julian has joined #pypy
Julian has quit [Ping timeout: 268 seconds]
<mattip> they got a 3.5x improvement with sqlite3 inserts by using pypy over cpython on macOS
<mattip> and another 5x improvement over that by moving to rust
Julian has joined #pypy
Julian has quit [Ping timeout: 268 seconds]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-64/builds/322 [mattip: force build, py3.8]
<bbot2> Started: http://buildbot.pypy.org/builders/own-win-x86-64/builds/370 [mattip: force build, py3.8]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8775 [mattip: force build, py3.8]
Julian has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-64/builds/322 [mattip: force build, py3.8]
Julian has quit [Ping timeout: 268 seconds]
Julian has joined #pypy
Julian has quit [Ping timeout: 255 seconds]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8775 [mattip: force build, py3.8]
Julian has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-win-x86-64/builds/370 [mattip: force build, py3.8]
Julian has quit [Ping timeout: 268 seconds]
Julian has joined #pypy
Julian has quit [Ping timeout: 265 seconds]
Julian has joined #pypy
Julian has quit [Client Quit]
lritter has joined #pypy