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
<kenaan> rlamy py3.7 72ff9d7c73e8 /lib_pypy/_testcapimodule.c: get _testcapi to compile again
BPL has quit [Quit: Leaving]
<kenaan> rlamy buildbot 50ceac4fc422 /bot2/pypybuildbot/master.py: aarch64 shouldn't use the same lock as bencher4!
<ronan> mattip: ^^^
waldhar has joined #pypy
speeder39_ has quit [Quit: Connection closed for inactivity]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7656 [ronan: force build, py3.7]
waldhar has quit [Quit: ZNC 1.7.4 - https://znc.in]
waldhar has joined #pypy
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7658 [ronan: force build, py3.7]
xcm has quit [Ping timeout: 258 seconds]
xcm has joined #pypy
jcea has quit [Quit: jcea]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7658 [ronan: force build, py3.7]
dddddd has quit [Remote host closed the connection]
altendky has quit [Quit: Connection closed for inactivity]
<kenaan> mattip py3.6 1e244de6b3ad /lib_pypy/: fix logic in _curses.get_wch (bb-3064, patch by Anthony Sottile)
<mattip> I think something is off with the py3.6 pypy/module/faulthandler
<mattip> looking at lib-python/3/test/test_cmd_line failure, it seems calling pypy -X faulthandler does not propogate the return code from the error,
<mattip> so the function lib-python.3.test.support.script_helper._assert_python raises an AssertError
<mattip> note the "AssertionError: Process return code is 0" even though the error is printed to stderr in the test
antocuni has joined #pypy
ekaologik has joined #pypy
antocuni has quit [Ping timeout: 258 seconds]
dddddd has joined #pypy
BPL has joined #pypy
bbot2 has quit [Quit: buildmaster reconfigured: bot disconnecting]
<mattip> ronan: updated buildbot and restarted, thanks
bbot2 has joined #pypy
<mattip> even without the fault handler there is a problem checking the exit code from pypy
<mattip> ./pypy3-c -c"import sys, os; sys.stdout.write('x'); os.close(sys.stdout.fileno());"
<mattip> echo $?
<mattip> prints 120 on cpython, 0 on pypy
altendky has joined #pypy
<mattip> hmm, there is a test in test_sysmodule exactly for this case
tsaka__ has quit [Ping timeout: 245 seconds]
<kenaan> rlamy py3.6 adf9c8198875 /lib_pypy/_cffi_ssl/_stdssl/__init__.py: Correctly define ssl.HAS_TLSv1_3
<mattip> maybe writing the traceback to stderr is resetting the errno?
lesshaste has quit [Quit: Leaving]
<mattip> Py_FinalizeEx here
<mattip> explicitly checks if (flush_std_files() < 0) { status = -1;}
<mattip> and Py_Main checks that status and returns 120
<mattip> where is the comparable code for pypy?
<mattip> probably pypy/interpreter/app_main.py, but where is all the cleanup done in Py_FinalizeEx ?
<ronan> mattip: I'd say it's the finally block in entry_point()
<ronan> in pypy/goal/targetpypystandalone.py
xorAxAx has quit [Quit: Idle timeout reached: 172800s]
<kenaan> rlamy py3.7 02225b17d8ee /lib_pypy/: hg merge py3.6
<kenaan> rlamy py3.7 c45e8e15bf26 /lib_pypy/: Add some constants to _ssl
<kenaan> rlamy py3.7 f3000526edef /lib_pypy/_cffi_ssl/_stdssl/__init__.py: Adapt to 3.7 refactoring of SSLSocket (bpo-24334)
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7660 [ronan: force build, py3.7]
<ronan> pip should work now
<mattip> ronan: thanks. Maybe it should be part of space.finish() which could then return -1 and set exitcode, like Py_FinalizeEx ?
<mattip> s/and set exitcode/and entry_point would set exitcode=120/
jcea has joined #pypy
BPL has quit [Quit: Leaving]
fijal has quit [Ping timeout: 252 seconds]
lauren has quit [Ping timeout: 252 seconds]
msjyoo has quit [Ping timeout: 252 seconds]
fijal has joined #pypy
msjyoo has joined #pypy
lauren has joined #pypy
tsaka__ has joined #pypy
<ronan> mattip: +1
<kenaan> mattip py3.6 2c1cb3a4c2c5 /pypy/: test, fix for return value when stdout, stderr could not be flushed at exit
<mattip> fixed two more failing tests too, don't know why they don't show up on the buildbot summary
tsaka__ has quit [Ping timeout: 246 seconds]
<ronan> mattip: which tests?
ekaologik has quit [Quit: https://quassel-irc.org - Komfortabler Chat. Überall.]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7660 [ronan: force build, py3.7]
<kenaan> andrewjlawrence winconsoleio a8914535a9cb /: Added global sigint event
BPL has joined #pypy
<mattip> ronan: see the changes in 2c1cb3a
<mattip> test_app_main.py and pypy/interpreter/test/test_targetpypy.py
jacob22 has quit [Remote host closed the connection]
jacob22 has joined #pypy
WGH has joined #pypy
BPL has quit [Quit: Leaving]