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 | the pypy angle is to shrug and copy the implementation of CPython as closely as possible, and staying out of design decisions
jcea has joined #pypy
Julian has joined #pypy
lesshaste has joined #pypy
leshaste has quit [Ping timeout: 268 seconds]
Julian has quit [Quit: leaving]
jcea has quit [Ping timeout: 260 seconds]
pbsds has quit [Quit: The Lounge - https://thelounge.chat]
pbsds has joined #pypy
[Arfrever] has quit [Ping timeout: 252 seconds]
[Arfrever] has joined #pypy
archie1234132 has quit [Ping timeout: 260 seconds]
archie1234132 has joined #pypy
lesshaste has quit [Remote host closed the connection]
lesshaste has joined #pypy
derpydoo has quit [Ping timeout: 240 seconds]
<arigato> archie1234132: re threads: I've tried hard to make sure callbacks work with threads, can you somehow reduce the problem and post a bug report?
<arigato> archie1234132: re ptr-to-ptr-to-function: it's like passing a ptr-to-integer, you can't just say ffi.addressof(5). You need to do something like p=ffi.new("int[1]", 5). In your case, p=ffi.new("mycallback_t[1]", lib.mycallback_python)
<arigato> then you pass p, and after the call you can read the possibly modified value from p[0]
<arigato> sorry, I mean: ffi.new("int[1]", [5]) or ffi.new("mycallback_t[1]", [lib.mycallback_python])
<arigato> or, as a shortcut if you don't need to read any modified value, you can call directly f with argument [lib.mycallback_python], I think (to make an array of 1 mycallback_t)
xcm_ has quit [Remote host closed the connection]
xcm has joined #pypy
idnar has quit [Ping timeout: 246 seconds]
krono has quit [Ping timeout: 256 seconds]
fijal has quit [Ping timeout: 268 seconds]
infernix has quit [Ping timeout: 268 seconds]
fijal has joined #pypy
krono has joined #pypy
idnar has joined #pypy
glyph has quit [Ping timeout: 246 seconds]
glyph has joined #pypy
fijal has quit [Ping timeout: 246 seconds]
arigato has quit [Quit: ZNC - http://znc.in]
arigato has joined #pypy
ronan has quit [Ping timeout: 260 seconds]
fish1 has quit [Ping timeout: 260 seconds]
fish1 has joined #pypy
fijal has joined #pypy
infernix has joined #pypy
ronan has joined #pypy
Alex_Gaynor has quit [Ping timeout: 260 seconds]
Alex_Gaynor has joined #pypy
andrewsm1dina has quit [Ping timeout: 268 seconds]
andrewsmedina has joined #pypy
derpydoo has joined #pypy
jcea has joined #pypy
pbsds has quit [Quit: The Lounge - https://thelounge.chat]
pbsds has joined #pypy
Dejan has joined #pypy
nimaje has quit [Quit: WeeChat 4.1.2]
nimaje has joined #pypy
nimaje has quit [Client Quit]
nimaje has joined #pypy
archie1234132 has quit [Remote host closed the connection]
Dejan has quit [Quit: Leaving]
derpydoo has quit [Ping timeout: 246 seconds]