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
Ai9zO5AP has quit [Quit: WeeChat 2.5]
jcea has quit [Quit: jcea]
BPL has quit [Quit: Leaving]
xcm has quit [Remote host closed the connection]
firespeaker has quit [Quit: Leaving.]
xcm has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
lritter has joined #pypy
jvesely has joined #pypy
_whitelogger has joined #pypy
lritter has quit [Ping timeout: 240 seconds]
lritter has joined #pypy
ionelmc has quit [Quit: Connection closed for inactivity]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
_whitelogger has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
<cfbolz> mattip: the segfault is fixed by my commit, I think. (I uncovered another kind of bug in the process, but that's just bad error messages)
<mattip> cool, so merge to default, merge to py3.6, test?
<mattip> I can do that
<cfbolz> mattip: if you have time, that would be great
<mattip> I guess I could just cherry-pick the commit to the py3.6 release and test that
oberstet has joined #pypy
<cfbolz> mattip: it's a PyPy2 bug as well
<cfbolz> With a small variation you get the same segfault
<cfbolz> But yes, cherry picking sounds fine
<mattip> if the local translation works I will merge it properly
<mattip> cfbolz: set.__init__(0) give me "TypeError: 'internal subclass of W_BaseSetObject' object expected, got 'int' instead"
<mattip> so it works but I will try to clean up the error message a bit
<mattip> thanks for doing the first 80%
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
<cfbolz> mattip: yes, that was the second problem I meant
<cfbolz> It's not trivial to fix this
<cfbolz> Because W_BaseSetObject has two subclasses, one for set and one for frozenset
<mattip> got it
niso8 has joined #pypy
<niso8> Hi, which big projects (open source will be best, so i can take a look on their code) uses pypy? Thank you
<mattip> niso8: do you mean pypy the python interpreter? Then we should support all the big python projects out-of-the-box
<niso8> Yes, i know that supported, But i'm searching for projects who actually uses pypy
<mattip> If you mean RPython the language used to build PyPy, then here is a list https://rpython.readthedocs.io/en/latest/examples.html
<mattip> the only type of if cpython: ... elif pypy ... we would encourage would be to use cffi instead of the python c-api
<mattip> so you can look for cffi variants of projects
<mattip> if you mean companies that use pypy, well, we would like to know as well
<niso8> I mean pypy as you mentioned, not Rpython.
jvesely has quit [Quit: jvesely]
<cfbolz> niso8: people mostly don't tell us when they use pypy
<mattip> cfbolz: adding an __init__ to W_SetObject, W_FrozensetObject seems to make the error report the correct type
<kenaan> mattip fix-descrmismatch-crash 5aa0e1eef0dd /pypy/: improve error message
<mattip> are there more built-ins with that problem?
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
antocuni has joined #pypy
<mattip> it seems not, modifying the original issue's script to print the exception and grep W_ shows only W_BaseSetObject
<cfbolz> mattip: it's not just init though
<cfbolz> It's every method of set and frozenzet, potentially
<cfbolz> So a bit of a mess
<mattip> yes, set.difference.im_func(0) does not crash on default, but it does print "'internal subclass of W_BaseSetObject' object expected, got 'int' instead"
<cfbolz> mattip: yes, I think the crashes are fixed
<cfbolz> but the error messages are a problem
<mattip> that is before the fix
<cfbolz> mattip: right
<cfbolz> the crash is only for methods with exactly one argument
<arigato> note that in my humble opinion, this segfault is not essentially dangerous because it's always accessing NULL
<arigato> just saying, the fix doesn't absolutely need to be included in the release, which we'll never do if we keep delaying it
<mattip> heh
<mattip> no one complained about the rc2
<mattip> the lzma fixes can wait for the next release, as can this bug I guess
<arigato> +1
<mattip> any other votes?
Ai9zO5AP has joined #pypy
<cfbolz> mattip: +1 on releasing
antocuni has quit [Ping timeout: 265 seconds]
<mattip> ok, tomorrow evening I will have some time
dddddd has quit [Remote host closed the connection]
gracinet has joined #pypy
<cfbolz> mattip: there are more classes with similar problems: W_AbstractBytesObject, W_WeakrefBase, W_InputOutputType
lritter has quit [Ping timeout: 240 seconds]
<mattip> it seems to be sufficient to replace the interp*2app(W_BaseClass...) call with interp*2app(W_SubClass...)
<mattip> in the W_SubClass 's TypeDef
<mattip> then we could remove wrappable_class_name()
jvesely has joined #pypy
<cfbolz> mattip: yes, something like that
niso8 has quit [Ping timeout: 260 seconds]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
CrazyPython has joined #pypy
CrazyPython has quit [Ping timeout: 245 seconds]
BPL has joined #pypy
antocuni has joined #pypy
Ai9zO5AP has quit [Ping timeout: 240 seconds]
hodge has joined #pypy
Hodgestar has quit [*.net *.split]
Ai9zO5AP has joined #pypy
niso68 has joined #pypy
niso68 has quit [Remote host closed the connection]
gracinet has left #pypy [#pypy]
gracinet has joined #pypy
dddddd has joined #pypy
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
antocuni has quit [Ping timeout: 240 seconds]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
oberstet has quit [Ping timeout: 264 seconds]
speeder39_ has joined #pypy
i9zO5AP has joined #pypy
Ai9zO5AP has quit [Ping timeout: 264 seconds]
forgottenone has joined #pypy
jacob22 has joined #pypy
CrazyPython has joined #pypy
CrazyPython has quit [Client Quit]
BPL has quit [Quit: Leaving]
CrazyPython has joined #pypy
forgottenone has quit [Quit: Konversation terminated!]
CrazyPython has quit [Read error: Connection reset by peer]
i9zO5AP has quit [Ping timeout: 240 seconds]
i9zO5AP has joined #pypy
firespeaker has joined #pypy
CrazyPython has joined #pypy
speeder39_ has quit [Quit: Connection closed for inactivity]
CrazyPython has quit [Read error: Connection reset by peer]
i9zO5AP has quit [Quit: WeeChat 2.5]
jcea has joined #pypy
Ai9zO5AP has joined #pypy
speeder39_ has joined #pypy