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
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
jcea has quit [Ping timeout: 264 seconds]
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
<mattip> in the _hpy_universal module, the W_ExtensionFunctionMixin is having problems with an hpyerr function that raises but returns void
<mattip> it seems to work properly in call_noargs: the return value None is converted to 0
<mattip> but in call_o, the same logic fails and the None return value is converted to a random number in h_result, which then fails
<mattip> self.handles.consume(h_result)
<mattip> is there a canonical way to check if the cfuncptr, which is a lltype_ptr, returns lltype.Void?
<mattip> ahh, maybe there is some confusion between returning lltype.Void and rffi.VOIDP
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
Dejan has quit [Quit: Leaving]
<antocuni> mattip: I'm confused
<antocuni> if you are inside call_o, your function MUST return an HPy, else it's not following the correct calling convention
<antocuni> ah, this is a wild guessd but maybe it's an RPython annotation problem? Like, you declare the function correctly, but then it always raises so RPython infers that the return value is "void"
<antocuni> re canonical check: well no, you must statically know the signature of your function; once translated, a function pointer is just a function pointer and you cannot inspect its signature (if I understand the question correctly)
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
slav0nic has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
Dejan has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
<mattip> yeah, I'm confused too. MAybe something to look at during the sprint
<antocuni> 👍
<antocuni> fwiw, from tomorrow I'll be on vacation for two weeks, so I will be less online
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
jcea has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
<mattip> enjoy
Diggsey has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
<mgorny> mattip: how crazy does the idea of defaulting to stripping pypy2.7 down on Gentoo to absolutely minimal subset of stdlib needed to build pypy3?
<mgorny> i'd like to get rid of all the modules that contain known vulnerabilities like mailcap, http- and url-related stuff...
* tumbleweed has recently gone further and bundled cpython2.7 source in our pypy3 source package
<tumbleweed> so we build pypy3 using cpython2.7 on all archs, not pypy2.7
<mattip> sounds reasonale. I think you need subprocess
<mgorny> tumbleweed: i'd love to do the same to cpython2.7 but unfortunately seamonkey still needs it x_x
<mattip> tumbleweed: that is slower but is also what conda does. Except conda provides windows, so that needs a win64-32 windows build
<tumbleweed> I expect we'll remove pypy2.7 soon
jcea has quit [Quit: jcea]
jcea has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
jcea has quit [Ping timeout: 268 seconds]
greedom has joined #pypy
greedom has quit [Remote host closed the connection]
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
greedom has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
greedom has quit [Remote host closed the connection]
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
<mgorny> yay, translation started
<mgorny> i wonder if it'll crash later due to some missing module
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
derpydoo has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
slav0nic has quit [Remote host closed the connection]
<mgorny> * SIZE: 49.81MiB -> 6.75MiB, 3823 -> 670 files
<mgorny> * ------> FILES(-3153) SIZE(-86.45%)
<mgorny> that's what i achieved (that's counting .pyc files)
pbsds has quit [Quit: The Lounge - https://thelounge.chat]
<mgorny> i suppose i could strip it down even more if i wanted to but the goal is to reduce attack surface, not achieve minimum size ;-)
pbsds has joined #pypy
derpydoo has quit [Quit: derpydoo]
jcea has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
pbsds has quit [Ping timeout: 268 seconds]
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy
jcea has quit [Ping timeout: 244 seconds]
jcea has joined #pypy
pbsds has joined #pypy
_0az3 has quit [Remote host closed the connection]
_0az3 has joined #pypy