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 [Quit: Leaving]
forgottenone has joined #pypy
oberstet has joined #pypy
glyph has quit [Quit: End of line.]
glyph has joined #pypy
* arigo debugs completely impossible problems
<arigo> aaaah got it. you just have to complain about it after 30 minutes and it becomes obvious
<mattip> :)
<arigo> time to revert all these debug prints that were never printing anything
jacob22 has quit [Read error: Connection reset by peer]
jacob22 has joined #pypy
<arigo> I'll categorize 'hypothesis' as something "maybe great but lots of work to get started"
<arigo> I've got a segfault in cffi on linux now
mattip_ has joined #pypy
mattip has quit [Ping timeout: 258 seconds]
mattip_ is now known as mattip
<mattip> hypothesis is great for testing something like strings or complex numbers
<mattip> but it seems trying to generalize it to other things get quickly harder than just pytest.paramtrize
<arigo> on the other hand, the current segfault seems to occur only for a very complicated function signature
<arigo> no, it seems we get a crash if we call via libffi a function that returns a struct, and the struct contains an "unsigned char" followed by a "long double"
glyph_ has joined #pypy
riddle has quit [Disconnected by services]
Cheery_ has joined #pypy
riddle has joined #pypy
[Arfreve1] has joined #pypy
glyph has quit [*.net *.split]
catern has quit [*.net *.split]
[Arfrever] has quit [*.net *.split]
Cheery has quit [*.net *.split]
glyph_ is now known as glyph
catern has joined #pypy
Cheery_ has quit [Quit: leaving]
Cheery has joined #pypy
[Arfreve1] has quit [Quit: leaving]
Rhy0lite has joined #pypy
[Arfrever] has joined #pypy
forgottenone has quit [Quit: Konversation terminated!]
forgottenone has joined #pypy
forgottenone has quit [Client Quit]
lritter has joined #pypy
BPL has joined #pypy
forgottenone has joined #pypy
forgottenone has quit [Quit: Konversation terminated!]
forgottenone has joined #pypy
forgottenone has quit [Client Quit]
<cfbolz> arigo: if you debug a segfault with hypothesis there is a hack to make it still successfully shrink the failing test case
<cfbolz> running the segfaulting part in a subprocess to turn it into a regular failure for hypothesis
<cfbolz> then it'll happily minimize the problem
forgottenone has joined #pypy
<Hodgestar> cfbolz: That is a pretty awesome feature.
<cfbolz> I used it a lot to minimize segfaults in a c library I wrote last year, tested with cffi, pytest + hypothesis
<cfbolz> Maybe I should blog about that
agates[m] has quit [Quit: Idle for 30+ days]
Taggnostr has quit [Remote host closed the connection]
Taggnostr has joined #pypy
lazka has quit [Quit: Ping timeout (120 seconds)]
lazka has joined #pypy
BPL has quit [Quit: Leaving]
BPL has joined #pypy
speeder39_ has joined #pypy
forgottenone has quit [Quit: Konversation terminated!]
oberstet has quit [Remote host closed the connection]
BPL has quit [Quit: Leaving]