antocuni changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://botbot.me/freenode/pypy/ ) | use cffi for calling C | "PyPy: the Gradual Reduction of Magic (tm)"
Hotpot33 has quit [Ping timeout: 240 seconds]
marr has quit [Ping timeout: 260 seconds]
energizer has quit [Ping timeout: 240 seconds]
tbodt has quit [Read error: Connection reset by peer]
<alcarithemad> so how is pypy/interpreter/astcompiler/test/test_compiler.py supposed to be used with python 3?
energizer has joined #pypy
<alcarithemad> (actually, my development env maybe unrelatedly broken; I'll fix that, then ask again if there's still an issue)
energizer has quit [Disconnected by services]
energizer has joined #pypy
<alcarithemad> okay
<alcarithemad> am I understanding correctly that this just doesn't work when the interpreter running the test suite doesn't match the version being targetted?
adamholmberg has quit [Remote host closed the connection]
danieljabailey has quit [Ping timeout: 240 seconds]
adamholmberg has joined #pypy
danieljabailey has joined #pypy
adamholmberg has quit [Read error: Connection reset by peer]
adamholm_ has joined #pypy
pybot has quit [Ping timeout: 240 seconds]
pybot has joined #pypy
adamholm_ has quit [Remote host closed the connection]
wleslie has joined #pypy
adamholmberg has joined #pypy
KhaledEz has joined #pypy
KhaledEz has quit [Client Quit]
tbodt has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
tbodt has quit [Read error: Connection reset by peer]
adamholmberg has quit [Read error: Connection reset by peer]
adamholmberg has joined #pypy
mattip has joined #pypy
<mattip> alcarithemad: you run the tests with python 2, like "python pytest.py <file>"
<alcarithemad> sure
<mattip> even if the code is the py3.6 branch
<alcarithemad> but that test invokes the builtin `compile`
adamholmberg has quit [Remote host closed the connection]
<alcarithemad> and then it attempts to run that bytecode in a new frame
<mattip> yes
<alcarithemad> so it's compiling 2.7 bytecode and running in a 3.6 interpreter?
adamholmberg has joined #pypy
<alcarithemad> is the expectation that evalexpr will be short/simple enough to always be valid across versions like that?
<mattip> yes, only the tests in this file
<alcarithemad> okay
<mattip> you may get better answers during European hours
<alcarithemad> I find that whole thing generally weird
tbodt has joined #pypy
<alcarithemad> but especially because the "simplicity invariant" doesn't seem to be documented there
wleslie has quit [Ping timeout: 265 seconds]
<alcarithemad> and some straightforward things generate very different bytecode between versions
<alcarithemad> for example, dict literals
<mattip> there are many layers to put the whole thing together
wleslie has joined #pypy
mattip has quit [Quit: Leaving]
wleslie has quit [Client Quit]
mattip has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
jcea has quit [Quit: jcea]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<alcarithemad> I guess my followup question is: why is it done that way and not by using pypy's compiler?
Hotpot33 has joined #pypy
adamholmberg has quit [Remote host closed the connection]
<mattip> dunno, I guess it was written in spiral layers too, maybe now we could refactor it
<alcarithemad> well, for now I'll write my tests so that they work without touching that
<mattip> what are you working on?
<alcarithemad> but I did try replacing the `compile` with `compile_with_astcompiler` and that all the tests in the file still pass in similar runtime
<alcarithemad> I'm implementing PEP 526, type annotations for variables
<mattip> cool
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 256 seconds]
infernix has quit [Ping timeout: 248 seconds]
<kenaan_> mattip default fc85b98a24e2 /pypy/module/posix/app_posix.py: raise IOError not OSError
<kenaan_> mattip py3.5 46506daf1ecd /pypy/module/: remove traces of is_valid_fd since merge of msvc14
infernix has joined #pypy
lritter__ has joined #pypy
lritter_ has quit [Ping timeout: 256 seconds]
dddddd has quit [Remote host closed the connection]
<kenaan_> mattip buildbot c4060955142b /bot2/pypybuildbot/master.py: unschedule BSD nightly builds
mattip has quit [Quit: bye]
Hotpot33 has quit [Ping timeout: 248 seconds]
Hotpot33 has joined #pypy
<njs> pypy3 nightly is crashing on "pypy3 -m ensurepip"
jamadden has quit [Quit: Leaving.]
tayfun26 has joined #pypy
oberstet has joined #pypy
<arigato> alcarithemad: test_compiler.check() was written long ago, nowadays it doesn't really make sense for new features
<alcarithemad> ah
<arigato> see test_fstring() in the same file, or more importantly, how f-strings are really tested, which is in other files
<arigato> I think test_fstring in this file was my own attempt to do the same as you, i.e. write a test in test_compiler, before I gave up and wrote more relevant tests elsewhere
<alcarithemad> arigato: I think I understand now, thanks
inhahe has quit [Ping timeout: 240 seconds]
inhahe has joined #pypy
jamadden has joined #pypy
jamadden has quit [Client Quit]
jacob22__ has joined #pypy
jacob22__ has quit [Ping timeout: 256 seconds]
energizer has quit [Disconnected by services]
energizer has joined #pypy
energizer has quit [Ping timeout: 260 seconds]
<cfbolz> arigato: you might enjoy this paper: http://www.cs.cmu.edu/~tom7/abc/paper.txt
<cfbolz> Needs to be viewed with a terminal width of 160
<cfbolz> Boring
<cfbolz> You can't run the PDF
ssbr has quit [Ping timeout: 252 seconds]
ionelmc has quit []
ionelmc has joined #pypy
jcea has joined #pypy
ssbr has joined #pypy
inad922 has joined #pypy
marr has joined #pypy
lritter__ has quit [Ping timeout: 240 seconds]
jamadden has joined #pypy
jcea has quit [Quit: jcea]
jcea has joined #pypy
marky1991 has joined #pypy
untitaker has quit []
untitaker has joined #pypy
ebarrett has quit [Quit: WeeChat 1.9.1]
marky1991 has quit [Ping timeout: 268 seconds]
jamadden has quit [Ping timeout: 248 seconds]
<kenaan_> mattip default 8fdeeb9d6730 /pypy/objspace/std/mapdict.py: disable mapdict-size-limit, broken for unicode
<kenaan_> mattip py3.5 38f2eb1313e4 /pypy/: merge default into py3.5, disable mapdict-size-limit
raynold has quit [Quit: Connection closed for inactivity]
Rhy0lite has joined #pypy
<bbot2> Started: http://buildbot.pypy.org/builders/own-win-x86-32/builds/1692 [mattip: force build, py3.5]
oberstet has quit [Ping timeout: 240 seconds]
oberstet has joined #pypy
marky1991 has joined #pypy
jamadden has joined #pypy
jamadden has quit [Ping timeout: 276 seconds]
adamholmberg has joined #pypy
jamadden has joined #pypy
marky1991 has quit [Ping timeout: 255 seconds]
tayfun26 has quit [Quit: tayfun26]
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
adamholm_ has joined #pypy
adamholmberg has quit [Ping timeout: 256 seconds]
jacob22__ has joined #pypy
adamholm_ has quit [Remote host closed the connection]
adamholmberg has joined #pypy
oberstet has quit [Ping timeout: 255 seconds]
adamholm_ has joined #pypy
adamholm_ has quit [Read error: Connection reset by peer]
adamholmberg has quit [Read error: Connection reset by peer]
adamholmberg has joined #pypy
jacob22__ has quit [Ping timeout: 240 seconds]
raynold has joined #pypy
oberstet has joined #pypy
tbodt has joined #pypy
inad922 has quit [Ping timeout: 256 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
tbodt has joined #pypy
inad922 has joined #pypy
energizer has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
inad922 has quit [Ping timeout: 240 seconds]
inad922 has joined #pypy
oberstet has quit [Ping timeout: 240 seconds]
tbodt has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
john51 has quit [Remote host closed the connection]
john51 has joined #pypy
adamholmberg has quit [Ping timeout: 240 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
adamholmberg has joined #pypy
tbodt has joined #pypy
dddddd has joined #pypy
tbodt has quit [Read error: Connection reset by peer]
tbodt has joined #pypy
tbodt has quit [Client Quit]
inad922 has quit [Ping timeout: 256 seconds]
inad922 has joined #pypy
adamholmberg has quit [Remote host closed the connection]
inad922 has quit [Ping timeout: 255 seconds]
marky1991 has quit [Ping timeout: 240 seconds]
Rhy0lite has quit [Quit: Leaving]
<kenaan_> Alexander Schremmer extradoc 12294fb40176 /sprintinfo/leysin-winter-2018/people.txt: Add myself to winter sprint.
jamadden has quit [Ping timeout: 256 seconds]
tbodt has joined #pypy
jamadden has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
lritter__ has joined #pypy
jamesaxl has quit [Quit: WeeChat 2.0.1]
redj has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
marky1991 has joined #pypy
adamholmberg has joined #pypy
pjenvey has quit [Read error: Connection reset by peer]
pjenvey has joined #pypy
huonw has quit [Ping timeout: 240 seconds]
huonw has joined #pypy
infernix has quit [Remote host closed the connection]
marky1991 has quit [Ping timeout: 256 seconds]
drolando has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
adamholmberg has quit [Remote host closed the connection]
drolando has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-win-x86-32/builds/1692 [mattip: force build, py3.5]