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
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6694 [ronan: force build, py3tests]
marr has quit [Ping timeout: 240 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<kenaan> rlamy py3tests b29602856871 /pypy/module/: Fix token module
tbodt has joined #pypy
<kenaan> rlamy py3tests 9b98fe93055e /pypy/module/_cffi_backend/: fix _cffi_backend
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<kenaan> rlamy py3tests 1c10c2181fc3 /pypy/objspace/fake/checkmodule.py: fix checkmodule
jcea has quit [Quit: jcea]
<kenaan> rlamy py3tests e388019b5e34 /pypy/module/cmath/interp_cmath.py: fix cmath
tbodt has joined #pypy
ronan has quit [Remote host closed the connection]
ronan__ has quit [Ping timeout: 256 seconds]
ronan__ has joined #pypy
adamwen82923233 has joined #pypy
adamwen82923233 has quit [Client Quit]
dddddd has quit [Read error: Connection reset by peer]
forgottenone has joined #pypy
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5419 [ronan: force build, py3tests]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5419 [ronan: force build, py3tests]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6696 [ronan: force build, py3tests]
adamwen82923233 has joined #pypy
adamwen82923233 has quit [Client Quit]
marky1991 has joined #pypy
marky1991 has quit [Ping timeout: 240 seconds]
ronan__ has quit [Ping timeout: 256 seconds]
marky1991 has joined #pypy
marky1991 has quit [Read error: Connection reset by peer]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6696 [ronan: force build, py3tests]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mrka4ka4 has joined #pypy
speeder39 has joined #pypy
tbodt has joined #pypy
forgottenone has quit [Ping timeout: 264 seconds]
fryguybob has quit [Read error: Connection reset by peer]
jamesaxl has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
speeder39 has quit [Quit: Connection closed for inactivity]
forgottenone has joined #pypy
michaelgreene has quit [Remote host closed the connection]
michaelgreene has joined #pypy
forgottenone has quit [Ping timeout: 240 seconds]
jacob22__ has joined #pypy
jacob22_ has quit [Ping timeout: 256 seconds]
jaffachief has joined #pypy
lritter has joined #pypy
jaffachief has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
illume has joined #pypy
jaffachief has joined #pypy
antocuni has joined #pypy
jaffachief has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oberstet has joined #pypy
mcyprian has joined #pypy
mcyprian has quit [Client Quit]
marr has joined #pypy
jaffachief has joined #pypy
lapinot has quit [Ping timeout: 256 seconds]
lapinot has joined #pypy
SunDwarf has quit [Ping timeout: 276 seconds]
mwhudson has quit [Ping timeout: 276 seconds]
mrka4ka4 has quit [Read error: No route to host]
mrka4ka4 has joined #pypy
mrka4ka4 has quit [Max SendQ exceeded]
SunDwarf has joined #pypy
mrka4ka4 has joined #pypy
mrka4ka4 has quit [Max SendQ exceeded]
mrka4ka4 has joined #pypy
mrka4ka4 has quit [Max SendQ exceeded]
mrka4ka4 has joined #pypy
mrka4ka4 has quit [Max SendQ exceeded]
mrka4ka4 has joined #pypy
mrka4ka4 has quit [Max SendQ exceeded]
jaffachief has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kenaan> antocuni gc-hook-better-timestamp de012a2f02b6 /rpython/translator/c/funcgen.py: bad me, no cookie; test_debug_print_start_stop_nonconst was broken, and translation as well
jaffachief has joined #pypy
energizer has quit [Ping timeout: 240 seconds]
TheAdversary has joined #pypy
Hasimir has joined #pypy
marr has quit [Ping timeout: 264 seconds]
inhahe__ has joined #pypy
inhahe_ has quit [Ping timeout: 256 seconds]
<kenaan> antocuni gc-hook-better-timestamp 5e1e87b1839e /pypy/module/__pypy__/: expose the new debug_{start,stop} feature also to applevel, just because :)
<kenaan> antocuni gc-hook-better-timestamp f371797f2f7b /pypy/: add a way to know the fastest and the slowest gc-minor/gc-collect-step when we deliver many of ...
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-linux-x86-64/builds/74 [antocuni: force build, gc-hook-better-timestamp]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5420 [antocuni: force build, gc-hook-better-timestamp]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6697 [antocuni: force build, gc-hook-better-timestamp]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/3849 [antocuni: force build, gc-hook-better-timestamp]
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-linux-x86-32/builds/57 [antocuni: force build, gc-hook-better-timestamp]
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-win-x86-32/builds/64 [antocuni: force build, gc-hook-better-timestamp]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/5811 [antocuni: force build, gc-hook-better-timestamp]
<bbot2> Started: http://buildbot.pypy.org/builders/own-win-x86-32/builds/1752 [antocuni: force build, gc-hook-better-timestamp]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/4577 [antocuni: force build, gc-hook-better-timestamp]
antocuni has quit [Ping timeout: 264 seconds]
jcea has joined #pypy
jcea has quit [Quit: jcea]
jcea has joined #pypy
lazka has joined #pypy
Ganwell has joined #pypy
<Ganwell> arigato: Is it possible to translate pypy on one host and c-compile it on another? Theoretical? Practical? What if one host is another architecture? Goal: not needing pypy2 or python2 to bootstrap on the other host.
lazka has quit [Quit: Leaving]
<arigato> Ganwell: roughly only. It works if the two machines are "close enough", for some unspecified definition
<arigato> at some point we could cross-compile for 32-bit ARM on a 32-bit Linux PC
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6697 [antocuni: force build, gc-hook-better-timestamp]
jaffachief has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Ganwell> arigato: assuming we have the same endianness and bits and it still didn't work, patches to make it work would be accepted? I am trying to convince a distro that wants to drop python2 has soon as possible (what ever that means) and therefor is rejecting pypy, that it will be possible to bootstrap without python2. And pypy can be accepted.
<Ganwell> and of course both hosts run some linux.
<Ganwell> and of course if the patches were sane.
<Ganwell> An other approach would be static build I guess.
<Ganwell> I didn't mention the source problem: musl libc.
<arigato> if the problem is that you're using a different libc, then the issue is probably annoying
<arigato> e.g. the value of constants declared in the libc might be different
<arigato> but seriously, if the issue is only that you have no cpython2 to bootstrap anything, then include cpython2 with the build script...
<arigato> it's not like it's going to cost a lot of extra time
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/5811 [antocuni: force build, gc-hook-better-timestamp]
<bbot2> Success: http://buildbot.pypy.org/builders/rpython-linux-x86-64/builds/74 [antocuni: force build, gc-hook-better-timestamp]
antocuni has joined #pypy
lritter has quit [Quit: Leaving]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/3849 [antocuni: force build, gc-hook-better-timestamp]
nanonyme has quit [Ping timeout: 245 seconds]
tazle has quit [Ping timeout: 256 seconds]
nanonyme has joined #pypy
tazle has joined #pypy
<bbot2> Success: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/4577 [antocuni: force build, gc-hook-better-timestamp]
<bbot2> Success: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5420 [antocuni: force build, gc-hook-better-timestamp]
ronan_ has joined #pypy
ronan_ is now known as ronan
dddddd has joined #pypy
jaffachief has joined #pypy
jaffachief has quit [Client Quit]
marky1991 has joined #pypy
jaffachief has joined #pypy
mrka4ka4 has joined #pypy
mrka4ka4 has quit [Max SendQ exceeded]
mrka4ka4 has joined #pypy
mrka4ka4 has quit [Max SendQ exceeded]
mrka4ka4 has joined #pypy
mrka4ka4 has quit [Max SendQ exceeded]
mrka4ka4 has joined #pypy
mrka4ka4 has quit [Max SendQ exceeded]
jaffachief has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mrka4ka4 has joined #pypy
mrka4ka4 has quit [Max SendQ exceeded]
mrka4ka4 has joined #pypy
fryguybob has joined #pypy
mrka4ka4 has quit [Max SendQ exceeded]
jaffachief has joined #pypy
mrka4ka4 has joined #pypy
<Ganwell> arigato: thanks. including cpython2 is a good plan.
<kenaan> antocuni gc-hook-better-timestamp 09308ea0ff83 /pypy/doc/whatsnew-head.rst: fix test_whatsnew
<kenaan> antocuni gc-hook-better-timestamp 042fd84032e6 /: close merged branch
<kenaan> antocuni default e7b972c672e6 /: Merge the gc-hook-better-timestamp branch. It improves gc hooks in two ways: - the duration field is computed u...
<bbot2> Failure: http://buildbot.pypy.org/builders/rpython-linux-x86-32/builds/57 [antocuni: force build, gc-hook-better-timestamp]
<antocuni> uh, I think I broke everything on 32bits :(
raynold has quit [Quit: Connection closed for inactivity]
<kenaan> antocuni default fbffeb3dc383 /rpython/rlib/debug.py: fix llinterp debug_{start,stop} on 32bit
marky1991 has quit [Ping timeout: 260 seconds]
mcyprian has joined #pypy
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
mrka4ka4 has quit [Quit: AndroidIrc Disconnecting]
jaffachief has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jaffachief has joined #pypy
ronan__ has joined #pypy
ronan__ has quit [Remote host closed the connection]
jaffachief has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mcyprian has quit [Remote host closed the connection]
marky1991 has quit [Ping timeout: 240 seconds]
lazka has joined #pypy
tbodt has joined #pypy
illume has quit [Ping timeout: 256 seconds]
energizer has joined #pypy
antocuni has quit [Ping timeout: 256 seconds]
lazka has quit [Quit: Leaving]
Gonsor has joined #pypy
illume has joined #pypy
drolando has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drolando has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
marky1991 has joined #pypy
oberstet has quit [Ping timeout: 240 seconds]
nimaje has quit [Read error: Connection reset by peer]
nimaje has joined #pypy
tbodt has joined #pypy
marky1991 has quit [Ping timeout: 240 seconds]
marky1991 has joined #pypy
raynold has joined #pypy
<_aegis_> is there a way to interrupt a python thread in pypy? like forcing it to throw an exception?
<_aegis_> can I run code when it acquires the gil or anything weird?
<simpson> _aegis_: What are you trying to do and how would you do it in CPython?
<_aegis_> I'm trying to force runaway user code to return
<_aegis_> I have a desktop app, users can load scripts, letting a script run for more than a couple seconds is bad
drolando has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<_aegis_> s/run/block/
<_aegis_> I'm ok with "soft" corruption in the script's own data structures caused by throwing an exception in a bad place as long as the interpreter still works
<_aegis_> latency is a factor and I'd rather not move user scripts into their own process for now
<_aegis_> cpython has https://docs.python.org/2/c-api/init.html#c.PyThreadState_SetAsyncExc
<simpson> Aha, C-API. I'm pretty sure that there's a single correct way to do this but I don't know what it is.
<_aegis_> I'm assuming cpython does it on gil acquire or something
drolando has joined #pypy
<_aegis_> cpyext's PyGILState_Ensure does must_leave = space.threadlocals.try_enter_thread(space)
<_aegis_> dunno if I can access the spaces api from outside rpython?
<bbot2> Failure: http://buildbot.pypy.org/builders/rpython-win-x86-32/builds/64 [antocuni: force build, gc-hook-better-timestamp]
<simpson> I don't know, but I doubt it.
marky1991 has quit [Ping timeout: 256 seconds]
forgottenone has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
marky1991 has joined #pypy
marr has joined #pypy
Evidlo has joined #pypy
<Evidlo> I need to encrypt a string a few million times using this function, but I"m finding it rather slow: https://framagit.org/okhin/pygcrypt/blob/master/pygcrypt/ciphers.py#L100-108
<Evidlo> somebody recommended that I write a loop in a snippet of out-of-line c code to call the encryption function from
<Evidlo> can I still use pygcrypt, or do I have to implement everything to talk to gcrypt myself?
tbodt has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
energizer has quit [Ping timeout: 264 seconds]
marky1991 has quit [Remote host closed the connection]
tbodt has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-win-x86-32/builds/1752 [antocuni: force build, gc-hook-better-timestamp]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
tbodt has quit [Read error: Connection reset by peer]
tbodt has joined #pypy
oberstet has joined #pypy
mattip_ has joined #pypy
mattip_ has quit [Remote host closed the connection]
mwhudson has joined #pypy
mwhudson is now known as Guest20250
Guest20250 is now known as mwhudson_
Gonsor has quit [Read error: Connection reset by peer]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
illume_ has joined #pypy
energizer has joined #pypy
illume has quit [Ping timeout: 265 seconds]
energizer has quit [Remote host closed the connection]
drolando has quit [Quit: Textual IRC Client: www.textualapp.com]
forgottenone has quit [Quit: Konversation terminated!]
antocuni has joined #pypy
ulope has quit [Ping timeout: 246 seconds]
ulope has joined #pypy
mwhudson_ has quit [Ping timeout: 256 seconds]
antocuni has quit [Ping timeout: 256 seconds]
energizer has joined #pypy
energizer has quit [Remote host closed the connection]
energizer has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
energizer has quit [Disconnected by services]
energizer has joined #pypy