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
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-s390x/builds/1209 [mattip: force build, release-pypy3.6-v7.x]
_whitelogger has joined #pypy
<ljwobker> cfbolz: can I just post somewhere a snippet of code that reproduces the issue? The current code is proprietary but I can pretty easily sterilize it. Pastebin? Github issue? Mailer list? Whatever is easier for you guys...
LarstiQ has quit [*.net *.split]
sknebel has quit [*.net *.split]
blueyed has quit [*.net *.split]
sknebel has joined #pypy
LarstiQ has joined #pypy
blueyed has joined #pypy
ljwobker has quit [Remote host closed the connection]
jvesely has quit [Quit: jvesely]
jvesely has joined #pypy
jcea has joined #pypy
jvesely has quit [Quit: jvesely]
jcea has quit [Ping timeout: 248 seconds]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 268 seconds]
jcea has joined #pypy
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
jcea has quit [Remote host closed the connection]
<cfbolz> ljwobker: sorry for the delay, we're almost all in Europe
<cfbolz> Pastebin is great
<cfbolz> But you need to make a bitbucket.org account for that
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 268 seconds]
dddddd has quit [Remote host closed the connection]
xcm has quit [Killed (cherryh.freenode.net (Nickname regained by services))]
xcm has joined #pypy
jvesely has joined #pypy
xcm has quit [Ping timeout: 265 seconds]
xcm has joined #pypy
Ai9zO5AP has quit [Ping timeout: 248 seconds]
lritter has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 248 seconds]
<antocuni> mattip: "grr" for the gcc issue :(
<antocuni> maybe it is something which you should signal to the manylinux guys?
<antocuni> ๐Ÿ‘
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-aarch64/builds/248 [mattip: force build, meth_fastcall]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/5028 [mattip: force build, meth_fastcall]
<cfbolz> what *is* it this week? now we get a JIT assertion error reported
adamholmberg has joined #pypy
<Dejan> ๐Ÿ‘
<Dejan> I thumbed it up on GitHub too :)
<mattip> Dejan: you could turn it into a PR if you want, I linked to the code that should be changed
adamholmberg has quit [Ping timeout: 268 seconds]
ronan has quit [Remote host closed the connection]
ronan has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
Dejan has quit [Quit: Leaving]
<mattip> ahh, it seems it is on purpose. So maybe just a documentation issue
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-aarch64/builds/248 [mattip: force build, meth_fastcall]
adamholmberg has joined #pypy
Dejan has joined #pypy
adamholmberg has quit [Ping timeout: 252 seconds]
jcea has joined #pypy
<antocuni> anybody else who wants to review my blog post before posting?
<antocuni> arigato, cfbolz ?
<cfbolz> I can
<antocuni> thanks
<mattip> virtualenv is broken on the nightly builds since we need it to copy/symlink the lib directory
<mattip> of course squeaky-pl already solved this by shipping a virtualenv
<cfbolz> woops, of course I find unpushed commits in my extradoc :-(
<kenaan> cfbolz extradoc 0415a5f5f1ec /blog/draft/: new plots
<kenaan> cfbolz extradoc b927dc27a328 /blog/draft/: add source of diagram
<antocuni> mattip: squeaky's README seems to imply that the sock virtualenvs DOES work with newer pypys
<cfbolz> antocuni: I would weaken the statement "Cython eventually will generate HPy code". we don't know whether that will happen for sure
<Dejan> i use -m venv all the time
<antocuni> well, stefan agreed on this when we discussed it at EuroPython
<cfbolz> sure, but it's not a formal promise, and it feels strange to speak for another project
<cfbolz> so maybe simply "could"
<cfbolz> instead of will
<antocuni> ok, true enough
<cfbolz> should I do it?
<antocuni> "Cython plans to..." ?
<mattip> I am using virtualenv 15.1.0 and it does not work for me with the latest builds of pypy2 and pypy3 on x86 (portable builds)
<cfbolz> antocuni: that's still a definite statement. if you want to write that we need to talk to stefan before posting, imo
<cfbolz> "is considering" I could get on board with
<antocuni> ok, +1 for "is considering"
<antocuni> mattip: then maybe it's a new issue? I always used the stock virtualenv with portable builds with no problems
<cfbolz> cool
<cfbolz> antocuni: matti means his portable builds
<cfbolz> not squeaky's
<antocuni> cfbolz: please add it while you are doing the other edits, thanks :)
<antocuni> I think mattip said that squeaky's builds work only with their own virtualenv
<mattip> it seems portable pypy works, my portable builds do not
<mattip> now what is the trick?
<antocuni> I confirm that squeaky's build works with virtualenv==16.4.3
<antocuni> mattip: what is the exact problem you are encountering?
<cfbolz> antocuni: maybe also mention that Tim Felgentreff (phlebas) of GraalPython gave some input, to make sure that the design could also work there?
<antocuni> +1
<mattip> the part that makes both builds "portable" is that there are *.so shared objects in a directory called lib
<mattip> somehow virtualenv knows to copy them with portable pypy, but not with my builds
<phlebas> antocuni: we're already working on running the ultrajson example, too, but it'll take one or two more days, so don't mention that :)
<antocuni> cfbolz: Windel Bouwman or rustpython is also following the project and commenting on some issues, although he didn't give any input specific to rustpython yet
<antocuni> phlebas: wow!
<cfbolz> ah, awesome
<antocuni> mattip: do you need help with debugging or you are already on track?
<kenaan> cfbolz extradoc c14cba0877bb /blog/draft/2019-12-hpy-sprint.rst: weaken claim about cython, mention Tim and Windel
<mattip> I think I have a handle. I made pypy2_virt/lib read-only and got an exception when trying to recreate with virtualenv
<mattip> with squeaky's portable builds
<cfbolz> antocuni: done, great post imo
<antocuni> thank you
<antocuni> now I just need to remember the magic recipe to turn the rst into a blogger-friendly html :)
<cfbolz> rst2html, then lost of manual editing
<antocuni> nice typo :)
<mattip> or copy-paste into blogger, and lost of manual editing
<cfbolz> :-)
edd[m] has quit [Ping timeout: 264 seconds]
bendlas has quit [Ping timeout: 252 seconds]
agates[m] has quit [Ping timeout: 248 seconds]
extraymond[m] has quit [Ping timeout: 250 seconds]
dddddd has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
<cfbolz> antocuni: awesome! Will tweet about it in a few minutes
<cfbolz> antocuni: btw, is there a plan for custom types in C yet?
<cfbolz> Maybe we should mention this as a current limitation or big chunk of future thinking
<antocuni> cfbolz: yes, we have a plan: https://github.com/pyhandle/hpy/issues/9
<cfbolz> Ah awesome
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/5028 [mattip: force build, meth_fastcall]
adamholmberg has joined #pypy
<mattip> got it. squeaky-pl patches _pypy_install_libs_after_virtualenv, which is in subprocess.py
<antocuni> whooo, the hack about _pypy_install_libs_after_virtualenv is horrible ๐Ÿ˜ฑ
<cfbolz> antocuni: the weird <blockquote>s in the html are from rst, right? not something you hacked in
<cfbolz> they make it look crap on mobile, I can remove them
<mattip> antocuni: truly evil
<mattip> is there no other hook into virtualenv other than hacking Popen?
<antocuni> cfbolz: yes, I didn't do anything about <blockquote>
<cfbolz> ok, begone then
<antocuni> I suppose that we could send a PR to virtualenv
<mattip> yeah, that would solve the future problems. Maybe we should backport the venv module to pypy2, and document that people should use that
<Dejan> venv rox
<mattip> or update virtualenv to one with the as-yet-unkown patch
<mattip> or just use squeaky's patch to the horrible hack
<antocuni> where is squeaky's patch?
adamholmberg has quit [Ping timeout: 250 seconds]
<mattip> https://github.com/squeaky-pl/portable-pypy, the two subprocess patches (for pypy2 and pypy3)
<antocuni> I suppose we could just put the patch in default
<antocuni> maybe with an if to check that "lib" actually exists, in case anyone wants to make a non-portable build
<mattip> +1
<mattip> also windows, aarch64, s390x
<mattip> don't have lib
<antocuni> yes
<antocuni> I see there are patches to sysconfig_pypy.py as well
<mattip> that one is more controversial. It is so if you rebuild the cffi modules you get the portable ones.
<antocuni> maybe there should be an official way to know from within pypy if this is a portable build or not? This way we can easily integrate all these patches with "if IS_PORTABLE_BUILD"
<antocuni> ah
<mattip> I think if you rebuild, you should have to specify which you wan
<mattip> t
<antocuni> I don't know enough details to have an informed opinion about this
<mattip> the ssl and _curses patches have been redone into pypy already
<mattip> except for the certificate thing: squeaky adds a sertificate.pem to the shipped pypy, I didn't. I modified the error message to say it is missing, and documented the certifi pypi package and how to use it
<antocuni> how can you install certifi is sshl doesn't work?
<mattip> pip ships a certificate for pypi use
<antocuni> ah, cool
<mattip> I consulted here with tumblweed a few days ago (misspelled to not ping him)
adamholmberg has joined #pypy
ekaologik has joined #pypy
<antocuni> cfbolz: I need some help with pypy config/options
<antocuni> I am trying to write a "_dummy_importlib" module for 3.6 to be used by tests instead of "_frozen_importlib" which is horribly slow
<antocuni> and I'm trying to introduce the correct options to select one or the other
<antocuni> ideally, _dummy_importlib should be the default for tests (but tests should be able to override it), and _frozen_importlib the default for translation
<antocuni> and the two modules should not be present at the same time
<antocuni> this is what I have so far: http://paste.openstack.org/show/787730/
<antocuni> I expected that since "_dummy_importlib" is the default of the the "--importlib" option, it would enable _dummy_importlib by default
<antocuni> however, I am getting a space in which both usemodules.{_dummy,_frozen}_importlib are False
<antocuni> so, if I pass explicitly importlib='_dummy_importlib' when calling gettestobjspace(), the requires are honored
<antocuni> if I don't, it seems they are silently ignored (i.e., the requires are not honored in case I specify the default option :()
<antocuni> ok, this seems to work, although it's a bit annoying to have to specify the default value for _dummy_importlib twice :( not
abrown has quit [Quit: Leaving]
abrown has joined #pypy
<cfbolz> antocuni: the defaults need to be consistent
<cfbolz> And I suspect that they are not
<cfbolz> So I suspect it works if you set the default to _frozen_importlib
edd[m] has joined #pypy
agates[m] has joined #pypy
extraymond[m] has joined #pypy
bendlas has joined #pypy
trinityhex has joined #pypy
<cfbolz> V8 landed compressed pointers https://v8.dev/blog/v8-release-80
kenaan has quit [Read error: No route to host]
<ronan> mattip: pypy.module._socket.test.test_sock_app AppTestSocket.().test_recvmsg_issue2649 is failing because the container doesn't support IPv6
ekaologik has quit [Quit: https://quassel-irc.org - Komfortabler Chat. รœberall.]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
<mattip> ronan: heh, thanks
<ronan> mattip: I'm confused though, I'd expect a lot more things to be failing
<mattip> without ipv6?
<ronan> yes
<mattip> strange, on the host machine I am seeing ipv6 things in the docker0 interface, but indeed inside the docker there is no ipv6
<ronan> ipv6 and docker seems to be a mess
<ronan> you have to configure the docker daemon to get it working inside the container
<ronan> well, I guess nothing alse actually requires a working ipv6 interface...
<mattip> it would be nice if that test checked for ipv6
<ronan> mattip: well, it's not actually about ipv6 anyway, so I'll convert it to ipv4 instead
DarkPlutonium is now known as DarkUranium
<mattip> +1
kenaan has joined #pypy
<kenaan> rlamy py3.6 1dd8529bdaff /pypy/module/_socket/test/test_sock_app.py: Simplify test and convert it to use IPv4
lritter has quit [Ping timeout: 248 seconds]
<kenaan> mattip default 739335fb037c /lib-python/2.7/subprocess.py: extend existing horrible hack with more hackiness to copy lib (portable builds)
<kenaan> mattip default a484c74b2bbc /lib_pypy/pyrepl/: invalid escape sequences fixed on upstream github.com/pypy/pyrepl#21
<kenaan> mattip py3.6 0b647f05b74f /lib-python/3/subprocess.py: extend existing horrible hack with more hackiness to copy lib (portable builds)
<kenaan> mattip py3.6 010bdf9668e6 /: merge default into py3.6
abrown has quit [Quit: Leaving]
abrown has joined #pypy
CrazyPython has joined #pypy
CrazyPython has quit [Ping timeout: 268 seconds]
CrazyPython has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
jcea has quit [Remote host closed the connection]
CrazyPython has quit [Read error: Connection reset by peer]
CrazyPython has joined #pypy
CrazyPython has quit [Read error: Connection reset by peer]
CrazyPython has joined #pypy