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
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 276 seconds]
CrazyPython has joined #pypy
lritter has quit [Ping timeout: 268 seconds]
lritter has joined #pypy
lritter has quit [Client Quit]
nimaje has quit [Read error: Connection reset by peer]
nimaje has joined #pypy
_whitelogger has joined #pypy
Labu has quit [Quit: Leaving.]
CrazyPython has quit [Read error: Connection reset by peer]
andi- has quit [Remote host closed the connection]
andi- has joined #pypy
<kenaan> mattip default 994c42529580 /lib_pypy/_cffi_ssl/_stdssl/__init__.py: fix backport 826708d0c629
<mattip> arigato: there is still _is_asmgcc in rpython/jit/backend/llsupport/assembler.py, is that on purpose?
<mattip> also a few mentions of asmgcc in pypy documentation "grep asmgcc -r pypy --include=*.rst"
<mattip> ahh, no, the pypy/**/*.rst were in generated files
<mattip> old generated files
<mattip> tumbleweed: a question about a default certificate and the _ssl module
<mattip> the linux download tarball is built with pieces of portable-pypy
<mattip> which doesn't affect core pypy code, except for the _ssl module
<mattip> since the cffi-based _ssl module now links to a OpenSSL library we ship with PyPy
<mattip> so the native OpenSSL function to find certificates (based on CentOS6) doesn't work on other platforms
<mattip> like debian
<mattip> portable-pypy gets around this by looking for certificates in a few known locations
<mattip> but if that fails they use a certificate shipped with portable-pypy
<mattip> I don't want to be in the business of shipping certificates, but what do we tell people who want a bare-bones system?
<mattip> options I see:
<mattip> - ship a certificate
<mattip> - integrate support for something like the certifi package: try importing it and using certifi.where() for a default certificate
<mattip> - require users to install some OS package ("apt get install libssl?")
<mattip> the last option kind of breaks the idea of "portable tarballs" but I think it is what CPython does
<mattip> no, actually it seems CPython does not provide a compiled linux version for download
<mattip> hmm. Maybe we should just document the problem, and suggest a few alternatives
<mattip> including `pip install certifi`, then setting SSL_CERT_FILE to the result of "certifi.where()"
xcm has quit [Ping timeout: 265 seconds]
glyph has quit [Quit: End of line.]
glyph has joined #pypy
_whitelogger has joined #pypy
<kenaan> mattip pypy.org[extradoc] 1618d33ae327 /source/download.txt: update download.txt for portable x86 packages, mention certifi for SSL certificates
<mattip> went with the last idea: mention certifi
<tumbleweed> mattip: hrm, why is this now an issue when it wasn't before?
<tumbleweed> basically, how was pypy doing this before the cffi _ssl module?
<mattip> we now build portable pypy, based on the manylinux2010 CentOS6 docker image
<mattip> with CentOS-built openssl linked in
<tumbleweed> ah, right
<mattip> previously we used debian's OpenSSL, so it found debian's certificate store
<tumbleweed> so that's the change affecting this, not the ssl module itself
<mattip> right
<mattip> it is the _ssl module that interacts with OpenSSL to find the certificate store
<mattip> the previous Ubuntu 16.04 tarballs would not work without a certificate store either, but we made no claims to "portability" so it was not expected
<tumbleweed> sure
<mattip> but now we say "portable, just no certficate store"
<tumbleweed> it looks like you're doing about the best you can here
<mattip> ok, cool. I think shipping a fixed certificate store would be taking on more responsibility than I feel comfortable with
<tumbleweed> yeah, that'd suck
<mattip> s/fixed/default/
<tumbleweed> I'd lean towards shipping hacks to find the system store on common OSs first
<mattip> +1, see a5cd0e93d2fb
<mattip> which I took from golang https://golang.org/src/crypto/x509/root_linux.go (for the files)
<mattip> and https://golang.org/src/crypto/x509/root_unix.go (for the directories)
<tumbleweed> yeah, that
<mattip> tumbleweed: thanks for the feedback
_whitelogger has joined #pypy
xcm has joined #pypy
_whitelogger has joined #pypy
Labu has joined #pypy
Labu has quit [Client Quit]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 276 seconds]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/6816 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7881 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-win-x86-32/builds/2202 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-s390x/builds/1417 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-aarch64/builds/238 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/5595 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/6662 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/4771 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/5018 [mattip: force build, release-pypy2.7-v7.x]
<mattip> rc2 underway
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/6816 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/6817 [mattip: force build, release-pypy3.6-v7.x]
lritter has joined #pypy
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-aarch64/builds/237 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-s390x/builds/1205 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-win-x86-32/builds/2202 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-win-x86-32/builds/2203 [mattip: force build, release-pypy3.6-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-s390x/builds/1417 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-s390x/builds/1418 [mattip: force build, release-pypy3.6-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7881 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7882 [mattip: force build, release-pypy3.6-v7.x]
<tos9> ubuntu/debian cripple ensurepip on pypy too and don't ship a pypy-pip package?
<tos9> oh it's also obscenely old even for ubuntu:latest, ok never mind all this
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/5595 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/5596 [mattip: force build, release-pypy3.6-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/6817 [mattip: force build, release-pypy3.6-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/6662 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/6663 [mattip: force build, release-pypy3.6-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-aarch64/builds/238 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-aarch64/builds/239 [mattip: force build, release-pypy3.6-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/4771 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/4772 [mattip: force build, release-pypy3.6-v7.x]
dddddd has quit [Remote host closed the connection]
<bbot2> Exception: http://buildbot.pypy.org/builders/own-linux-aarch64/builds/239 [mattip: force build, release-pypy3.6-v7.x]
<kenaan> mattip py3.6 4ede1313d652 /: merge default into branch
<kenaan> mattip default 1ecff2e3689f /pypy/doc/whatsnew-pypy3-7.3.0.rst: backport whatsnew from py3.6
<kenaan> mattip release-pypy2.7-v7.x 285307a0f5a7 /: merge default into release
<bbot2> Exception: http://buildbot.pypy.org/builders/own-linux-s390x/builds/1418 [mattip: force build, release-pypy3.6-v7.x]
<kenaan> mattip release-pypy3.6-v7.x 008914050bae /: merge py3.6 into release
<bbot2> Exception: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7882 [mattip: force build, release-pypy3.6-v7.x]
<Dejan> rc2? yeeehaaaa
<bbot2> Exception: http://buildbot.pypy.org/builders/own-win-x86-32/builds/2203 [mattip: force build, release-pypy3.6-v7.x]
<bbot2> Exception: http://buildbot.pypy.org/builders/pypy-c-jit-linux-aarch64/builds/237 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Exception: http://buildbot.pypy.org/builders/pypy-c-jit-linux-s390x/builds/1205 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Exception: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/5596 [mattip: force build, release-pypy3.6-v7.x]
<bbot2> Exception: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/6663 [mattip: force build, release-pypy3.6-v7.x]
<bbot2> Exception: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/4772 [mattip: force build, release-pypy3.6-v7.x]
<bbot2> Exception: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/5018 [mattip: force build, release-pypy2.7-v7.x]
<mattip> sorry for all the spam. I though I pushed the commits
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/6818 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7883 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-win-x86-32/builds/2204 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-s390x/builds/1419 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-aarch64/builds/240 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/5597 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/6664 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/4773 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/5019 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-s390x/builds/1206 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-aarch64/builds/238 [mattip: force build, release-pypy2.7-v7.x]
<Dejan> bbot will be bbusy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/6818 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/6819 [mattip: force build, release-pypy3.6-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-win-x86-32/builds/2204 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-win-x86-32/builds/2205 [mattip: force build, release-pypy3.6-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-s390x/builds/1419 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-s390x/builds/1420 [mattip: force build, release-pypy3.6-v7.x]
Ai9zO5AP has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-aarch64/builds/240 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-aarch64/builds/241 [mattip: force build, release-pypy3.6-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7883 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7884 [mattip: force build, release-pypy3.6-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/5597 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/5598 [mattip: force build, release-pypy3.6-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/6819 [mattip: force build, release-pypy3.6-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/6664 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/6665 [mattip: force build, release-pypy3.6-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/4773 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/4774 [mattip: force build, release-pypy3.6-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/5019 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/5020 [mattip: force build, release-pypy3.6-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/5598 [mattip: force build, release-pypy3.6-v7.x]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
CrazyPython has joined #pypy
tsaka__ has quit [Ping timeout: 252 seconds]
ronan has quit [Remote host closed the connection]
ronan has joined #pypy
tsaka__ has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 268 seconds]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7884 [mattip: force build, release-pypy3.6-v7.x]
tsaka__ has quit [Ping timeout: 252 seconds]
jvesely has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-win-x86-32/builds/2205 [mattip: force build, release-pypy3.6-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-aarch64/builds/238 [mattip: force build, release-pypy2.7-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-aarch64/builds/239 [mattip: force build, release-pypy3.6-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-s390x/builds/1420 [mattip: force build, release-pypy3.6-v7.x]
dddddd has joined #pypy
<mattip> ronan: have you given any thought to METH_FASTCALL? NumPy wants to start using it
<mattip> they say it is "new in version 3.7" but it appears already in 3.6
<ronan> no, I haven't looked into it yet
<ronan> I didn't know it was in 3.6 already
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/6665 [mattip: force build, release-pypy3.6-v7.x]
<mattip> seem to be the places we need to implement it
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/4774 [mattip: force build, release-pypy3.6-v7.x]
tsaka__ has joined #pypy
xcm has quit [Read error: Connection reset by peer]
<mattip> that seems to map to W_PyCFunctionObject.call() in cpyext/methodobject.py
xcm has joined #pypy
<mattip> and the corresponding C types from cpyext/parse/cpyext_object.h
marky1991 has joined #pypy
adamholmberg has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-aarch64/builds/241 [mattip: force build, release-pypy3.6-v7.x]
adamholmberg has quit [Ping timeout: 276 seconds]
CrazyPython has quit [Read error: Connection reset by peer]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/5020 [mattip: force build, release-pypy3.6-v7.x]
jvesely has quit [Quit: jvesely]
jvesely has joined #pypy
jvesely has quit [Quit: jvesely]
jvesely has joined #pypy
jvesely has quit [Quit: jvesely]
jcea has joined #pypy
_whitelogger has joined #pypy
lritter has quit [Quit: Leaving]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-aarch64/builds/239 [mattip: force build, release-pypy3.6-v7.x]