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
tbodt has joined #pypy
traverseda has joined #pypy
drolando has joined #pypy
amaury_ has quit [Ping timeout: 248 seconds]
pilne has joined #pypy
mattip has quit [Ping timeout: 246 seconds]
ArneBab has joined #pypy
ArneBab_ has quit [Ping timeout: 248 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
exarkun has quit [Ping timeout: 255 seconds]
exarkun has joined #pypy
jcea has quit [Quit: jcea]
pilne has quit [Quit: Quitting!]
forgottenone has joined #pypy
drolando has quit [Ping timeout: 255 seconds]
exarkun has quit [Ping timeout: 255 seconds]
exarkun has joined #pypy
_whitelogger has joined #pypy
drolando has joined #pypy
oilshell has left #pypy [#pypy]
tnorth has joined #pypy
tnorth has quit [Ping timeout: 255 seconds]
forgottenone has quit [Ping timeout: 248 seconds]
exarkun has quit [Ping timeout: 255 seconds]
exarkun has joined #pypy
realitix has joined #pypy
oilshell has joined #pypy
mattip_ has joined #pypy
antocuni has joined #pypy
drolando has quit [Ping timeout: 260 seconds]
drolando has joined #pypy
exarkun has quit [Read error: Connection reset by peer]
exarkun has joined #pypy
<danchr> nedbat: one thing PyPy[23] could always use for OS X is work on making tests pass
amaury_ has joined #pypy
cstratak has joined #pypy
arigato has joined #pypy
antocuni has quit [Ping timeout: 260 seconds]
<arigato> Alex_Gaynor: releasing cffi 1.11.2 today, apparently my attempt to coordinate with you failed
arigato has quit [Ping timeout: 240 seconds]
amaury_ has quit [Ping timeout: 260 seconds]
arigato has joined #pypy
arigato has quit [Ping timeout: 240 seconds]
marr has joined #pypy
arigato has joined #pypy
drolando has quit [Ping timeout: 240 seconds]
<arigato> in https://bitbucket.org/pypy/pypy/issues/2434 you say that the test passes on CPython but (used to) fail on PyPy
<arigato> but for me it fails on CPython
<arigato> (with -A)
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]
antocuni has joined #pypy
mattip_ is now known as mattip
<kenaan> arigo cpyext-avoid-roundtrip f74697a4cbd1 /pypy/module/cpyext/src/object.c: (antocuni, arigo) Fix
<kenaan> arigo cpyext-avoid-roundtrip 22870e1d5f60 /pypy/module/cpyext/: (antocuni, arigo) Yay. We are seemingly managing to remove _type_alloc() now.
<mattip> ronan: maybe we can do 5.9.1 when the dust settles on these really cool branches
<mattip> and maybe finally fix pybind11 issues 2674, 2482 about type creation
ronan has quit [Ping timeout: 240 seconds]
TheAdversary has joined #pypy
ronan has joined #pypy
bgola has joined #pypy
lritter has joined #pypy
antocuni has quit [Ping timeout: 248 seconds]
arigato has quit [Quit: Leaving]
drolando has joined #pypy
drolando has quit [Ping timeout: 240 seconds]
ronan has quit [Ping timeout: 255 seconds]
jacob22_ has joined #pypy
jacob22 has quit [Ping timeout: 260 seconds]
mattip has quit [Ping timeout: 246 seconds]
ronan has joined #pypy
arigato has joined #pypy
exarkun has quit [Ping timeout: 248 seconds]
exarkun has joined #pypy
<arigato> fijal: ...sorry, bonjour
<arigato> cffi 1.11.2 released!
<kenaan> arigo cffi/cffi[release-1.11] 5f9690f5832b /doc/source/installation.rst: released cffi 1.11.2
<kenaan> arigo cffi/cffi[release-1.11] f06cbc514392 /.hgtags: Added tag v1.11.2 for changeset 5f9690f5832b
<kenaan> arigo cffi/cffi 19b4f570695d /: hg merge release-1.11
<Alex_Gaynor> arigato: uploading wheels momentarily
<arigato> thanks!
adamholmberg has joined #pypy
drolando has joined #pypy
ronan__ has joined #pypy
ronan has quit [Quit: Ex-Chat]
antocuni has joined #pypy
jcea has joined #pypy
drolando has quit [Ping timeout: 255 seconds]
<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> arigo cpyext-avoid-roundtrip 2290915cd14c /pypy/module/cpyext/api.py: merge heads
<Alex_Gaynor> arigato: wheels uploaded
<arigato> thank you!
yuyichao__ has quit [Ping timeout: 240 seconds]
realitix has quit [Quit: Leaving]
<kenaan> rlamy py3.5 ebfa699998d4 /: hg merge default
<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
<kenaan> arigo cpyext-avoid-roundtrip 77686cdbb6fe /pypy/module/cpyext/: merge heads
<kenaan> arigo default 386fcca6c58f /pypy/module/cpyext/: merge heads
yuyichao__ has joined #pypy
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6285 [ronan: force build, py3.5]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
drolando has quit [Ping timeout: 260 seconds]
carljm has joined #pypy
cstratak has left #pypy ["Leaving"]
cstratak has joined #pypy
drolando has joined #pypy
tbodt has joined #pypy
slackyy has joined #pypy
drolando has quit [Ping timeout: 240 seconds]
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…]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6285 [ronan: force build, py3.5]
yuyichao has joined #pypy
yuyichao__ has quit [Ping timeout: 246 seconds]
tbodt has joined #pypy
<arigato> yay cpython optmization!
<arigato> don't write: f(None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None)
<arigato> instead, write: f(*(None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None))
<arigato> it's actually quite faster
tnorth has joined #pypy
<cfbolz> arigato: waaaaa
<cfbolz> Why?
<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!]
marr has joined #pypy
nunatak has joined #pypy
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/3338 [danchr: build my branch ??with embedding forced, py3.5-mac-embedding]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/3338 [danchr: build my branch ??with embedding forced, py3.5-mac-embedding]
ronan has joined #pypy
mattip has joined #pypy
amaury_ has quit [Ping timeout: 248 seconds]
mattip has quit [Ping timeout: 246 seconds]
<agronholm> does pypy have functions that have positional-only arguments, like CPython does?
amaury_ has joined #pypy
antocuni has joined #pypy
marky1991 has quit [Ping timeout: 255 seconds]
<ronan> agronholm: IIRC, no, all arguments have names
<agronholm> ok, thanks
marky1991 has joined #pypy
nunatak 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]
TurBoss has quit [Quit: issued !quit command]
antocuni has quit [Ping timeout: 240 seconds]
amaury_ has quit [Ping timeout: 258 seconds]
tbodt has joined #pypy
tbodt has quit [Client Quit]
marky1991 has quit [Read error: Connection reset by peer]
marky1991 has joined #pypy
tbodt has joined #pypy
marky1991 has quit [Read error: Connection reset by peer]
marky1991 has joined #pypy
ronan has quit [Ping timeout: 255 seconds]
john51 has quit [Ping timeout: 252 seconds]
ronan has joined #pypy
adamholmberg has quit [Remote host closed the connection]
john51 has joined #pypy
adamholmberg has joined #pypy
john51 has quit [Read error: Connection reset by peer]
john51 has joined #pypy
adamholmberg has quit [Ping timeout: 240 seconds]
adamholmberg has joined #pypy
lritter has quit [Quit: Leaving]
mattip has joined #pypy
marky1991 has quit [Ping timeout: 240 seconds]
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
<mattip> benchmark by a user of pypy vs cython, not really sure what is being measured but it seems pypy is 2x faster
<kenaan> rlamy default 0aec7a27d5ba /rpython/rlib/: Fix handling of high surrogates in unicode_encode_utf_32
drolando has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marr has quit [Ping timeout: 255 seconds]
drolando 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
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<kenaan> rlamy py3.5 be539692837f /: hg merge default
<kenaan> rlamy py3.5 86bb8174a0e9 /pypy/module/_codecs/test/test_codecs.py: Test behaviour of lone surrogates with non-default error handlers
yuyichao has quit [Ping timeout: 255 seconds]