00:01
Hotpot33 has quit [Ping timeout: 240 seconds]
00:10
marr has quit [Ping timeout: 260 seconds]
00:24
energizer has quit [Ping timeout: 240 seconds]
00:30
tbodt has quit [Read error: Connection reset by peer]
00:44
<
alcarithemad >
so how is pypy/interpreter/astcompiler/test/test_compiler.py supposed to be used with python 3?
00:45
energizer has joined #pypy
00:45
<
alcarithemad >
(actually, my development env maybe unrelatedly broken; I'll fix that, then ask again if there's still an issue)
00:56
energizer has quit [Disconnected by services]
00:56
energizer has joined #pypy
00:58
<
alcarithemad >
okay
00:58
<
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?
01:16
adamholmberg has quit [Remote host closed the connection]
01:16
danieljabailey has quit [Ping timeout: 240 seconds]
01:16
adamholmberg has joined #pypy
01:17
danieljabailey has joined #pypy
01:18
adamholmberg has quit [Read error: Connection reset by peer]
01:18
adamholm_ has joined #pypy
01:19
pybot has quit [Ping timeout: 240 seconds]
01:19
pybot has joined #pypy
01:28
adamholm_ has quit [Remote host closed the connection]
01:28
wleslie has joined #pypy
01:33
adamholmberg has joined #pypy
01:33
KhaledEz has joined #pypy
01:36
KhaledEz has quit [Client Quit]
01:42
tbodt has joined #pypy
01:42
adamholmberg has quit [Remote host closed the connection]
01:43
adamholmberg has joined #pypy
01:43
tbodt has quit [Read error: Connection reset by peer]
01:44
adamholmberg has quit [Read error: Connection reset by peer]
01:45
adamholmberg has joined #pypy
01:51
mattip has joined #pypy
01:53
<
mattip >
alcarithemad: you run the tests with python 2, like "python pytest.py <file>"
01:53
<
alcarithemad >
sure
01:54
<
mattip >
even if the code is the py3.6 branch
01:55
<
alcarithemad >
but that test invokes the builtin `compile`
01:55
adamholmberg has quit [Remote host closed the connection]
01:56
<
alcarithemad >
and then it attempts to run that bytecode in a new frame
01:57
<
alcarithemad >
so it's compiling 2.7 bytecode and running in a 3.6 interpreter?
01:58
adamholmberg has joined #pypy
01:58
<
alcarithemad >
is the expectation that evalexpr will be short/simple enough to always be valid across versions like that?
02:00
<
mattip >
yes, only the tests in this file
02:01
<
alcarithemad >
okay
02:01
<
mattip >
you may get better answers during European hours
02:02
<
alcarithemad >
I find that whole thing generally weird
02:02
tbodt has joined #pypy
02:02
<
alcarithemad >
but especially because the "simplicity invariant" doesn't seem to be documented there
02:02
wleslie has quit [Ping timeout: 265 seconds]
02:02
<
alcarithemad >
and some straightforward things generate very different bytecode between versions
02:02
<
alcarithemad >
for example, dict literals
02:03
<
mattip >
there are many layers to put the whole thing together
02:03
wleslie has joined #pypy
02:04
mattip has quit [Quit: Leaving]
02:06
wleslie has quit [Client Quit]
02:07
mattip has joined #pypy
02:08
adamholmberg has quit [Remote host closed the connection]
02:11
adamholmberg has joined #pypy
02:14
jcea has quit [Quit: jcea]
02:17
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
02:18
<
alcarithemad >
I guess my followup question is: why is it done that way and not by using pypy's compiler?
02:18
Hotpot33 has joined #pypy
02:20
adamholmberg has quit [Remote host closed the connection]
02:22
<
mattip >
dunno, I guess it was written in spiral layers too, maybe now we could refactor it
02:23
<
alcarithemad >
well, for now I'll write my tests so that they work without touching that
02:23
<
mattip >
what are you working on?
02:23
<
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
02:24
<
alcarithemad >
I'm implementing PEP 526, type annotations for variables
02:25
adamholmberg has joined #pypy
02:30
adamholmberg has quit [Ping timeout: 256 seconds]
03:04
infernix has quit [Ping timeout: 248 seconds]
03:24
<
kenaan_ >
mattip default fc85b98a24e2 /pypy/module/posix/app_posix.py: raise IOError not OSError
03:24
<
kenaan_ >
mattip py3.5 46506daf1ecd /pypy/module/: remove traces of is_valid_fd since merge of msvc14
03:27
infernix has joined #pypy
03:38
lritter__ has joined #pypy
03:42
lritter_ has quit [Ping timeout: 256 seconds]
03:47
dddddd has quit [Remote host closed the connection]
03:58
<
kenaan_ >
mattip buildbot c4060955142b /bot2/pypybuildbot/master.py: unschedule BSD nightly builds
04:06
mattip has quit [Quit: bye]
04:17
Hotpot33 has quit [Ping timeout: 248 seconds]
04:21
Hotpot33 has joined #pypy
05:03
<
njs >
pypy3 nightly is crashing on "pypy3 -m ensurepip"
06:09
jamadden has quit [Quit: Leaving.]
06:19
tayfun26 has joined #pypy
06:25
oberstet has joined #pypy
07:05
<
arigato >
alcarithemad: test_compiler.check() was written long ago, nowadays it doesn't really make sense for new features
07:06
<
arigato >
see test_fstring() in the same file, or more importantly, how f-strings are really tested, which is in other files
07:07
<
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
07:37
<
alcarithemad >
arigato: I think I understand now, thanks
08:07
inhahe has quit [Ping timeout: 240 seconds]
08:08
inhahe has joined #pypy
08:24
jamadden has joined #pypy
08:25
jamadden has quit [Client Quit]
08:40
jacob22__ has joined #pypy
08:52
jacob22__ has quit [Ping timeout: 256 seconds]
09:40
energizer has quit [Disconnected by services]
09:40
energizer has joined #pypy
10:17
energizer has quit [Ping timeout: 260 seconds]
10:34
<
cfbolz >
Needs to be viewed with a terminal width of 160
10:36
<
cfbolz >
You can't run the PDF
10:42
ssbr has quit [Ping timeout: 252 seconds]
10:46
ionelmc has quit []
10:46
ionelmc has joined #pypy
10:47
jcea has joined #pypy
10:54
ssbr has joined #pypy
11:01
inad922 has joined #pypy
11:08
marr has joined #pypy
11:24
lritter__ has quit [Ping timeout: 240 seconds]
11:25
jamadden has joined #pypy
11:48
jcea has quit [Quit: jcea]
11:50
jcea has joined #pypy
11:56
marky1991 has joined #pypy
11:56
untitaker has quit []
11:57
untitaker has joined #pypy
12:08
ebarrett has quit [Quit: WeeChat 1.9.1]
12:21
marky1991 has quit [Ping timeout: 268 seconds]
12:44
jamadden has quit [Ping timeout: 248 seconds]
13:22
<
kenaan_ >
mattip default 8fdeeb9d6730 /pypy/objspace/std/mapdict.py: disable mapdict-size-limit, broken for unicode
13:22
<
kenaan_ >
mattip py3.5 38f2eb1313e4 /pypy/: merge default into py3.5, disable mapdict-size-limit
13:25
raynold has quit [Quit: Connection closed for inactivity]
13:26
Rhy0lite has joined #pypy
14:29
oberstet has quit [Ping timeout: 240 seconds]
14:50
oberstet has joined #pypy
14:54
marky1991 has joined #pypy
15:00
jamadden has joined #pypy
15:07
jamadden has quit [Ping timeout: 276 seconds]
15:14
adamholmberg has joined #pypy
15:15
jamadden has joined #pypy
15:17
marky1991 has quit [Ping timeout: 255 seconds]
15:29
tayfun26 has quit [Quit: tayfun26]
15:44
marky1991 has joined #pypy
15:44
marky1991 has quit [Remote host closed the connection]
15:44
marky1991 has joined #pypy
15:56
adamholm_ has joined #pypy
15:58
adamholmberg has quit [Ping timeout: 256 seconds]
16:07
jacob22__ has joined #pypy
16:19
adamholm_ has quit [Remote host closed the connection]
16:20
adamholmberg has joined #pypy
16:21
oberstet has quit [Ping timeout: 255 seconds]
16:21
adamholm_ has joined #pypy
16:22
adamholm_ has quit [Read error: Connection reset by peer]
16:23
adamholmberg has quit [Read error: Connection reset by peer]
16:25
adamholmberg has joined #pypy
16:35
jacob22__ has quit [Ping timeout: 240 seconds]
16:38
raynold has joined #pypy
16:55
oberstet has joined #pypy
17:04
tbodt has joined #pypy
17:06
inad922 has quit [Ping timeout: 256 seconds]
18:39
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
18:44
marky1991 has quit [Remote host closed the connection]
18:46
marky1991 has joined #pypy
18:47
tbodt has joined #pypy
19:10
inad922 has joined #pypy
19:21
energizer has joined #pypy
19:26
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
19:29
inad922 has quit [Ping timeout: 240 seconds]
19:32
inad922 has joined #pypy
19:45
oberstet has quit [Ping timeout: 240 seconds]
19:46
tbodt has joined #pypy
19:52
adamholmberg has quit [Remote host closed the connection]
19:53
adamholmberg has joined #pypy
19:54
john51 has quit [Remote host closed the connection]
19:55
john51 has joined #pypy
19:57
adamholmberg has quit [Ping timeout: 240 seconds]
19:59
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
20:04
adamholmberg has joined #pypy
20:05
tbodt has joined #pypy
20:09
dddddd has joined #pypy
20:09
tbodt has quit [Read error: Connection reset by peer]
20:09
tbodt has joined #pypy
20:10
tbodt has quit [Client Quit]
20:10
inad922 has quit [Ping timeout: 256 seconds]
20:15
inad922 has joined #pypy
20:18
adamholmberg has quit [Remote host closed the connection]
20:22
inad922 has quit [Ping timeout: 255 seconds]
20:22
marky1991 has quit [Ping timeout: 240 seconds]
20:27
Rhy0lite has quit [Quit: Leaving]
20:35
<
kenaan_ >
Alexander Schremmer extradoc 12294fb40176 /sprintinfo/leysin-winter-2018/people.txt: Add myself to winter sprint.
20:58
jamadden has quit [Ping timeout: 256 seconds]
21:01
tbodt has joined #pypy
21:05
jamadden has joined #pypy
21:15
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
21:18
tbodt has joined #pypy
21:23
lritter__ has joined #pypy
21:37
jamesaxl has quit [Quit: WeeChat 2.0.1]
21:48
redj has joined #pypy
21:55
adamholmberg has joined #pypy
21:58
adamholmberg has quit [Remote host closed the connection]
22:05
marky1991 has joined #pypy
22:10
adamholmberg has joined #pypy
22:27
pjenvey has quit [Read error: Connection reset by peer]
22:27
pjenvey has joined #pypy
22:28
huonw has quit [Ping timeout: 240 seconds]
22:29
huonw has joined #pypy
22:29
infernix has quit [Remote host closed the connection]
22:35
marky1991 has quit [Ping timeout: 256 seconds]
22:46
drolando has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:46
adamholmberg has quit [Remote host closed the connection]
23:11
drolando has joined #pypy