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
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/5215 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/4996 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-s390x/builds/1496 [mattip: Forced by command line script, release-pypy3.6-v7.x]
xcm has quit [Killed (kornbluth.freenode.net (Nickname regained by services))]
adamholm_ has quit [Remote host closed the connection]
xcm has joined #pypy
lritter has quit [Ping timeout: 240 seconds]
lritter has joined #pypy
lritter has quit [Quit: Leaving]
jcea has quit [Quit: jcea]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-aarch64/builds/422 [mattip: Forced by command line script, release-pypy3.6-v7.x]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 260 seconds]
<bbot2> Failure: http://buildbot.pypy.org/builders/rpython-win-x86-32/builds/273 [mattip: Forced by command line script, release-pypy3.6-v7.x]
jvesely has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 240 seconds]
_whitelogger has joined #pypy
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/7052 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8097 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-win-x86-32/builds/2300 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-s390x/builds/1498 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/5798 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/6898 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-linux-x86-32/builds/300 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-linux-x86-64/builds/305 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-win-x86-32/builds/274 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/4999 [mattip: Forced by command line script, release-pypy3.6-v7.x]
adamholmberg has joined #pypy
Taggnostr has quit [Ping timeout: 256 seconds]
adamholmberg has quit [Ping timeout: 256 seconds]
Taggnostr has joined #pypy
_whitelogger has joined #pypy
<bbot2> Retry: http://buildbot.pypy.org/builders/own-win-x86-32/builds/2300 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Retry: http://buildbot.pypy.org/builders/rpython-win-x86-32/builds/274 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-win-x86-32/builds/2301 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-win-x86-32/builds/275 [mattip: Forced by command line script, release-pypy3.6-v7.x]
mattip has quit [Ping timeout: 256 seconds]
mattip has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/7052 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/rpython-linux-x86-32/builds/300 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8097 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/5798 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/rpython-linux-x86-64/builds/305 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/6898 [mattip: Forced by command line script, release-pypy3.6-v7.x]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 250 seconds]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/4999 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<arigo> re cross-posting between pypy-dev and python-ideas: I'll just drop mails that pypy-dev blocks by being sent from non-subscribed people (likely to python-ideas)
<mattip> will the person who posts get a notice they must subscribe?
<arigo> yes
<arigo> the hope is that they'll notice they are also sending to pypy-dev by mistake, and stop doing that
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-aarch64/builds/425 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<mattip> +1
<mattip> I don't understand what is going on with the _curses_build.py failures on macos
<mattip> I have tried many different ways to debug it
<mattip> some seem to work, but then fail in another run
<mattip> there are a couple of things going on
<mattip> 1) after a successful build of _ssl, there are errors importing _hashlib
<mattip> 2) it seems -lncurses passes compilation, but loading the extension library fails, due to the _hashlib problems
* mattip trying to not load the extension, just check linking
<bbot2> Exception: http://buildbot.pypy.org/builders/own-linux-aarch64/builds/425 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Exception: http://buildbot.pypy.org/builders/own-linux-s390x/builds/1498 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Exception: http://buildbot.pypy.org/builders/own-win-x86-32/builds/2301 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Exception: http://buildbot.pypy.org/builders/pypy-c-jit-linux-s390x/builds/1292 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Exception: http://buildbot.pypy.org/builders/rpython-win-x86-32/builds/275 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<mattip> in the mean time, I am trying to track down a segfault on ppc64le, exposed by conda trying to build pypy3.6-7.3.0 packages
<mattip> it seems to not happen with --jit off
_whitelogger has joined #pypy
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/7053 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8098 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-win-x86-32/builds/2302 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-s390x/builds/1499 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-aarch64/builds/426 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/5799 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/6899 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/5000 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-s390x/builds/1293 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-linux-x86-32/builds/301 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-linux-x86-64/builds/306 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-win-x86-32/builds/276 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/5219 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<mattip> fijal: ping
<mattip> fijal: may we host downloads at buildbot.pypy.org/mirror, and ask python-infra to put a cdn infront of that as downloads.pypy.org ?
<mattip> we would have to make that page look a little nicer, add a dns mapping, and get them to set up the CDN service
rubdos has quit [Ping timeout: 256 seconds]
rubdos has joined #pypy
alexge50 has quit [Read error: Connection reset by peer]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-win-x86-32/builds/2302 [mattip: Forced by command line script, release-pypy3.6-v7.x]
alexge50 has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/7053 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Success: http://buildbot.pypy.org/builders/rpython-linux-x86-32/builds/301 [mattip: Forced by command line script, release-pypy3.6-v7.x]
YannickJadoul has joined #pypy
rubdos has quit [Ping timeout: 250 seconds]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8098 [mattip: Forced by command line script, release-pypy3.6-v7.x]
rubdos has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/5799 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/rpython-linux-x86-64/builds/306 [mattip: Forced by command line script, release-pypy3.6-v7.x]
rubdos has quit [Ping timeout: 264 seconds]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/6899 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-aarch64/builds/425 [mattip: Forced by command line script, release-pypy3.6-v7.x]
rubdos has joined #pypy
<rjarry> has anyone managed to make pylint work properly with compiled cffi extensions ?
<rjarry> however, the way cffi extensions are structured seems not to cut it with pylint
<rjarry> since we need to do:
<rjarry> from <compiled_cffi_extension> import lib
<rjarry> and then, lib.<exported_c_symbol>
<rjarry> pylint complains: Instance of 'module' has no '<exported_c_symbol>' member [no-member]
rubdos has quit [Client Quit]
<mattip> rjarry: what version of cffi are you using? I think lib.__all__ has <exported_c_symbol>, no?
<rjarry> mattip: I use cffi-1.14.0 and pylint-2.4.4
<rjarry> the latest versions I guess
<rjarry> I did not check lib.__all__
<rjarry> yes, lib.__all__ has all symbol names
rubdos has joined #pypy
<mattip> so this seems like a pylint bug
<rjarry> yeah, I was hoping there was a hidden workaround
<mattip> there is some tag you can put on pylint false positives
<mattip> # pylint: disable=no-member
<mattip> on the offending line
<rjarry> I know, but I would like it very much for pylint to actually detect errors, if I put pylint: disable=no-memeber on all lines that fail, there is no point in running pylint
<rjarry> mattip: I tried this, the import itself works
<rjarry> but the imported "lib" symbol is not inspected properly
<rjarry> so further lib.<c_symbol> attribute checks are failing
<rjarry> I guess that the way CFFI extensions are structured is not supported properly
<mattip> if you can distill your case to a reproducible small instance, maybe file an issue
<rjarry> yeah, I'm trying to fix it locally by patching pylint/astroid code
<mattip> +1
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/5000 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<cfbolz> hah, from the "did you know" department:
<cfbolz> arigo: do you have an opinion on whether we should forbid this?
<arigo> wat
<cfbolz> :-)
<cfbolz> changing the __code__ is forbidden too, so I think it would make sense
<arigo> yes, agreed
<cfbolz> ok, will do it
<arigo> but then it's also about the other attributes too:
<cfbolz> sure
<arigo> __closure__
<arigo> __dict__?
<arigo> __globals__
<cfbolz> I think those are less severe, since they don't affect behaviour
<cfbolz> but yes, agreed
<arigo> well, __closure__ would, but I suspect it's never used for builtins
<cfbolz> (ah, maybe they *do* affect behaviour, for @builtiny ed app-level builtins!)
<cfbolz> arigo: another quick question, do you have an idea how we should deal with the fact that the sre bytecodes change quite a bit in 3.7, given that the sre engine is in rlib? :-(
<cfbolz> I'm planning to try to fix sre for 3.7, but don't know to deal with that fact
<bbot2> Failure: http://buildbot.pypy.org/builders/rpython-win-x86-32/builds/276 [mattip: Forced by command line script, release-pypy3.6-v7.x]
adamholmberg has joined #pypy
<mattip> cfbolz: time for some software engineering: either rewrite the entire thing as a separate module, factor out the common parts, or something in between
<mattip> maybe
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-s390x/builds/1499 [mattip: Forced by command line script, release-pypy3.6-v7.x]
dddddd has joined #pypy
<cfbolz> mattip: right, that's one option
<cfbolz> (it's not what we do for other python2/3 differences though, usually we express these by branching)
lritter has joined #pypy
<mattip> maybe there are pieces of sre that belong in pypy not in rpython (just brainstorming a bit)
<mattip> like the "traits" thing we have for win32 to handle unicode/str
epony has quit [Quit: reconf]
epony has joined #pypy
<rjarry> I'm surprised it was that simple :)
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-aarch64/builds/426 [mattip: Forced by command line script, release-pypy3.6-v7.x]
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
<mattip> til: there is such a thing as astroid
<rjarry> mattip: what do you mean?
BPL has joined #pypy
<mattip> rjarry: I never knew that astroid existed and what it does
<mattip> I guess the name comes from "ast"
<rjarry> yep
<rjarry> been a few years since it was splitted from pylint source base
<rjarry> s/splitted/split/ <-- not sure, english as a 2nd language here :)
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/5219 [mattip: Forced by command line script, release-pypy3.6-v7.x]
adamholm_ has joined #pypy
adamholmberg has quit [Ping timeout: 258 seconds]
jcea has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-aarch64/builds/425 [mattip: Forced by command line script, release-pypy3.6-v7.x]
<bbot2> Exception: http://buildbot.pypy.org/builders/pypy-c-jit-linux-s390x/builds/1293 [mattip: Forced by command line script, release-pypy3.6-v7.x]
bbot2 has quit [Quit: buildmaster reconfigured: bot disconnecting]
bbot2 has joined #pypy
adamholm_ has quit [Remote host closed the connection]
adamholmberg has joined #pypy
rubdos has quit [Read error: Connection reset by peer]
jvesely_ has joined #pypy
jvesely has quit [Ping timeout: 264 seconds]
jvesely_ is now known as jvesely
rubdos has joined #pypy
Ashleee has quit [Quit: Leaving... bbl]
Ashleee has joined #pypy
wleslie has quit [Quit: ~~~ Crash in JIT!]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
adamholmberg has quit [Remote host closed the connection]
YannickJadoul has quit [Quit: Leaving]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 265 seconds]