arigato 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 | mac OS and Fedora are not Windows
<xorAxAx> any idea why http://files.alexanderweb.de/builtin_exception_test.patch fails? this breaks pyrolog currently (translate, enter ^D and see a fatal abort)
<bbot2> Failure: http://buildbot.pypy.org/builders/rpython-linux-x86-32/builds/130 [mattip: force build, release-pypy3.6-7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-linux-x86-32/builds/131 [ronan: force build, 35windowsfixes]
mattip__ has joined #pypy
mattip has quit [Ping timeout: 246 seconds]
ronan has quit [Ping timeout: 245 seconds]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5993 [ronan: force build, 35windowsfixes]
<kenaan> mjacob default 130e45a48a66 /pypy/module/zlib/interp_zlib.py: Rename stream -> w_stream.
<kenaan> mjacob default c5c3ad13d149 /pypy/module/zlib/interp_zlib.py: Initialize rzlib stream in factory function. This should fix translation.
kipras has quit [Read error: Connection reset by peer]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/4209 [ronan: force build, 35windowsfixes]
<bbot2> Failure: http://buildbot.pypy.org/builders/rpython-linux-x86-64/builds/143 [ronan: force build, 35windowsfixes]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/6267 [mattip: force build, release-pypy3.6-7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/6268 [ronan: force build, 35windowsfixes]
<kenaan> mjacob default 1a274c144a73 /rpython/rlib/rgc.py: Raise ValueError in nonmoving_raw_ptr_for_resizable_list() if running on RevDB. On RevDB, raw and GC'ed memory mu...
<kenaan> mjacob py3.5 4a4b466ea459 /: hg merge default
jcea has quit [Ping timeout: 272 seconds]
<mjacob> arigato: the issue is fixed! things like ffi.from_buffer() are a bit useless now, but i don't think that it worked correctly before anyway.
ssbr has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7266 [ronan: force build, 35windowsfixes]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-s390x/builds/1201 [mattip: force build, release-pypy3.6-7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/rpython-linux-x86-32/builds/131 [ronan: force build, 35windowsfixes]
ronan has joined #pypy
ronan has quit [Ping timeout: 245 seconds]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
mattip__ has quit [Remote host closed the connection]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/4396 [mattip: force build, release-pypy3.5-7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/4397 [mattip: force build, release-pypy3.6-7.x]
_whitelogger has joined #pypy
dddddd has quit [Remote host closed the connection]
agronholm has quit [Ping timeout: 250 seconds]
agronholm has joined #pypy
jacob22__ has quit [Remote host closed the connection]
_whitelogger has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-win-x86-32/builds/1962 [mattip: force build, release-pypy3.6-7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-win-x86-32/builds/1963 [ronan: force build, 35windowsfixes]
moei has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/6268 [ronan: force build, 35windowsfixes]
themsay has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
mattip__ has joined #pypy
mattip__ has quit [Client Quit]
mattip has joined #pypy
xcm is now known as Guest57642
Guest57642 has quit [Killed (cherryh.freenode.net (Nickname regained by services))]
xcm has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-win-x86-32/builds/1961 [mattip: force build, release-pypy3.5-7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5997 [mattip: force build, unicode-utf8]
<cfbolz> I'm going to be a bit late, sorry
<arigato> just woke up, so... me too
themsay has quit [Ping timeout: 250 seconds]
<kenaan> mattip default 236bea4de5e1 /pypy/module/zlib/interp_zlib.py: typo in c5c3ad13d149 ?
<arigato> mattip: no
<arigato> the problem was that "stream = None" as default argument value
<arigato> it should have been "stream = rzlib.null_stream"
<arigato> I'm pretty sure your changes break all the tests :-)
<mattip> ooopps
<kenaan> mattip default 3935d273ac91 /pypy/module/zlib/interp_zlib.py: Backed out changeset: 236bea4de5e1
<mattip> I was trying to blindly fix the three failing tests on default
<mjacob> mattip: have a look at the hackmd
<mjacob> i described how to fix the tests
<mjacob> i'm also going to be late... let's do the break day today? ;)
<tos9> mattip / mjacob: also looking now... not sure I understand the hackmd notes yet or how to read buildbot :)
mattip has quit [Remote host closed the connection]
<mjacob> tos9: the app-level test is easy
<mjacob> do you remember what you did in 51b646896e2?
<tos9> I think one of those (the segfault) is probably easy to fix, there's a conditional missing from Compressor's copy that's in Decompressor
<mjacob> which conditional do you mean?
<tos9> mjacob: Decompressor's copy does if not self.stream: raise zlib_error(space, "decompressor object already flushed") before it tries to call inflateCopy
<tos9> (which was something armin noticed we needed to do)
<tos9> But compressor doesn't do that
<tos9> what's the equivalent of git show so I can see what that revision is
<xorAxAx> arigato, any idea why http://files.alexanderweb.de/builtin_exception_test.patch fails? this breaks pyrolog as far as i can tell
<tos9> never mind, found it
<tos9> mjacob: what about this commit
<mjacob> tos9: okay, let's tackle the segfault first
<mjacob> hg export is similar to git show
<mjacob> i don't think that there's a way to trigger "decompressor object already flushed" by flushing it
<mjacob> it seems like only the compressor's flush() method sets the internal stream to a nullptr
<mjacob> (but not the decompressor's)
<tos9> (I'm reading what CPython does)
antocuni has joined #pypy
<mjacob> tos9: in the hackmd, i wrote "subtle difference: on CPython, z_stream is part of structure and can’t become nullptr"
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5997 [mattip: force build, unicode-utf8]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5998 [mattip: force build, unicode-utf8-py3]
<mjacob> instead in pypy we raw-allocate the structure and store a pointer in the pypy object
<tos9> Ahh ok
<tos9> mjacob: so in that case the conditional just shouldn't be in Decompressor and should be in Compressor?
<tos9> Probably need to have tests for calling copy after flush and then that will fall out
<mjacob> yes, an app-level test would be a good start
ronan has joined #pypy
* tos9 nods
<mjacob> yes, just moving the conditional to Compressor would work
<mjacob> but note that cpython does something different here: it also calls deflateEnd(), but the pointer to the zstream stays constant
<mjacob> then, if calling copy(), zlib complains that the zstream internal state is messed up
<mjacob> it doesn't really matter, though
<mjacob> tos9: can you add a failing tests as a commit and push? then i can play around as well.
<tos9> mjacob: yes, trying to make sure I follow the last thing you said as well -- meaning, you get a better error message (one that comes out of zlib directly) on CPython?
<mjacob> tos9: just different ;)
<mjacob> the check that you added in the wrong place is actually more informative
<tos9> oh I see
<tos9> you get nonsense like ValueError: Inconsistent stream state
<tos9> yeah ok our error is better :)
<mjacob> ah, but i think it should be valueerror instaed of zlib_error
<tos9> yes seems like it
<mjacob> no clue, why cpython raises both in different places
JohnWitulski has joined #pypy
<tos9> mjacob: pushed the new test
<kenaan> Julian Berman zlib-copying-redux bf5838a3edac /pypy/module/zlib/test/test_zlib.py: Add a test for copying flushed zlib compressobjs.
<kenaan> andrewjlawrence default f8548d5c059a /rpython/: Fixed nan sign on windows
<tos9> mjacob: (which I think this commit seems to fix now ^)
<tos9> well not that one but bitbucket is slow as hell
<kenaan> Julian Berman zlib-copying-redux 6c3c1a0558e6 /pypy/module/zlib/interp_zlib.py: Move our check for stream being nullptr to the right place. It's compressobj that sets this to ...
<mjacob> tos9: looks good
<mjacob> tos9: about the interp2app failure: do you understand how the interp2app thing - introduced in 51b646896e26 - works?
mattip has joined #pypy
<tos9> mjacob: no not particularly (well I understand I think what it means to do), but I think I understand that I need a `if cls.runappdirect: pytest.skip("these tests cannot work with -A")` ?
<mjacob> not quite
<mjacob> skipping the single test is fine
<mjacob> no need to skip all tests with runappdirect
<mjacob> two tests should be skipped, actually
<tos9> right that's what I'm trying to figure out, how to just skip those two
<tos9> mjacob: I'm sitting with carl now too
<tos9> (though now we're gonna do planning)
<tos9> mjacob: so if you have a suggestion I'm all ears
<tos9> do the 2 we want to skip need to be extracted to their own AppTest class?
<tos9> or is there some method-level skip
<mjacob> "if self.runappdirect: skip("can't run with -A")" will do
<tos9> ah, within the body?
<tos9> yeah ok
nunatak has joined #pypy
<kenaan> Julian Berman zlib-copying-redux ab1d3b141472 /pypy/module/zlib/test/test_zlib.py: Skip the tests that need to rpython-munge when we run app-level.
<tos9> mjacob: seem OK ^?
<mjacob> tos9: seems good to go
<tos9> mjacob: ok, gonna let antocuni teach me how to kick the buildbot
<tos9> mjacob: (Thanks!)
<mjacob> tos9: no need to kick the buildbot for a fix this small
<mjacob> (however, you probably should have done it before merging the original branch)
<mjacob> before merging, don't forget the whatsapp-snippet and closing the branch: ``hg ci --close -m "Close to-be-merged branch."``
<tos9> whatsapp-snippet :)
<mjacob> WTF, what's going on with me
<mjacob> whatsnew snippet of course ;)
<tos9> mjacob: you're not here
<mjacob> not yet, will be there in the afternoon
<tos9> mjacob: how do I interpret c5c3ad13d149
<tos9> Did I break translation because stream became nullable?
<tos9> I thought that was OK in RPython
<mjacob> you can't mix None and raw pointers
<mjacob> you could have used rzlib.null_stream instead of None
nunatak has quit [Quit: Leaving]
<tos9> a ha...
<kenaan> Julian Berman zlib-copying-redux 9b1847feb4f2 /pypy/doc/whatsnew-head.rst: Add the whatsnew snippet.
<mjacob> but i think that constructing the zstream in the factory function is better anyway
* tos9 nods
<tos9> mjacob: do I need to go back and close zlib-copying too? I didn't do that yesterday
<mjacob> someone will do the house cleaning for you at some point
<mjacob> so don't worry to much about the old branch?
<mjacob> didn't mean to type the '?'
<kenaan> Julian Berman zlib-copying-redux 32412a37b57f /: Close to-be-merged branch.
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5998 [mattip: force build, unicode-utf8-py3]
ronan has quit [Quit: Ex-Chat]
ronan__ has joined #pypy
antocuni has quit [Ping timeout: 250 seconds]
ronan has joined #pypy
<xorAxAx> arigato, bisecting
ronan__ has quit [Ping timeout: 246 seconds]
mattip has quit [Ping timeout: 268 seconds]
<kenaan> ambv default 1a36a013597d /.hgignore: [.hgignore] Add mypy_cache and vscode
<kenaan> ambv py3.5 706d2757733b /: hg merge default
<kenaan> ambv py3.6 baff18bae4fb /: hg merge py3.5
<xorAxAx> ronan, 80959:6ebeeb9aabc6 Use ClassDescs instead of ClassDefs in our_issubclass()
<arigato> xorAxAx: that looks not RPython to me
<arigato> the function foo() can either return 0 or None if no exception is raised
<xorAxAx> true, thats a bug in the patch file, after fixing that (add return 1), you see the problem
<kenaan> Julian Berman default ec33801be3ff /pypy/: Merge zlib-copying-redux
<kenaan> Julian Berman default 24f1b599a64d /pypy/: Merge default
<kenaan> Julian Berman default 60fa14799cf4 /pypy/: Merge default heads
<xorAxAx> updated file.
jcea has joined #pypy
<kenaan> andrewjlawrence 35windowsfixes 284828e44f37 /: Closed branch. The commit was grafted into the default branch
mattip has joined #pypy
<arigato> I think that's because SystemExit is a subclass of BaseException but not Exception
lritter has joined #pypy
jcea has quit [Ping timeout: 250 seconds]
<mjacob> arigato: the problem seems to be in rpython/annotator/classdesc.py line 520
<mjacob> xorAxAx: 4f5e9f83eb3b9
<arigato> I thought so too, but I'm not sure now
<kenaan> Julian Berman py3.5 5186243836bc /pypy/: Merge default.
<mjacob> xorAxAx: 350616aa1c211 (various fixes were applied later)
jacob22__ has joined #pypy
mattip has quit [Ping timeout: 246 seconds]
jcea has joined #pypy
dddddd has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/rpython-win-x86-32/builds/120 [ronan: force build, 35windowsfixes]
mattip has joined #pypy
Zaab1t has joined #pypy
jcea has quit [Remote host closed the connection]
antocuni has joined #pypy
jcea has joined #pypy
<kenaan> Julian Berman default fee9d13fa77c /pypy/module/zlib/test/test_zlib.py: This appears to be necessary to actually have runappdirect available for app tests.
<kenaan> antocuni default a41775a6bcf2 /.hgtags: Added tag release-pypy2.7-v7.0.0 for changeset 9112c8071614
<kenaan> antocuni default 13e6a9467268 /.hgtags: Added tag release-pypy3.5-v7.0.0 for changeset 1f86f25937b6
<kenaan> antocuni default e239e0b2814c /.hgtags: Added tag release-pypy3.6-v7.0.0 for changeset dab365a46514
<kenaan> antocuni default 35673b0b2571 /pypy/module/zlib/test/test_zlib.py: merge heads
antocuni has quit [Ping timeout: 244 seconds]
xcm has quit [Remote host closed the connection]
Rhy0lite has joined #pypy
xcm has joined #pypy
antocuni has joined #pypy
antocuni has quit [Ping timeout: 244 seconds]
_whitelogger has joined #pypy
xcm has quit [Remote host closed the connection]
<kenaan> rlamy unicode-utf8-py3 daa08b2d951c /pypy/module/array/interp_array.py: Kill dead code
antocuni has joined #pypy
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/6000 [fijal: force build, regalloc-playground]
xcm has joined #pypy
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7271 [fijal: force build, regalloc-playground]
antocuni has quit [Ping timeout: 250 seconds]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/4397 [mattip: force build, release-pypy3.6-7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/4398 [ronan: force build, 35windowsfixes]
Zaab1t has quit [Quit: bye bye friends]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7271 [fijal: force build, regalloc-playground]
<bbot2> Success: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/6000 [fijal: force build, regalloc-playground]
JohnWitulski has quit [Quit: Leaving.]
JohnWitulski has joined #pypy
marky1991 has joined #pypy
<mjacob> xorAxAx: ann-systemexit
<mjacob> cfbolz: where / when are you going to have dinner? i'll join.
JohnWitulski has left #pypy [#pypy]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-win-x86-32/builds/1963 [ronan: force build, 35windowsfixes]
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
<marmoute> mjacob: hohey o/
<fijal> mjacob: 2 groups I think
<fijal> one somewhere japanese one somewhere vegetarian
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/2960 [fijal: force build, regalloc-playground]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/6271 [fijal: force build, regalloc-playground]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/5040 [fjal: force build, regalloc-playground]
Zaab1t has joined #pypy
antocuni has joined #pypy
marky1991 has quit [Ping timeout: 240 seconds]
<kenaan> antocuni default 4c920e4d6d68 /pypy/tool/release/repackage.sh: commit the tweaked version of the script which I used for the release
<mjacob> fijal: did you leave already?
<mjacob> fijal: keep me updated, i'll arrive around 19:00 and prefer the vegetarian group
<fijal> mjacob: ok, we did not leave
marky1991 has joined #pypy
<kenaan> antocuni pypy.org[extradoc] 3d49c68495b0 /source/: (antocuni, mattip): update the website for the new release; only the source, the HTML will be regener...
mattip has quit [Ping timeout: 240 seconds]
xcm has quit [Remote host closed the connection]
antocuni has quit [Ping timeout: 268 seconds]
<fijal> mjacob: sattgrun in hafen
<fijal> Leaving now
xcm has joined #pypy
ronan has quit [Ping timeout: 246 seconds]
themsay has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/2960 [fijal: force build, regalloc-playground]
iomari has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/5040 [fjal: force build, regalloc-playground]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/6271 [fijal: force build, regalloc-playground]
<mjacob> fijal: i'm there, i can't see you
<mjacob> cfbolz: ping
marky1991_2 has joined #pypy
marky1991 has quit [Ping timeout: 240 seconds]
marky1991_2 has quit [Ping timeout: 245 seconds]
marky1991_2 has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
lritter has quit [Quit: Leaving]
Rhy0lite has quit [Quit: Leaving]
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
mattip has joined #pypy
kipras has joined #pypy
marky1991_2 has quit [Ping timeout: 272 seconds]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
redj_ has joined #pypy
redj has quit [Read error: Connection reset by peer]
redj_ has left #pypy [#pypy]
Zaab1t has quit [Quit: bye bye friends]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
Ai9zO5AP has quit [Quit: WeeChat 2.3]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/4398 [ronan: force build, 35windowsfixes]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/4399 [antocuni: force build, release-pypy2.7-7.x]
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
mattip has quit [Remote host closed the connection]