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
YannickJadoul has quit [Quit: Leaving]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
i9zO5AP has joined #pypy
Ai9zO5AP has quit [Ping timeout: 240 seconds]
jcea has quit [Quit: jcea]
dddddd has quit [Ping timeout: 258 seconds]
andi- has quit [Remote host closed the connection]
andi- has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
i9zO5AP has quit [Quit: WeeChat 2.5]
lritter has joined #pypy
YannickJadoul has joined #pypy
jvesely has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
adamholmberg has joined #pypy
dddddd has joined #pypy
Rhy0lite has joined #pypy
<kenaan> cfbolz py3.6 23754465c171 /pypy/interpreter/astcompiler/astbuilder.py: typo
<tos9> (more simple CFFI) -- what's the right way to handle supporting multiple versions of a library -- specifically structs, where there are new fields on newer versions, and I want to expose those when present
<tos9> there's nothing like a preprocessor within cdef right
<tos9> and if I use ... the fields will be opaque
<glyph> tos9: if I had to do this, I'd use accessors that do something conditional in their implementation
Ai9zO5AP has joined #pypy
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
<tos9> glyph: hm, trying to make sure I understand the suggestion
<tos9> I *think* I need to conditionally assemble the string I send to cdef -- because if not, I'll either blow up asking for fields that don't exist in older versions, or not expose fields that I want to see in newer ones
<tos9> by "accessors" you mean something once I've already got my python version of the library right (i.e. after calling ffi.compile)?
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
pepesza has joined #pypy
adamholmberg has quit [Ping timeout: 260 seconds]
adamholmberg has joined #pypy
micisuta has joined #pypy
jvesely has quit [Quit: jvesely]
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
rubdos has quit [Quit: WeeChat 2.4]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
Ai9zO5AP has quit [Read error: Connection reset by peer]
Ai9zO5AP has joined #pypy
i9zO5AP has joined #pypy
Ai9zO5AP has quit [Ping timeout: 260 seconds]
xcm has quit [Quit: WeeChat 2.5]
xcm has joined #pypy
Rhy0lite has quit [Quit: Leaving]
micisuta1 has joined #pypy
micisuta has quit [Ping timeout: 258 seconds]
micisuta1 is now known as micisuta
lritter has quit [Quit: Leaving]
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
rubdos has joined #pypy
micisuta has quit [Read error: Connection reset by peer]
micisuta has joined #pypy
kipras has joined #pypy
kipras has quit [Read error: Connection reset by peer]
micisuta1 has joined #pypy
micisuta has quit [Ping timeout: 260 seconds]
micisuta1 is now known as micisuta
micisuta has quit [Ping timeout: 258 seconds]
micisuta has joined #pypy
jcea has joined #pypy
jcea has quit [Ping timeout: 248 seconds]
tazle___ has joined #pypy
tazle has quit [Ping timeout: 248 seconds]