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
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
lritter has quit [Quit: Leaving]
Rhy0lite has quit [Ping timeout: 246 seconds]
Rhy0lite has joined #pypy
Rhy0lite has quit [Quit: This computer has gone to sleep]
speeder39_ has quit [Quit: Connection closed for inactivity]
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
dddddd has quit [Remote host closed the connection]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
rindolf has joined #pypy
rindolf has quit [Remote host closed the connection]
<cfbolz>
Cool, it seems Firefox is deduplicating strings when copying them out of the nursery
speeder39_ has quit [Quit: Connection closed for inactivity]
speeder39_ has joined #pypy
YannickJadoul has quit [Remote host closed the connection]
YannickJadoul has joined #pypy
gsnedders has quit [Ping timeout: 256 seconds]
gsnedders has joined #pypy
YannickJadoul has quit [Quit: Leaving]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
otisolsen70 has joined #pypy
otisolsen70 has quit [Quit: Leaving]
<mattip>
is there a reason we do not expose f_back in the PyFrameObject ? I realize the frame stack may be very different from CPython's,
<mattip>
but having it missing causes SIP (needed for PyQT, needed for matplotlib on conda) to fail to build
otisolsen70 has joined #pypy
oberstet__ has quit [Remote host closed the connection]
<mattip>
matplotlib on conda split into two packages, the base one works with PyPy (no PyQT)
<cfbolz>
mattip: I suspect that it's simply that nobody wanted to think about the ramifications of forcing virtualized frames in the middle of cpyext
<mattip>
well, we have averted the problem for now, as matplotlib-base does not need PyQT so we do not need SIP (yet)
<mattip>
I think the reasonable solution is to remove frame probing from SIP on PyPy, but that will mean talking to riverbankcomputing
<cfbolz>
mattip: I have the vague memory that christian tismer works on that nowadays
<cfbolz>
he's one of the pypy founders
<mattip>
right, he was doing alot of windows stuff
<mattip>
so far I discovered that PyQT wants PyType_GetFlag and PyType_GetSlot, both of which were part of the python 3.4 C-API but we never noticed
<mattip>
.. and PyCFunction_Call. With those 3 PyQt builds
BPL has quit [Quit: Leaving]
DanielHolth has joined #pypy
ofir has joined #pypy
<ofir>
Hi, I have implemented C python bindings for my libfoo.so via cffi and I'm considering to use cppyy as means to reducing the boilerplate associated with C APIs.
<ofir>
I would like to know what are the arguments against using cppyy
speeder39_ has quit [Quit: Connection closed for inactivity]
<ofir>
i.e. are there gotcha's / common pitfalls that would justify sticking to a "simple" C API (and ABI)?