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 [Ping timeout: 240 seconds]
xcm has joined #pypy
mattip has quit [Ping timeout: 258 seconds]
mattip has joined #pypy
dmalcolm has joined #pypy
BPL has quit [Ping timeout: 264 seconds]
BPL has joined #pypy
CrazyPython has joined #pypy
CrazyPython has quit [Read error: Connection reset by peer]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
adamholmberg has quit [Remote host closed the connection]
marmoute has quit [Quit: leaving]
jcea has quit [Quit: jcea]
xcm has quit [Remote host closed the connection]
marmoute has joined #pypy
xcm has joined #pypy
BPL has quit [Read error: Connection reset by peer]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 265 seconds]
Taggnostr has quit [Ping timeout: 256 seconds]
Taggnostr has joined #pypy
bbot2 has quit [Quit: buildmaster reconfigured: bot disconnecting]
bbot2 has joined #pypy
adamholmberg has joined #pypy
<mattip> I think I understand why the rpython tests are failing on win32 since I updated the compiler to Visual2019
<mattip> maybe
<mattip> the host python is compiled with vc2008, so they are using different runtimes
<mattip> so from python open(path).filenno() gives me 3, but this is not a valid fid for the C runtime when calling into a dll
adamholmberg has quit [Ping timeout: 256 seconds]
<mattip> like when using rjitlog.c or vmprof
<mattip> after translation it is fine
<mattip> so I guess the solution might be to compile an "open" and "close" command instead of using python-level functions (for tests)
<mattip> s/the solution/a solution/
inhahe_ has quit [Read error: Connection reset by peer]
inhahe has joined #pypy
dddddd has quit [Ping timeout: 250 seconds]
bbot2 has quit [Quit: buildmaster reconfigured: bot disconnecting]
bbot2 has joined #pypy
zmt00 has joined #pypy
zmt01 has quit [Ping timeout: 240 seconds]
<cfbolz> mattip: that sounds like a sensible approach to me
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 258 seconds]
<mattip> it turned out to be easier than I thought: rfile already exposes all the possible variants
<cfbolz> arigo: ah ah ah, seems terminals are finally catching up! https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda
<cfbolz> Now we need to write a pytest plugin
<mattip> heh. Are you sure one does not exist?
xcm has quit [Ping timeout: 264 seconds]
<cfbolz> mattip: well, Armin has one ;-)
<antocuni> next step is to show images in the terminal
<antocuni> IIRC, armin has a hack also for this :)
<cfbolz> Yes
<cfbolz> But clicking on the F would already be super cool
<antocuni> yes, definitely
xcm has joined #pypy
bbot2 has quit [Quit: buildmaster reconfigured: bot disconnecting]
bbot2 has joined #pypy
rguillebert has quit [Quit: Connection closed for inactivity]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 240 seconds]
_whitelogger has joined #pypy
altendky has quit [Quit: Connection closed for inactivity]
altendky has joined #pypy
andi- has quit [Quit: WeeChat 2.7.1]
<cfbolz> cool, a good amount of F -> . in the last 3.7 run :-)
<mattip> down to 1 F in pypy-c-jit-linux-x86-64
<mattip> maybe ready for a release candidate
<cfbolz> cool!
<mattip> if I got the windows build to not error, only fail
<cfbolz> mattip: do we maybe want to call it 7.4?
<cfbolz> the number of features is not *that* small
<mattip> preferably not, is there an API breakage? We have to be careful with requiring wheel rebuilding
<cfbolz> ah, right
<cfbolz> ok, that's a complicated new concern ;-)
<mattip> until hpy and universal api support
<mattip> and cffi supporting universal api
andi- has joined #pypy
jacob22 has quit [Quit: Konversation terminated!]
BPL has joined #pypy
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-linux-x86-32/builds/294 [mattip: build release, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8085 [mattip: build release, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-win-x86-32/builds/267 [mattip: build release, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-aarch64/builds/413 [mattip: build release, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/7040 [mattip: build release, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-aarch64/builds/413 [mattip: build release, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-win-x86-32/builds/2291 [mattip: build release, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/5786 [mattip: build release, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-s390x/builds/1490 [mattip: build release, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-linux-x86-64/builds/299 [mattip: build release, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-s390x/builds/1284 [mattip: build release, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/4976 [mattip: build release, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/6886 [mattip: build release, release-pypy3.6-v7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/5205 [mattip: build release, release-pypy3.6-v7.x]
lritter has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-s390x/builds/1284 [mattip: build release, release-pypy3.6-v7.x]
epony has quit [Quit: reconf]
dddddd has joined #pypy
FullTiltProspect has joined #pypy
xcm has quit [Ping timeout: 240 seconds]
marky1991 has joined #pypy
xcm has joined #pypy
<nimaje> seems like the absolute directory hirachy of lib_pypy/_blake2/impl gets recreated under lib_pypy/_blake2/, so I have an empty lib_pypy/_blake2/wrkdirs/usr/ports/lang/pypy3/work/pypy3.6-v7.3.0-src/lib_pypy/_blake2/impl which seems useless and no idea what would create that
<mattip> hmm. A bit no idea, maybe some interaction with cffi and the package.py script
<mattip> could you clean that out, do a mkdir lib_pypy/_blake2/wrkdirs, chmod to make it read-only,
<mattip> then rerun _blake2_build.py and see who tries to write there?
epony has joined #pypy
CrazyPython has joined #pypy
<nimaje> ok, _blake2_build.py creates the dir, but it does even when I chmod -w
jcea has joined #pypy
<nimaje> ok, using user nobody helped a traceback https://0x0.st/iBxA.txt (it's usr here as it is a installed version)
CrazyPython has quit [Read error: Connection reset by peer]
<mattip> it seems tmpdir maybe should be pointing somewhere else, or should be cleaned up by the script
xcm has quit [Ping timeout: 260 seconds]
<mattip> I am on mobile, will check it deeper when possible
CrazyPython has joined #pypy
sdktda has joined #pypy
<nimaje> thanks
xcm has joined #pypy
inhahe has quit []
<bbot2> Failure: http://buildbot.pypy.org/builders/rpython-linux-x86-32/builds/294 [mattip: build release, release-pypy3.6-v7.x]
CrazyPython has quit [Read error: Connection reset by peer]
CrazyPython has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/7040 [mattip: build release, release-pypy3.6-v7.x]
xcm has quit [Ping timeout: 240 seconds]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8085 [mattip: build release, release-pypy3.6-v7.x]
xcm has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/5786 [mattip: build release, release-pypy3.6-v7.x]
inhahe has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/rpython-linux-x86-64/builds/299 [mattip: build release, release-pypy3.6-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/rpython-win-x86-32/builds/267 [mattip: build release, release-pypy3.6-v7.x]
<nimaje> seems like distutil's CCompiler.object_filenames() is at fault here
CrazyPython has quit [Read error: Connection reset by peer]
adamholmberg has joined #pypy
<nimaje> if a source filename is absolute it chopps the leading / and joins the output dir with that
adamholmberg has quit [Ping timeout: 264 seconds]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/6886 [mattip: build release, release-pypy3.6-v7.x]
jacob22 has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-aarch64/builds/413 [mattip: build release, release-pypy3.6-v7.x]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-s390x/builds/1490 [mattip: build release, release-pypy3.6-v7.x]
<nimaje> maybe _libdir in _blake2_build.py should just not made absolute; I'll try later whether that helps
marky1991 has quit [Ping timeout: 240 seconds]
Dejan has joined #pypy
Dejan has quit [Changing host]
Dejan has joined #pypy
<Dejan> py all!
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/4976 [mattip: build release, release-pypy3.6-v7.x]
BPL has quit [Ping timeout: 264 seconds]
<Dejan> hypercorn with trio works with latest 3.7 build
<Dejan> however i only did tiny tests
BPL has joined #pypy
CrazyPython has joined #pypy
adamholmberg has joined #pypy
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
CrazyPython has quit [Read error: Connection reset by peer]
marky1991 has quit [Ping timeout: 256 seconds]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-win-x86-32/builds/2291 [mattip: build release, release-pypy3.6-v7.x]
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
CrazyPython has joined #pypy
fwolff has joined #pypy
marky1991 has quit [Quit: Saliendo]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
fwolff has quit [Remote host closed the connection]
CrazyPython has quit [Read error: Connection reset by peer]
adamholmberg has quit [Remote host closed the connection]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-aarch64/builds/413 [mattip: build release, release-pypy3.6-v7.x]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
FullTiltProspect has quit [Ping timeout: 264 seconds]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/4977 [mattip: force build, release-pypy3.6-v7.x]
CrazyPython has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/5205 [mattip: build release, release-pypy3.6-v7.x]
CrazyPython has quit [Read error: Connection reset by peer]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 256 seconds]
xcm has quit [Remote host closed the connection]
sdktda_ has joined #pypy
xcm has joined #pypy
sdktda has quit [Ping timeout: 258 seconds]
tos9_ has joined #pypy
tos9 has quit [Ping timeout: 260 seconds]
tos9_ is now known as tos9
sdktda_ has quit [Ping timeout: 265 seconds]
jneen has joined #pypy
<jneen> hey all! i'm reimplementing my thesis language in rpython, and i'm having a little trouble getting `spawnv` from rlib.rposix to compile
<jneen> i've whittled it down to a really small test case: https://gist.github.com/jneen/bda4fcb281ff59357e008d2db5a3a30a
adamholmberg has joined #pypy
<jneen> it seems to pass the rtyper, but get stuck on the `ld` step
adamholmberg has quit [Client Quit]
xcm has quit [Remote host closed the connection]
adamholmberg has joined #pypy
xcm has joined #pypy
<cfbolz> jneen: hey!
<cfbolz> jneen: which OS are you working on?
<jneen> hey :]
<jneen> arch linux, just ran a full system upgrade
<jneen> kernel 5.5.13-arch1-1
<jneen> i've made the possibly-slightly-crazy decision to keep the frontend currently written in ruby, and only do the bytecode interpretation in rpython
<jneen> which means that if i want to eval or load a file i have to run an external program to partially compile it first
<jneen> (...eventually i'll bootstrap that part away, but...)
<cfbolz> jneen: that sounds fine
<cfbolz> (pypy itself had a slightly weird bytecode compiler situation way back when in 2006 or so ;-) )
<jneen> haha yeah i mean
<jneen> it makes sense, it's easier to parse and pre-process when you can do more dynamic things than rpython wants to do
<cfbolz> exactly
<cfbolz> so we had the parser in full python, and had to do complicated things to freeze the bytecode of the parser into the binary. it was very slow
<cfbolz> anyway, spawnv: I know nothing about it really, but usually it means that your flavor of linux needs an extra linker option than ubuntu
<jneen> huh
<cfbolz> let me dig for a few minutes
<cfbolz> I might be talking nonsense
<jneen> thanks a ton
<cfbolz> jneen: hm, no, seems spawnv also doesn't exist for me
<jneen> ...huh
<cfbolz> (not even on cpython, fwiw)
<cfbolz> jneen: fork + exec?
Dejan has quit [Quit: Leaving]
<jneen> does os.fork work reliably?
<cfbolz> it should
<cfbolz> or what do you mean by "reliably"?
dustinm has quit [Quit: Leaving]
<cfbolz> jneen: I'll be going to bed in a few minutes, should be around more during the weekend daytime (European time)
dustinm has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/4977 [mattip: force build, release-pypy3.6-v7.x]
jacob22 has quit [Quit: Konversation terminated!]
jacob22 has joined #pypy
<jneen> ok! thanks for your help cfbolz
BPL has quit [Quit: Leaving]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy