cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://botbot.me/freenode/pypy/ ) | use cffi for calling C | "nothing compares to the timeshifter, my personal polar expedition in software" - pedronis
marr has quit [Read error: Connection reset by peer]
marr123 has joined #pypy
marr123 has quit [Remote host closed the connection]
<fijal>
o/
<fijal>
bonjour
exarkun has quit [Ping timeout: 260 seconds]
exarkun has joined #pypy
amaury_ has joined #pypy
<arigato>
mattip_: ah we got it
<arigato>
a previous version of the test likely had "type->ht_type.tp_flags |= Py_TPFLAGS_HEAPTYPE;" instead of "if (...HEAPTYPE)"
antocuni has joined #pypy
<kenaan>
antocuni cpyext-avoid-roundtrip ed10b210f7b9 /pypy/module/cpyext/: port PyObject_Init{,Var} to C
<kenaan>
antocuni cpyext-avoid-roundtrip f91e599505d5 /pypy/module/cpyext/src/object.c: try to be a bit more similar to CPython and raise PyExc_NoMem() inside _PyObject_NewVar() instead...
<kenaan>
antocuni cpyext-avoid-roundtrip c0c845f0324a /pypy/module/cpyext/src/object.c: we can use the macros now
<kenaan>
arigo default 00a9596553c6 /pypy/module/cpyext/test/test_typeobject.py: (antocuni, arigo) This test with -A fails on CPython. Fix it, guessing that this is the non-checked-in intermedia...
<kenaan>
arigo cpyext-avoid-roundtrip 508aeed657b4 /pypy/module/cpyext/test/test_typeobject.py: (antocuni, arigo) This test with -A fails on CPython. Fix it, guessing that this is the non-checke...
ronan has quit [Ping timeout: 240 seconds]
amaury_ has quit [Ping timeout: 240 seconds]
antocuni has quit [Ping timeout: 248 seconds]
drolando has joined #pypy
altan_ozlu has joined #pypy
ronan has joined #pypy
drolando has quit [Ping timeout: 258 seconds]
altan_ozlu has quit [Remote host closed the connection]
<Alex_Gaynor>
arigato: wheel uploads delayed slightly because some of the infrastructure we rely on is having issues
<kenaan>
antocuni extradoc 5a8c64c3a71f /planning/cpyext.txt: (antocuni, arigo): another idea
ronan__ is now known as ronan
amaury_ has joined #pypy
amaury_ has quit [Quit: Konversation terminated!]
amaury_ has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
<cfbolz>
antocuni, arigato: re this idea:
<cfbolz>
I think that's a good plan, and suggest another variant:
<cfbolz>
every object that's allocated in C (eg numpy arrays) should have such a field in its w_obj representation
nunatak has joined #pypy
<antocuni>
cfbolz: yes, that's what we had in mind when talking about the hypotetical W_CpyObject
amaury_ has quit [Ping timeout: 260 seconds]
nunatak has quit [Quit: Leaving]
<cfbolz>
antocuni: sounds not too hard
marky1991 has joined #pypy
<antocuni>
yes, just another instantiation of the "last famous world" principle applied to cpyext :)
<antocuni>
*last famous words
<cfbolz>
antocuni: heh
<arigato>
this turned out to be a cpyext-only sprint
<cfbolz>
arigato: and some utf-8 work no?
<arigato>
yes, right
realitix has quit [Ping timeout: 260 seconds]
<kenaan>
rlamy default 1b7397a88e79 /pypy/module/cpyext/: (arigo, ronan) Make sure that the keys returned from PyDict_Next are kept alive. And try to make the general proble...
<kenaan>
antocuni cpyext-avoid-roundtrip c84be963f330 /pypy/module/cpyext/api.py: (antocuni, arigo): use make_ref+decref instead of as_pyobj to convert arguments inside generic_cp...
exarkun has quit [Ping timeout: 255 seconds]
exarkun has joined #pypy
realitix has joined #pypy
<kenaan>
arigo cpyext-avoid-roundtrip 8bbae2a41f6b /pypy/module/cpyext/pyobject.py: (antocuni, arigo) Small refactoring to make it possible to return something different from make_ref()
<kenaan>
arigo cpyext-avoid-roundtrip 55577c485f1b /pypy/module/cpyext/slotdefs.py: Fix for leaks in case of NotImplemented return values
<kenaan>
rlamy py3.5 61c11feab4e6 /pypy/module/cpyext/dictobject.py: Fix performance and correctness of PyDict_Next by storing a list of keys instead of a view
drolando has joined #pypy
forgottenone has joined #pypy
tbodt has joined #pypy
<kenaan>
arigo cpyext-avoid-roundtrip 9bfec319cb44 /pypy/module/cpyext/slotdefs.py: Fix for leaks in case of NotImplemented return values
<kenaan>
arigo default 4e7960df8e0c /pypy/module/cpyext/slotdefs.py: Fix for leaks in case of NotImplemented return values
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<kenaan>
antocuni cpyext-avoid-roundtrip e5c7b7f85187 /pypy/module/cpyext/: (antocuni, arigo): implement PyInt_FromLong in C and use freelists for allocation, copying the co...
<kenaan>
antocuni cpyext-avoid-roundtrip 79a097e55085 /pypy/module/cpyext/: (antocuni, arigo): hoorray: finally add an optimized special case to make_ref for integers, so th...
<kenaan>
antocuni cpyext-avoid-roundtrip abffbc3948ea /pypy/module/cpyext/test/test_intobject.py: (antocuni, arigo): write a passing test
<kenaan>
antocuni cpyext-avoid-roundtrip 3f54b35142d4 /pypy/module/cpyext/intobject.py: (antocuni, arigo): we concluded that we cannot kill these: they are needed e.g. by as_pyobj and i...
drolando has joined #pypy
tbodt has joined #pypy
slackyy has quit [Quit: Leaving]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Alex_Gaynor>
cfbolz: f(none, none, none...) loads a ton of constants onto the stack, tons of iterations of the interpreter loop. f(*(None, None, None...)) loads a single constant, and then there's a much simpler loop to copy from the tuple into the argument array
<Alex_Gaynor>
(my guess, I didn't verify)
<arigato>
yes, something like that
* arigato
dinner
<Alex_Gaynor>
it may not need to copy into the argument array at all for tuples
arigato has quit [Quit: Leaving]
antocuni has quit [Ping timeout: 246 seconds]
ronan has quit [Ping timeout: 255 seconds]
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #pypy
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #pypy
<LarstiQ>
is there code in the wild that does this, or how was this case found?
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
jamesaxl has quit [Quit: WeeChat 1.8]
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
marky1991 has quit [Read error: Connection reset by peer]
marky1991 has joined #pypy
cstratak has quit [Quit: Leaving]
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 [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
<marmoute_>
fijal: I'm using pypy-hg to run some long running command that compute statistic on Mercurial repository. it is MASSIVELY faster
<fijal>
marmoute_: cool, I'm glad someone is happy with my work :)
<marmoute_>
It took 7 minute to catch up with 1:45 minute of computation on the other side
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<marmoute_>
And this is using the pure version actually o:-), because I had some issue whil instally the cffi version
<fijal>
marmoute_: FYI I'm in Videlles
<marmoute_>
You near Fontainbleau ?
<fijal>
sort of, yeah
<fijal>
way closer than africa
tbodt has joined #pypy
amaury_ has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
tbodt has quit [Client Quit]
tbodt has joined #pypy
jamesaxl has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
tnorth has quit [Ping timeout: 264 seconds]
drolando_ has joined #pypy
drolando has quit [Read error: Connection reset by peer]
drolando_ has quit [Read error: Connection reset by peer]
drolando has joined #pypy
ColdHeat has quit [Ping timeout: 240 seconds]
ColdHeat has joined #pypy
forgottenone has quit [Quit: Konversation terminated!]