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
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 ...
<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
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
<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...
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