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 quit [Remote host closed the connection]
lritter has quit [Quit: Leaving]
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
CrazyPython has joined #pypy
CrazyPython has quit [Read error: Connection reset by peer]
CrazyPython has joined #pypy
xcm has quit [Read error: Connection reset by peer]
<jneen> okay so it looks like python's `os.fork` does something *completely* different than exec*
xcm has joined #pypy
<jneen> os.fork() is a convoluted way of creating another OS thread that's running *the same python process*
<jneen> er, the same python program
CrazyPython has quit [Remote host closed the connection]
CrazyPython has joined #pypy
CrazyPython has quit [Read error: Connection reset by peer]
CrazyPython has joined #pypy
jcea has quit [Quit: jcea]
<jneen> oh... wait i think i understand. execv *does* work, and replaces the current process, and then i use os.waitpid(...)
CrazyPython has quit [Ping timeout: 240 seconds]
<wleslie> jneen: yes, normally you use both. you use fork() to create another process, which continues from the fork, and then execv*() to change the current process to be the thing you want to run.
<wleslie> this is just unix though, not really python specific
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
andi- has quit [Remote host closed the connection]
andi- has joined #pypy
xcm has quit [Ping timeout: 265 seconds]
dddddd has quit [Remote host closed the connection]
sdktda_ has joined #pypy
sdktda_ has quit [Remote host closed the connection]
dmalcolm has quit [Remote host closed the connection]
<cfbolz> wleslie: that 'just' is extremely misplaced
<cfbolz> Unix stuff is super strange
xcm has joined #pypy
<nimaje> to that _blake2_build.py issue, simply removing the call to abspath doesn't work as it does os.chdir(os.path.dirname(__file__)) later for some reason, so I use https://0x0.st/iBdI.py to avoid creating that useless directory structure
jcea has joined #pypy
<wleslie> well yes, not `just` in the sense of `simply`, but rather `completely described by`
lritter has joined #pypy
<cfbolz> antocuni: haha, it actually works
<cfbolz> hacked a conftest.py together that gives you links in gnome terminal
<cfbolz> there's a weird newline that I don't understand yet
dddddd has joined #pypy
mattip has quit [Ping timeout: 256 seconds]
mattip has joined #pypy
mattip has quit [Ping timeout: 256 seconds]
mattip has joined #pypy
mattip has quit [Ping timeout: 256 seconds]
sdktda has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
mattip has joined #pypy
mattip has quit [Ping timeout: 264 seconds]
mattip has joined #pypy
mattip has quit [Remote host closed the connection]
mattip has joined #pypy
BPL has joined #pypy
SunDwarf has quit [Ping timeout: 256 seconds]
SunDwarf has joined #pypy
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
xcm has quit [Ping timeout: 264 seconds]
jvesely has quit [Remote host closed the connection]
jvesely has joined #pypy
<mattip> nimaje: thanks, fixing
sdktda has quit [Quit: Leaving]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/4980 [mattip: force build, release-pypy3.6-v7.x]
CrazyPython has joined #pypy
CrazyPython has quit [Read error: Connection reset by peer]
<bbot2> Exception: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/4980 [mattip: force build, release-pypy3.6-v7.x]
jvesely has quit [Quit: jvesely]
jvesely has joined #pypy
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/4981 [mattip: force build, release-pypy3.6-v7.x]
mattip has quit [Ping timeout: 250 seconds]
mattip has joined #pypy
<antocuni> cfbolz: and of course in the best pytest tradition, it doesn't work with my version :(
mattip has quit [Ping timeout: 256 seconds]
<cfbolz> antocuni: haha, yes, sorry, it doesn't work with pypy's version either :-)
<cfbolz> will try to hack more
<antocuni> so, which version does it work with? :)
<antocuni> ah, it seems I have a very old one, 2.8.1
<cfbolz> 5.4.1 is what I have
<cfbolz> 4.6.6 seem to work too
<antocuni> indeed, it works for me with 5.4.1
<antocuni> nice and useful
<cfbolz> antocuni: do you get the line breaks?
<cfbolz> right
<cfbolz> I'd like to fix that
<cfbolz> but I don't understand the problem yet
<cfbolz> well, tomorrow, maybe
mattip has joined #pypy
CrazyPython has joined #pypy
CrazyPython has quit [Read error: Connection reset by peer]
CrazyPython has joined #pypy
CrazyPython has quit [Remote host closed the connection]
<mattip> ronan: on macos, py3.6 many pypy-c-jit-macosx-x86-64 pypy.module.cpyext.tests are failing with
<mattip> E ImportError: No module named pycparser
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/4981 [mattip: force build, release-pypy3.6-v7.x]
<mattip> is this coming from the host python2 testrunner?
jacob22 has quit [Quit: Konversation terminated!]
mattip has quit [Ping timeout: 260 seconds]
jacob22 has joined #pypy
mattip has joined #pypy
CrazyPython has joined #pypy
<jneen> is there a way to use an r_uint to index an array? the typer keeps telling me it can't guarantee the signedness matches...
<jneen> er, nevermind, pebkac
nedbat has quit [Quit: ZNC - http://znc.in]
CrazyPython has quit [Read error: Connection reset by peer]
nedbat has joined #pypy
lritter has quit [Ping timeout: 265 seconds]