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
pepesza- has quit [Ping timeout: 240 seconds]
pepesza has joined #pypy
lritter has quit [Quit: Leaving]
lritter has joined #pypy
energizer has quit [Quit: Leaving]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
tbodt has quit [Client Quit]
dddddd has quit [Remote host closed the connection]
marr has quit [Ping timeout: 255 seconds]
lritter_ has joined #pypy
lritter has quit [Ping timeout: 260 seconds]
jcea has quit [Quit: jcea]
lritter_ is now known as lritter
lritter has quit [Quit: Leaving]
lritter has joined #pypy
asmeurer_ has quit [Quit: asmeurer_]
energizer has joined #pypy
lritter has quit [Quit: Leaving]
asmeurer_ has joined #pypy
forgottenone has joined #pypy
mcyprian has joined #pypy
mcyprian has quit [Client Quit]
jamesaxl has joined #pypy
Knio has quit [Ping timeout: 240 seconds]
Knio has joined #pypy
amaury has joined #pypy
_main_ has joined #pypy
__main__ has quit [Ping timeout: 240 seconds]
_main_ is now known as __main__
__main__ has quit [Read error: Connection reset by peer]
_main_ has joined #pypy
_main_ is now known as __main__
asmeurer_ has quit [Quit: asmeurer_]
dddddd has joined #pypy
energizer has quit [Ping timeout: 255 seconds]
antocuni has joined #pypy
illume has joined #pypy
marr has joined #pypy
amaury has quit [Quit: Konversation terminated!]
amaury has joined #pypy
amaury has quit [Ping timeout: 264 seconds]
oberstet has quit [Ping timeout: 240 seconds]
illume has quit [Read error: Connection reset by peer]
illume has joined #pypy
illume has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
antocuni has quit [Ping timeout: 256 seconds]
demonimin_ has joined #pypy
forgottenone has quit [Ping timeout: 248 seconds]
demonimin_ has joined #pypy
demonimin_ has quit [Changing host]
oberstet has joined #pypy
riddle has quit [Disconnected by services]
[Arfreve1] has joined #pypy
Rotonen_ has joined #pypy
nopf_ has joined #pypy
riddle has joined #pypy
[Arfreve1] has quit [Client Quit]
Graypup__ has joined #pypy
jamesaxl has quit [*.net *.split]
pepesza has quit [*.net *.split]
demonimin has quit [*.net *.split]
[Arfrever] has quit [*.net *.split]
domenkozar has quit [*.net *.split]
jiffe has quit [*.net *.split]
Graypup_ has quit [*.net *.split]
nopf has quit [*.net *.split]
dmalcolm has quit [*.net *.split]
dddddd has quit [*.net *.split]
Guest21870 has quit [*.net *.split]
Rotonen has quit [*.net *.split]
jamesaxl has joined #pypy
marvin has joined #pypy
dddddd has joined #pypy
marvin is now known as Guest95978
Rotonen_ is now known as Rotonen
[Arfrever] has joined #pypy
jiffe has joined #pypy
domenkozar has joined #pypy
dmalcolm has joined #pypy
raynold has quit [Quit: Connection closed for inactivity]
pepesza has joined #pypy
pepesza has quit [Ping timeout: 256 seconds]
pepesza has joined #pypy
jcea has joined #pypy
forgottenone has joined #pypy
forgottenone has quit [Client Quit]
Taggnostr has quit [Remote host closed the connection]
forgottenone has joined #pypy
Taggnostr has joined #pypy
marky1991 has joined #pypy
jcea has quit [Quit: jcea]
jcea has joined #pypy
antocuni has joined #pypy
Rhy0lite has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
amaury has joined #pypy
__peke___ has quit [Excess Flood]
__peke__ has joined #pypy
adamholmberg has joined #pypy
amaury has quit [Ping timeout: 264 seconds]
demonimin_ is now known as demonimin
tbodt has joined #pypy
mattip has joined #pypy
lweber1 has quit [Ping timeout: 248 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
tbodt has quit [Client Quit]
tbodt has joined #pypy
tbodt has quit [Client Quit]
<mattip> arigato: ping
inad922 has joined #pypy
<arigato> mattip: pong
<antocuni> what is the blessed way to add an integer constant to a W_* class?
<mattip> arigato: in dc1bf38e9aed I tried to test the places that use is_cpytype(), and the translated tests pass, but more generally
<mattip> should a user-defined non-c-api subclass of a cpytype have is_cpytype() == True?
<antocuni> I see that there is typedef.ClassAttr, which invokes a function to compute the result; but the docstring seems to suggest that there is also an alternative way to avoid writing the function itself
<arigato> unsure about the relationship between is_cpytype() and dc1bf38e9aed
<arigato> mattip: I'm not sure, but I think the answer is "yes like so far" for at least a number of users of is_cpytype()
<mattip> arigato: the places that use is_cpytype() are in mutated() and __module__, __name__ of a type
<mattip> arigato: so I added passing translated tests that show that is_cpytype() can be False for a user-defined type
<arigato> ok, but you or me would need to check all usages of is_cpytype() to know that
<arigato> at least so far, it was meant to be true for that case, I think
<arigato> but there might have been issues with some of these use cases indeed
lritter has joined #pypy
<arigato> sorry, can't be more precise, I don't have the usual access to the sources right now
<mattip> the only use case I left untested is the decref(tp_dict) in cpyext/typeobject.py
<mattip> ahh, ok
<antocuni> ah, apparently putting "FOO = 42" in the typedef is enough to have it exposed at appleve
<mattip> arigato: your comments yesterday left me confused, the pastebin seems like it would have the opposite effect from the desired one
<mattip> but we can postpone the discussion until you can scan sources
<arigato> now I can
<arigato> it seems to me that https://paste.pound-python.org/show/t8PvUVpeDJcPdeVAh2ii/ does things in the rihgt order?
<arigato> W_PyCTypeObject should be used only for types that come from a PyTypeObject originally
<arigato> so a user-defined subclass should, I think, not be a W_PyCTypeObject
<mattip> the first part makes W_BaseCPyObject, W_TypeObject, W_NoneObject, W_BoolObject become slower
<arigato> well, no
<arigato> or yes, except for None and Bool it changes nothing because these objects never die; for types themselves it was probably wrong to use link_pyobj() at all because types can be mutated from Python---or even if they can't, I don't think we care about the performance of freeing types
<arigato> and for W_BaseCPyObject, yes, it makes them slower and correct, *except* when their types are actually W_PyCTypeObject
<arigato> in which case we use the version in W_PyCTypeObject which is the fast one
inad922 has quit [Ping timeout: 240 seconds]
<mattip> ahh, got it, thanks
<arigato> so by default it uses the slower and correct version, and in the one case where we care it should use the fast version
<arigato> I think it should come with a test that a user-defined subclass is really not a W_PyCTypeObject
<mattip> +1, will try. I will also leave the tests for is_cpytype() usage ( dc1bf38e9aed) and revert 36ff2c150968 (about w_obj.flag_cpytype in tyep creation)
bbot2_ has quit [Quit: buildmaster reconfigured: bot disconnecting]
inad922 has joined #pypy
<kenaan> mattip buildbot 1fbe9ae3024b /bot2/pypybuildbot/master.py: move pypy-c-jit-freebsd-9-x86-64 to inactive_slaves
bbot2 has joined #pypy
inad922 has quit [Ping timeout: 240 seconds]
raynold has joined #pypy
<kenaan> mattip default 2e04adf1b89f /pypy/: prepare new release
<kenaan> mattip default 0dbf12ced3b7 /pypy/doc/whatsnew-head.rst: restart whatsnew-head
<kenaan> mattip release-pypy2.7-6.x d2c8301f4536 /pypy/module/: start release branch
<kenaan> mattip py3.5 2dcc8ff1c4c3 /pypy/: prepare new release
<kenaan> mattip py3.5 552c05a134d7 /: merge default into branch
<kenaan> mattip py3.5 bf74662ee4fa /pypy/doc/: restart whatsnew-pypy3-head.rst part 1
<kenaan> mattip py3.5 cfe5b1a3c30e /pypy/doc/whatsnew-pypy3-head.rst: restart whatsnew-pypy3-head.rst part 2
<kenaan> mattip release-pypy3.5-6.x bfd21fbbe693 /pypy/module/: start release branch
<mattip> mjacob: buildbot now has a link to pypy3.6, it seems one of the missing peices is a extending the _ssl cffi module for new hashes
asmeurer_ has joined #pypy
asmeurer_ has quit [Ping timeout: 265 seconds]
asmeurer has joined #pypy
asmeurer has quit [Ping timeout: 265 seconds]
antocuni has quit [Ping timeout: 240 seconds]
fryguybob has quit [Read error: Connection reset by peer]
energizer has joined #pypy
devwatchdog has joined #pypy
asmeurer__ has joined #pypy
amaury has joined #pypy
amaury has quit [Client Quit]
amaury_ has joined #pypy
amaury_ has quit [Client Quit]
amaury_ has joined #pypy
amaury_ has quit [Ping timeout: 265 seconds]
Rhy0lite has quit [Quit: Leaving]
marr has quit [Ping timeout: 276 seconds]
marky1991 has quit [Ping timeout: 240 seconds]
hodge is now known as Hodgestar
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
forgottenone has quit [Ping timeout: 260 seconds]
<kenaan> mattip cpyext-subclass-setattr 98123cec9206 /pypy/: backed out changeset 36ff2c150968, try a different approach (arigato)
<kenaan> mattip cpyext-subclass-setattr ccfd28850680 /pypy/module/cpyext/: rework _cpyext_attach_pyobj (arigato)
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6662 [mattip: force build, cpyext-subclass-setattr]
<kenaan> mattip cpyext-subclass-setattr 2f6fa12ef5e6 /pypy/module/cpyext/typeobject.py: remove unused variable
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5384 [mattip: force build, cpyext-subclass-setattr]
devwatchdog has quit [Remote host closed the connection]
marky1991 has quit [Ping timeout: 276 seconds]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6662 [mattip: force build, cpyext-subclass-setattr]
marky1991 has joined #pypy
<kenaan> mattip cpyext-subclass-setattr a7f1ba785e54 /pypy/module/cpyext/typeobject.py: remove unused variable
<kenaan> mattip cpyext-subclass-setattr 85beaaee87c8 /pypy/module/cpyext/test/test_typeobject.py: add a passing test
zmt01 has joined #pypy
zmt01 has quit [Remote host closed the connection]
zmt00 has quit [Ping timeout: 264 seconds]
marr has joined #pypy
oberstet has quit [Ping timeout: 248 seconds]
lweber1 has joined #pypy
<bbot2> Success: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5384 [mattip: force build, cpyext-subclass-setattr]
<mattip> arigato: cpyext-subclass-setattr passes tests, and in 85beaaee87c8 I added a test that a user-defined subclass is really not a W_PyCTypeObject
dddddd has quit [Ping timeout: 248 seconds]
lritter has quit [Remote host closed the connection]
drolando has quit [Read error: Connection reset by peer]
drolando has joined #pypy
<kenaan> mattip default dbe5e735e9f7 /pypy/doc/: start release notes (up to 24.2.2018), rename whatsnew to fit convention
mattip has left #pypy ["bye"]
dddddd has joined #pypy
lweber1 has quit [Ping timeout: 255 seconds]
energizer has quit [Quit: Leaving]
antocuni has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
mwhudson_ is now known as mwhudson
mwhudson has joined #pypy
mwhudson has quit [Changing host]
adamholmberg has quit [Ping timeout: 265 seconds]
amaury_ has joined #pypy
amaury_ has quit [Client Quit]
amaury_ has joined #pypy
adamholmberg has joined #pypy
amaury_ has quit [Quit: Konversation terminated!]
amaury_ has joined #pypy
redj has quit [Quit: No Ping reply in 180 seconds.]
redj has joined #pypy
antocuni has quit [Ping timeout: 265 seconds]
amaury_ has quit [Quit: Konversation terminated!]
amaury_ has joined #pypy
asmeurer__ has quit [Quit: asmeurer__]
amaury_ has quit [Ping timeout: 240 seconds]
energizer has joined #pypy
pf_moore has quit [Quit: Connection closed for inactivity]
adamholmberg has quit [Remote host closed the connection]
tav has joined #pypy