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 | hacking on TLS is fun, way more fun than arguing over petty shit, turns out
greedom has quit [Remote host closed the connection]
<catern> is there a way to list all the structs that are defined in an ffi/lib object? this header has a lot of different structs and I want to do some introspection to make them easier to deal with
<mattip> dir(lib) ?
greedom has joined #pypy
greedom has quit [Remote host closed the connection]
greedom has joined #pypy
<cfbolz> arigo: help!
<cfbolz> arigo: I have an extremely weird JIT bug that looks like a finally is skipped in a relatively complicated program (running pypy tests on pypy)
<cfbolz> arigo: I tried to describe everything I found out in this commit message: https://foss.heptapod.net/pypy/pypy/-/commit/0d762269b18aeb63613198bb8704fea4a197c2e3
Atque has joined #pypy
greedom has quit []
<catern> mattip: lib only lists defines, not structs/types
<catern> (afaict)
<mattip> but I couldn't get ffi.getctype(ffi.list_types()[1][0]) to work
<catern> mattip: wow I completely missed that method list_types, thanks! that's perfect!
<mattip> catern: if you have a complete snippet maybe you could make a PR to the docs
<mattip> I think it is a common desire
<mattip> to be able to print some definition of structs
greedom has joined #pypy
<catern> well - list_types does exactly what I want - there's not much more to PR (it worked fine with ffi.new for me)
Julian has joined #pypy
greedom has quit [Ping timeout: 260 seconds]
greedom has joined #pypy
greedom has quit [Read error: No route to host]
greedom has joined #pypy
greedom has quit [Read error: No route to host]
Julian has quit [Ping timeout: 268 seconds]
Julian has joined #pypy
greedom has joined #pypy
Julian has quit [Ping timeout: 268 seconds]
amauryfa has joined #pypy
Julian has joined #pypy
Jose_ has joined #pypy
greedom has quit []
Atque has quit [Quit: ...]
<mjacob> arigo: so far i saw the "cannot be rendered as a plain raw address" error only with bytearray. at some point i planned to make a raw memory-backed version of bytearray, but for that i would need some help (maybe at the next sprint, whenever that will be?)
<mjacob> arigo: but a general solution would be very nice
Julian has quit [Quit: leaving]
Jose_ has quit [Quit: Leaving]