cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end ) | use cffi for calling C | if a pep adds a mere 25-30 [C-API] functions or so, it's a drop in the ocean (cough) - Armin
lritter has quit [Ping timeout: 240 seconds]
created has left #pypy ["Leaving"]
CrazyPython has joined #pypy
CrazyPython has quit [Read error: Connection reset by peer]
jacob22 has quit [Read error: Connection reset by peer]
jacob22 has joined #pypy
mattip_ has quit [Ping timeout: 276 seconds]
mattip has joined #pypy
jcea has quit [Remote host closed the connection]
CrazyPython has joined #pypy
CrazyPyt_ has joined #pypy
CrazyPython has quit [Ping timeout: 250 seconds]
jcea has joined #pypy
CrazyPyt_ has quit [Remote host closed the connection]
tsaka__ has quit [Ping timeout: 246 seconds]
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
altendky has quit [Quit: Connection closed for inactivity]
tsaka__ has joined #pypy
tsaka__ has quit [Ping timeout: 268 seconds]
jcea has quit [Quit: jcea]
forgottenone has joined #pypy
dansan has quit [Ping timeout: 268 seconds]
jvesely has quit [Quit: jvesely]
dansan has joined #pypy
_whitelogger has joined #pypy
dansan_ has joined #pypy
dansan has quit [Ping timeout: 265 seconds]
_whitelogger has joined #pypy
forgottenone has joined #pypy
forgottenone has quit [Ping timeout: 276 seconds]
tsaka__ has joined #pypy
forgottenone has joined #pypy
forgottenone has quit [Ping timeout: 268 seconds]
dddddd has quit [Remote host closed the connection]
tsaka__ has quit [Ping timeout: 268 seconds]
dansan_ is now known as dansan
tsaka__ has joined #pypy
Deknos has joined #pypy
commandoline has quit [*.net *.split]
WGH has quit [*.net *.split]
riddle has quit [*.net *.split]
pepesza has quit [*.net *.split]
tbodt has quit [*.net *.split]
alcarithemad has quit [*.net *.split]
atomizer has quit [*.net *.split]
RoadrunnerWMC has quit [*.net *.split]
dstufft has quit [*.net *.split]
pepesza has joined #pypy
commandoline has joined #pypy
WGH has joined #pypy
tbodt has joined #pypy
riddle has joined #pypy
alcarithemad has joined #pypy
RoadrunnerWMC has joined #pypy
atomizer has joined #pypy
dstufft has joined #pypy
dnshane has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
dnshane has joined #pypy
jvesely has joined #pypy
ekaologik has joined #pypy
lritter has joined #pypy
andi- has quit [Remote host closed the connection]
andi- has joined #pypy
altendky has joined #pypy
dddddd has joined #pypy
krono has quit [Quit: Connection closed for inactivity]
<kenaan> Yannick_Jadoul default d3c8d438315b /rpython/rlib/rtime.py: merge backport-decode_timeval_ns-py3.7 into default
lastmikoi has quit [Ping timeout: 252 seconds]
lastmikoi has joined #pypy
created has joined #pypy
<created> Jeez
<created> That's tricky
<created> I did:
<created> struct.data = ffi.new_handle(obj); global_keep_alive.add(struct.data)
<created> And doing ffi.from_handle afterwards caused a crash
<mattip> do you keep obj alive?
<created> I already figured out the issue, I'm just airing it out
<created> And it's not the obj I need to keep alive, it's the handle returned from ffi.new_handle
<created> And I thought I kept it alive by putting it in global_keep_alive
<created> But the trick was that I temporarily stored the handle in struct.data, where struct is a cffi pointer to a struct
<mattip> right, so ffi.new_handle(obj) and struct.data are two different things
<created> So storing the handle in the struct field and getting it back again caused a different handle object equal to the "real" handle to be retrieved, and that's what got added to global_keep_alive
<created> Storing the handle in a temporary variable and adding the temporary variable to global_keep_alive (as well as assigning it to struct.data, where it needed to go) - resolved the issue
<kenaan> mattip default d5e7cbe1eb5f /pypy/module/: fixes for CentOS 6 (manylinux image)
created has left #pypy ["Leaving"]
<kenaan> mattip buildbot a27fd9b3c9f3 /docker/: build newer version of xz for lzma module
<kenaan> mattip buildbot efd944b812ac /docker/install_xz5.sh: add missing file
<kenaan> mattip py3.6 f4a6aa79a6a9 /: merge default into py3.6
<kenaan> mattip py3.6 fe543d1b25df /pypy/doc/whatsnew-pypy3-head.rst: clean out branches left over from merge
CrazyPython has joined #pypy
<kenaan> mattip backport-decode_timeval_ns-py3.7 dddf5797f996 /: close merged branch
<kenaan> mattip default bd2b1a5f595d /: merge closed backport-decode_timeval_ns-py3.7
<kenaan> mattip default 39d8c91deccf /pypy/doc/whatsnew-head.rst: document merged branch
<kenaan> mattip default f0d91b135c1e /pypy/module/pypyjit/test_pypy_c/test_micronumpy.py: 32-bit docker reports platform.machine() == 'i686'
awkwardpenguin has joined #pypy
awkwardpenguin has quit [Remote host closed the connection]
lritter has quit [Ping timeout: 252 seconds]
jvesely has quit [Quit: jvesely]
jvesely has joined #pypy
ekaologik has quit [Quit: https://quassel-irc.org - Komfortabler Chat. Überall.]
awkwardpenguin has joined #pypy
CrazyPython has quit [Remote host closed the connection]
Graypup_ has quit [Quit: ZNC 1.6.1 - http://znc.in]