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
infernix has joined #pypy
_whitelogger has joined #pypy
Rhy0lite has quit [Quit: Leaving]
jcea has quit [Quit: jcea]
oberstet has quit [Quit: Leaving]
atomizer has quit [*.net *.split]
iko_ has quit [*.net *.split]
lastmikoi has quit [*.net *.split]
danilonc has quit [*.net *.split]
ulope has quit [*.net *.split]
runciter has quit [*.net *.split]
bogner has quit [*.net *.split]
epony has quit [*.net *.split]
epony has joined #pypy
epony has quit [Max SendQ exceeded]
epony has joined #pypy
fling has quit [Ping timeout: 246 seconds]
iko_ has joined #pypy
runciter has joined #pypy
danilonc has joined #pypy
atomizer has joined #pypy
lastmikoi has joined #pypy
ulope has joined #pypy
bogner has joined #pypy
epony has quit [Remote host closed the connection]
epony has joined #pypy
_whitelogger has joined #pypy
forgottenone has joined #pypy
_whitelogger has joined #pypy
otisolsen70 has joined #pypy
<LarstiQ> mattip: do they fail on the buildbot and falsely claim to pass, or is there something else on the buildbot making them pass unlike a local env?
kbtr has quit [Ping timeout: 240 seconds]
Cheery has quit [Ping timeout: 240 seconds]
kbtr has joined #pypy
Cheery has joined #pypy
tsaka__ has joined #pypy
oberstet has joined #pypy
tsaka__ has quit [Ping timeout: 260 seconds]
* arigo fixes typo in sysconfig_pypy.py
<arigo> mattip, LarstiQ: unsure if that answers the question, but http://buildbot.pypy.org/summary?builder=pypy-c-jit-win-x86-32&category=win32&branch=py3.7 shows many failures too, including 12 in test_datetime
<arigo> ah sorry, you meant you're also getting many errors on linux64
<mattip> yup, but only when I rerun the test locally
<mattip> the implementation of utf8_encode_locale_surrogateescape is wrong
<mattip> or rather there is a problem in module/_codecs/locale_codec.c pypy_wchar2char?
dddddd_ is now known as dddddd
tsaka__ has joined #pypy
forgottenone has quit [Ping timeout: 264 seconds]
rubdos_ is now known as rubdos
<mattip> ahh, maybe the build machine is using a different locale than me, so linux64 utf8_encode_locale_surrogateescape passes on the buildbot and fails locally
travis-ci has joined #pypy
<travis-ci> arigo/ffi#97 (master - bc74f2c : Armin Rigo): The build is still failing.
travis-ci has left #pypy [#pypy]
<arigo> sorry for the above notification
<arigo> it's coming from an 8-years-old github project where I just pushed an update of the cffi web site in the README.md
<mattip> cool
tsaka__ has quit [Ping timeout: 240 seconds]
tsaka__ has joined #pypy
tsaka__ has quit [Ping timeout: 246 seconds]
Rhy0lite has joined #pypy
<mattip> hmm. running this from the command line raises
<mattip> python3 -c "import time; print(time.strftime('%y\ud800'))"
<mattip> but running inside the repl
<mattip> >>> import time
<mattip> >>> time.strftime('%y\ud800')
<mattip> prints `20\ud800'
<mattip> for me, on pypy3.7 HEAD both raise an rpython UnicoeEncodeError
<mattip> (on linux64)
<mattip> pypy3.6-v7.3.1 raises the same rpython UnicodeEncodeError
<mattip> I see what the solution is, but I would like to understand why cpython3 works inside the repl
tsaka__ has joined #pypy
dmalcolm__ has quit [Quit: Leaving]
dmalcolm has joined #pypy
_whitelogger has joined #pypy
<mattip> grr. calling C functions like strftime in tests untranslated on windows gets the function from the runtime of the python doing the hosting
<mattip> which is the wrong runtime for our FdValidator context manager that is supposed to setup a enter_suppress_iph handler
<mattip> so calling the function segfaults
<mattip> instead of returning -1
<mattip> s/segfaults/exits/
todda7 has joined #pypy
tsaka__ has quit [Ping timeout: 272 seconds]
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
<mattip> maybe I can tweak ll2ctypes get_libc_name with the platform version?
marky1991 has quit [Ping timeout: 256 seconds]
<LarstiQ> mattip: fwiw, my `Python 3.8.5 (default, Jul 20 2020, 00:00:00)` behaves the same as your cpython
camelCaser has quit [Ping timeout: 256 seconds]
camelCaser has joined #pypy
lritter has joined #pypy
Smigwell has joined #pypy
Rhy0lite has quit [Ping timeout: 240 seconds]
todda7 has quit [Remote host closed the connection]
todda7 has joined #pypy
Rhy0lite has joined #pypy
marky1991 has joined #pypy
Rhy0lite has quit [Ping timeout: 246 seconds]
marky1991 has quit [Ping timeout: 246 seconds]
Rhy0lite has joined #pypy
epsilonKNOT has quit [Ping timeout: 240 seconds]
Taggnostr has quit [Remote host closed the connection]
jcea has joined #pypy
Taggnostr has joined #pypy
Smigwell has left #pypy [#pypy]
lritter has quit [Quit: Leaving]
oberstet has quit [Quit: Leaving]