cfbolz changed the topic of #pypy to: #pypy PyPy, the flexible snake https://pypy.org | IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end and https://libera.irclog.whitequark.org/pypy | insert pithy quote here
fotis has joined #pypy
fotis has quit [Ping timeout: 265 seconds]
stkrdknmibalz has joined #pypy
Atque has quit [Quit: ...]
shlomif has joined #pypy
fotis has joined #pypy
fotis has quit [Ping timeout: 252 seconds]
jacob22_ has quit [Ping timeout: 268 seconds]
otisolsen70 has joined #pypy
amaury has joined #pypy
fotis has joined #pypy
fotis has quit [Ping timeout: 252 seconds]
fotis has joined #pypy
_0az has joined #pypy
fotis has quit [Ping timeout: 268 seconds]
<shlomif> cfbolz: hi again! did you take a look at https://github.com/shlomif/pypy3-code--slowdown yet?
fotis has joined #pypy
amaury has quit [Ping timeout: 252 seconds]
Atque has joined #pypy
amaury has joined #pypy
fotis has quit [Ping timeout: 260 seconds]
<ctismer> antocuni: I have successfully built an lldebug PyPy.
<ctismer> antocuni: But where can I find the generated sources? I would like to have them in lldb.
<ctismer> are they thrown away by default?
<ronan> ctismer: the sources are in /tmp/ somewhere
<ronan> something like /tmp/usession-py3.7-0/testing_1
<ctismer> ronan: Ok, I expected that but did not find the right files, yet. Good to know that they are not cleared out, thanks!
fotis has joined #pypy
<ctismer> ronan: now I find everything, happy 😃
fotis has quit [Ping timeout: 268 seconds]
Atque has quit [Quit: ...]
fotis has joined #pypy
<cfbolz> ctismer: it's fun to have you back Christian :-)
fotis has quit [Ping timeout: 260 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 265 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 252 seconds]
otisolsen70_ has joined #pypy
otisolsen70_ has quit [Remote host closed the connection]
otisolsen70 has quit [Ping timeout: 268 seconds]
<ctismer> cfbolz: for me it is fun, too! :-) Coming from a different side, it still feels very familiar.
ronan__ has joined #pypy
fotis has joined #pypy
ronan has quit [Ping timeout: 260 seconds]
otisolsen70 has joined #pypy
fotis has quit [Ping timeout: 252 seconds]
shlomif is now known as rindolf
slav0nic has joined #pypy
ronan__ is now known as ronan
<antocuni> ctismer: I'm glad that you have already found them
<antocuni> but note that the location hasn't changed since the last time you hacked on pypy 😛
<ctismer> antocuni: yes, but now it's macOS, and the temp folders are really crowded there. I'm actually amused how much has stayed the same. Even the mandelbrot is there since 18 years. A great project with no heady restructuring and wonderful success (and myriads of branches, I have to say).
<ctismer> antocuni: I am not used to lldb, and I saw nothing when saying "list", so wondered what to expect.
otisolsen70 has quit [Read error: Connection reset by peer]
stkrdknmibalz has quit [Quit: WeeChat 3.0.1]
fotis has joined #pypy
fotis has quit [Ping timeout: 260 seconds]
vstinner has quit [Quit: leaving]
stkrdknmibalz has joined #pypy
Dejan has quit [Quit: Leaving]
fotis has joined #pypy
rindolf has quit [Ping timeout: 268 seconds]
fotis has quit [Ping timeout: 268 seconds]
Tarmik has joined #pypy
<Tarmik> HI ! Anyone here ?
<Tarmik> Does anyone knows if I want to exchange between C++ and python some unique id on tasklets, if I'm using ffi.new_handle(tasklet) and afterwards ffi.from_hanlde(handle) - then second call will eventually crash. But I'm curious how to keep reference to object alive ?
<cfbolz> Tarmik: store it in some global dict for example?
greedom has joined #pypy
<Tarmik> I have tried , but it did not help.
fotis has joined #pypy
<Tarmik> I have added to cffi embedding_init_code / list.
greedom has quit [Remote host closed the connection]
<Tarmik> -> bootstrap_py( C:\PrototypingQuick\Python_8_2021\pypy-nightly\test\test2.py )
<Tarmik> -> test2
<Tarmik> 1
<Tarmik> taskletIsAlive ->
<Tarmik> 0 ) <tasklet[, 1]> True
<Tarmik> 1 ) <tasklet[, 2]> True
<Tarmik> Exception ignored from cffi callback <function taskletIsAlive at 0x00000219cf0a8a20>
<Tarmik> Traceback (most recent call last):
<Tarmik> File "<init code for 'cffiplugin'>", line 43, in taskletIsAlive
<Tarmik> SystemError: ffi.from_handle(): dead or bogus object handle
<Tarmik> @ffi.def_extern()
<Tarmik> def taskletIsAlive(th):
<Tarmik> print('taskletIsAlive -> ')
<Tarmik> for i in range(len(tasks)):
<Tarmik> print(i, ') ', tasks[i], tasks[i].alive)
<Tarmik> t = ffi.from_handle(th)
<Tarmik> print('taskletIsAlive: ', t, ')')
<Tarmik> r = t.is_alive
<Tarmik> print('taskletIsAlive(', t, 'isAlive:', r, ')')
<Tarmik> print('<- taskletIsAlive')
<Tarmik> return r
<Tarmik> crashes in ffi.from_handle.
greedom has joined #pypy
<cfbolz> Tarmik: please use a pastebin
<cfbolz> eg paste.ubuntu.com/
<Tarmik> Never mind, I think I have managed to sort this out. I've used t._task_id to return task id, and loopup procedure over stackless._squeue - then can find the task and ask if it's alive.
<cfbolz> cool
amauryfa has joined #pypy
amaury has quit [Ping timeout: 252 seconds]
amauryfa has quit [Ping timeout: 260 seconds]
Tarmik has quit [Quit: Connection closed]
fotis has quit [Ping timeout: 252 seconds]
fotis has joined #pypy
amaury has joined #pypy
slav0nic has quit [Remote host closed the connection]
greedom has quit [Remote host closed the connection]
fotis has quit [Ping timeout: 265 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 252 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 252 seconds]
amaury has quit [Ping timeout: 268 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 265 seconds]
Guest45 has joined #pypy
Guest45 has quit [Client Quit]
fotis has joined #pypy
fotis has quit [Ping timeout: 268 seconds]
Atque has joined #pypy