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 | Matti: I made a bit of progress, the tests now only segfault towards the end
<Hodgestar> mattip: Welcome back.
<Hodgestar> mattip: We missed you at the sprint. I think both calls went really well.
<Hodgestar> mattip: Maybe docutil needs pinning? Or at least that's the only package other than sphinx that I see in the traceback.
epony has quit [Ping timeout: 252 seconds]
<mattip> I think documentation is updating now. Sorry for all the commits to get it right.
epony has joined #pypy
otisolsen70 has joined #pypy
Atque has quit [Ping timeout: 258 seconds]
Atque has joined #pypy
Atque has quit [Remote host closed the connection]
Atque has joined #pypy
Atque has quit [Ping timeout: 258 seconds]
Atque has joined #pypy
<mattip> on the hpy-0.0.4 branch, the last commit synced an upstream test that calling pt = mod.FakeArray() will create the c-struct
<mattip> so __new__ for FakeArray needs to go through interp_type._create_instance
<mattip> but I am not sure how to override the default descr__new__ for W_HPyTypeObject
<mattip> one way would be to pre-load an app-level __new__ into the class __dict__, which could be overloaded if a tp_new slot is filled
<mattip> but how can I wrap a rpython-level function and put it in the __dict__?
<mattip> interp2app() needs to be done in a TypeDef, and since W_HPyTypeObject inherits from W_TypeObject setting a TypeDef is tricky
<mattip> this problem is causing a segfault in test_slots.py since the result of mod.FakeArray() is not a W_HPyOjbect, so HPy_AsStruct fails and returns None (NULL), which crashes
dmalcolm__ has joined #pypy
dmalcolm_ has quit [Ping timeout: 268 seconds]
lritter has joined #pypy
epony has quit [Remote host closed the connection]
epony has joined #pypy
lritter has quit [Quit: Leaving]
Atque has quit [Ping timeout: 258 seconds]
Atque has joined #pypy
Atque has quit [Remote host closed the connection]
Atque has joined #pypy
otisolsen70 has quit [Quit: Leaving]
Atque has quit [Ping timeout: 258 seconds]
Atque has joined #pypy