cfbolz changed the topic of #pypy to: #pypy PyPy, the flexible snake https://pypy.org | IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end and https://libera.irclog.whitequark.org/pypy | hacking on TLS is fun, way more fun than arguing over petty shit, turns out
Julian has quit [Ping timeout: 256 seconds]
Jose_ has quit [Ping timeout: 245 seconds]
wleslie has joined #pypy
stkrdknmibalz has quit [Quit: WeeChat 3.0.1]
Atque has quit [Remote host closed the connection]
Atque has joined #pypy
<cfbolz> mjacob: that’s fine
<cfbolz> mjacob: commit looks good
<cfbolz> mjacob: are you using Revdb?
<mjacob> cfbolz: let's put it that way: if i debug python code and have to do more than just looking around, i always use revdb if possible
<mjacob> i hate stepping through code with a traditional debugger, trying to find the source of some problem
<cfbolz> mjacob: awesome
<cfbolz> mjacob: does it work with cffi extensions?
<mjacob> cfbolz: yes, unless they use something which doesn't work with revdb
<mjacob> like https://bpa.st/NMWQ
<mjacob> everytime i upgrade revdb, i hit a problem in _cffi_ssl :(
<mjacob> but i've thrown away the old binary of revdb supporting python 3.5, so i need to find a fix
<cfbolz> mjacob: ssl is basically equally annoyed
<cfbolz> Annoying to all of us
greedom has joined #pypy
<cfbolz> mjacob: you should make a video explaining how you use it, it's still really unknown
<mjacob> cfbolz: armin had made one years ago, and i don't see why anyone would watch a video i made :)
<cfbolz> because you actually use it ;-)
<mjacob> i planned giving a talk at the local python user group in leipzig, so i was not there (even as a visitor) since the start of the pandemic
<mjacob> s/so/but/
<cfbolz> mjacob: that sounds great
greedom has quit [Remote host closed the connection]
greedom has joined #pypy
<ctismer> On the other hand, small numbers in C seem not to preserve identity.
<cfbolz> ctismer: yes, you cannot use pointer equality in C
<cfbolz> I mean you can
<cfbolz> But it'll be weird for ints
<cfbolz> And str, float, bytes
<cfbolz> Cpython will get a macro for that soon, I think
<cfbolz> (need to ask vstinner)
<ctismer> cfbolz: so there is no small integer that preserves identity? Ok, have to undo this shortcut. At the moment it doesn't matter either because selectable features cannot be enabled (need no be able to exchange the whole __dict__ of a type)
<cfbolz> ctismer: no, small integers aren't cached
<cfbolz> It interferes with the JIT unboxing of ints
<agronholm> hey guys, I found something strange with pypy3.8 that doesn't happen with pypy3.7 (7.3.7): https://github.com/agronholm/typeguard/runs/4198401860?check_suite_focus=true
<agronholm> basically there's a conditional dependency for typing_extensions on python_version < '3.9' which does not get installed on pypy3.8 but does for pypy3.7
<agronholm> at it correctly gets installed on cpython 3.8
<agronholm> this is with latest pip installed
<agronholm> looks like my install requirement specification was wrong; it's a mystery how it worked at all
<agronholm> could be that typing_extensions was brought in by a transitive dependency
Atque has quit [Ping timeout: 276 seconds]
Atque has joined #pypy
amauryfa has joined #pypy
<mattip> it seems our tests of app_main have been broken for a while on py3.7, py3.8
<mattip> because the untranslated tests are run with a cpython3.7 or cpython3.8, which are only available on the buildbot after an update to manylinux2014
<mattip> so now I discovered that CPython inserts '' into sys.path[0], where we insert the cwd when interactive
<mattip> or when run with stdin
<arigo> mjacob: about revdb: great to see someone using it. If you do, I'm up for fixing any new issue that invariably show up over time
<mattip> I am surprised we didn't get an issue about differences when running interactively about doing something like
<mattip> import os; os.chdir('dir/with/script'); import script
<mattip> which doesn't work on pypy but does work on CPython
<arigo> mjacob: specifically, about the "cannot be rendered as a plain raw address" error on revdb, I think I had a plan at some point in the past to fix it in general; with some motivation I could give it another try
Guest47 has joined #pypy
Guest47 has quit [Quit: Client closed]
Atque has quit [Quit: ...]
Atque has joined #pypy
Atque has quit [Remote host closed the connection]
Atque has joined #pypy
greedom has quit [Remote host closed the connection]
greedom has joined #pypy
greedom has quit [Remote host closed the connection]
greedom has joined #pypy
amauryfa has quit [Remote host closed the connection]
amauryfa has joined #pypy
<cfbolz> we really need to work on startup and warmup at some point again
<cfbolz> just unmarshalling is 3x slower in pypy
mattip has quit [Ping timeout: 250 seconds]
mattip has joined #pypy
<cfbolz> ugh, why is there a new failing tests in the marshal module?
<cfbolz> mattip: any clue?
Julian has joined #pypy
<cfbolz> pffffff, it only happens when you delete pycs before running tests
Julian has quit [Ping timeout: 260 seconds]
<cfbolz> some surrogate problem
charlie_sando has quit [Quit: Leaving]
<mattip> is it only windows?
amauryfa has quit [Remote host closed the connection]
amauryfa has joined #pypy
<mattip> only windows, and only py3.7
Atque has quit [Quit: ...]
amauryfa has quit [Remote host closed the connection]
amauryfa has joined #pypy
<cfbolz> mattip: no, it fails on my Linux laptop too
<mattip> weird, it is not failing on the buildbots afaict
amauryfa has quit [Remote host closed the connection]
amauryfa has joined #pypy
<mattip> if I go to http://buildbot.pypy.org/summary which is a summary of all the branches and search for test_unmarshal_ascii, only the windows failure shows up
<cfbolz> Pretty weird
<mattip> maybe a bug in the host python2 that is running the test
<mattip> for windows that is Python 2.7.18[pypy-7.3.6-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
<mattip> which I guess is the same pypy as for translation, hg hash 46fb2ebdc3ed, Jul 21 2021
amauryfa has quit [Ping timeout: 268 seconds]
<cfbolz> mattip: I've been running it on pypy2 even
<cfbolz> it's really about surrogates I think
<cfbolz> mattip: are the buildbot checkouts completely cleaned out between runs? pycs removed?
ctismer has quit [Ping timeout: 256 seconds]
<cfbolz> mattip: I'll need your help with this, I am extreeeemely mystified
ctismer has joined #pypy
<mattip> cfbolz: both you and the windows buildbot are running the tests with pypy2 pytest.py ...
<cfbolz> right
<mattip> where all the other buildbots are running cpython2 ptest.py ...
<cfbolz> by now it looks like a JIT bug, honestly
<mattip> ahh, with jit --off it passes?
* mattip off zzz
<cfbolz> yep
<cfbolz> I should sleep too :-/
greedom has quit [Read error: Connection reset by peer]
greedom has joined #pypy