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
tsaka__ has joined #pypy
xcm has quit [Ping timeout: 245 seconds]
bionicpup64_2042 has joined #pypy
xcm has joined #pypy
CrazyPython has quit [Remote host closed the connection]
jcea has joined #pypy
bionicpup64_2042 has quit [Ping timeout: 276 seconds]
tsaka__ has quit [Ping timeout: 265 seconds]
tsaka__ has joined #pypy
_whitelogger has joined #pypy
lritter has quit [Ping timeout: 276 seconds]
tsaka__ has quit [Ping timeout: 276 seconds]
xcm has quit [Killed (wolfe.freenode.net (Nickname regained by services))]
xcm has joined #pypy
jcea has quit [Quit: jcea]
<mattip_> it turns out we need to update the python2.7 ssl to work with openssl 1.1.1
jacob22 has quit [Read error: Connection reset by peer]
jacob22 has joined #pypy
<mattip_> we are using python2.7.13, in the mean time CPython now has 2.7.17
<mattip_> I wonder if they will do a 2.7.18 final before closing that branch
<mattip_> other than that, and some tcl int/long confusion, the python2 build with that buildslave image seems clean now
tsaka__ has joined #pypy
inhahe has quit []
inhahe has joined #pypy
tsaka__ has quit [Ping timeout: 276 seconds]
<tumbleweed> mattip_: err, it should work with openssl 1.1.1, just fine
<tumbleweed> but there was a new flag in 1.1.1, exposed in cpython 2.7.16
<tumbleweed> and TLS 1.3 support in cpython 2.7.15
jvesely has quit [Quit: jvesely]
zmt01 has joined #pypy
zmt00 has quit [Ping timeout: 245 seconds]
tsaka__ has joined #pypy
<mattip_> tumbleweed: right, so we should update from 2.7.13 to get the new goodness
xcm is now known as Guest22553
Guest22553 has quit [Killed (cherryh.freenode.net (Nickname regained by services))]
xcm has joined #pypy
tsaka__ has quit [Ping timeout: 240 seconds]
tsaka__ has joined #pypy
tsaka__ has quit [Ping timeout: 240 seconds]
tsaka__ has joined #pypy
tsaka__ has quit [Ping timeout: 252 seconds]
ionelmc has joined #pypy
tsaka__ has joined #pypy
tsaka__ has quit [Ping timeout: 276 seconds]
tsaka__ has joined #pypy
danchr_ is now known as danchr
wleslie_ is now known as wleslie
tsaka__ has quit [Ping timeout: 276 seconds]
nopf has quit [Ping timeout: 240 seconds]
<arigato> antocuni: hpy benchmarks: great news
nopf has joined #pypy
<antocuni> arigato: FWIW it's unrelated to hpy itself, but it seems that one of the bottlenecks of the benchmark is rffi.wcharpsize2utf8
tsaka__ has joined #pypy
<cfbolz> antocuni: there are definitely a lot such corner cases in pypy3
<cfbolz> I fixed a few in the summer
<antocuni> ok, good to know
<antocuni> so I should not be surprised to find them
<cfbolz> nope, unfortunately not
tsaka__ has quit [Ping timeout: 240 seconds]
<arigato> nothing obviously wrong with wcharpsize2utf8...
<antocuni> if I analyized it correctly in callgrind, it seems to be ~30-40% slower than the cpython equivalent
<arigato> it's probably faster in CPython because it's building a ascii or latin1 or UCS2 string
<arigato> from a UCS4 string
<antocuni> ah, I see
tsaka__ has joined #pypy
<antocuni> I should find a json file which contains lots of long strings with an emoji at the end 😅
<arigato> yes :-)
<arigato> or also, find a program that does various things with the strings, instead of just building the data structure and throwing it away
<antocuni> it might be enough to write a benchmark which redumps objects into json again
<arigato> unclear, the reverse transformation from utf8 to ucs4 is also a bit more costly than from ascii or ucs2
<arigato> we really win a lot with our utf8 internals if data is always utf8
<antocuni> no, to dump into json you need to convert to utf8
<arigato> uh
<antocuni> (I think?)
<arigato> I thought json files were supposed to be ucs2, but maybe I'm wrong
marmoute_ is now known as marmoute
<arigato> ah no, they are supposed to be utf8
<arigato> OK then why is wcharsize2utf8 even called?
<arigato> the ujson library decodes utf8 to wchar_t?
<arigato> and we need to re-encode it in utf8?
<antocuni> it seems so
<arigato> no wonder the built-in json can do better
<antocuni> ujson is written as a generic C libraries, and a set of callbacks which are called to construct the resulting data structures
<antocuni> for strings, we have Object_newString which takes wchar_t* and calls HPyUnicode_FromWideChar
<antocuni> well, I suppose it made sense when they wrote it for CPython
tsaka__ has quit [Ping timeout: 265 seconds]
<arigato> long ago
<arigato> it doesn't really make sense from CPython 3.3 onwards
<arigato> but I can see the reasoning too, which is that the exact details of the decoding of utf8 are probably slightly different than CPython's own (e.g. accepting/rejecting surrogates)
tsaka__ has joined #pypy
tsaka__ has quit [Ping timeout: 246 seconds]
oberstet has joined #pypy
tsaka__ has joined #pypy
tsaka__ has quit [Ping timeout: 276 seconds]
tsaka__ has joined #pypy
ekaologik has joined #pypy
jcea has joined #pypy
tsaka__ has quit [Ping timeout: 268 seconds]
tsaka__ has joined #pypy
marky1991 has joined #pypy
Rhy0lite has joined #pypy
lritter has joined #pypy
jvesely has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
oberstet has quit [Quit: Leaving]
dddddd has joined #pypy
jcea has quit [Remote host closed the connection]
senyai has quit [Quit: Leaving]
bionicpup64_2042 has joined #pypy
senyai has joined #pypy
bionicpup64_2042 has quit [Ping timeout: 276 seconds]
jvesely has quit [Quit: jvesely]
Ai9zO5AP has joined #pypy
i9zO5AP has quit [Ping timeout: 276 seconds]
<mattip_> I think I found the problem with the aarch64 pypyjit tests and the rpython/_cache
<mattip_> the tests are failing since the rpython/_cache/_bootstrap_external file cannot be un-marshalled
<mattip_> but the hg clean step does not seem to be removing it
<mattip_> b9eacb5f9a98 assumes test_all.py is called once per test run, but there are tests of the test runner
<mattip_> in testrunner/test/test_runner.py and pypy/tool/pytest/test/test_conftest1.py
<mattip_> but I think those should not be run regularly
jcea has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
marky1991 has quit [Read error: Connection reset by peer]
marky1991 has joined #pypy
oberstet has joined #pypy
Rhy0lite has quit [Quit: Leaving]
<kenaan> rlamy default ad72005340fd /pypy/interpreter/test/test_generator.py: Modernise raises() syntax
<kenaan> rlamy default fa48adb1543c /pypy/interpreter/test/test_generator.py: Remove unnecessary exec
<kenaan> rlamy py3.6 53a811878c10 /pypy/interpreter/test/test_generator.py: hg merge default
mattip_ is now known as mattip
jvesely has joined #pypy
inhahe has quit [Read error: Connection reset by peer]
inhahe has joined #pypy
<kenaan> arigo default c3817c90d7af /rpython/rlib/rposix.py: Issue #3125 Ooops!
<kenaan> rlamy py3.6 840f39388700 /pypy/interpreter/test/: Move an asyncgen test to apptest_coroutine, next to the other ones
<kenaan> rlamy py3.6 be7ab887a851 /pypy/interpreter/test/apptest_coroutine.py: Clean up test
<kenaan> rlamy py3.6 df95b7b0b5c6 /pypy/interpreter/test/test_generator.py: Modernise raises() syntax
inhahe has quit [Read error: Connection reset by peer]
inhahe has joined #pypy
ekaologik has quit [Quit: https://quassel-irc.org - Komfortabler Chat. Überall.]
jcea has quit [Remote host closed the connection]
nimaje has quit [Read error: Connection reset by peer]
nimaje has joined #pypy