00:36
wilbowma has quit [Ping timeout: 260 seconds]
01:37
wilbowma has joined #pypy
03:34
jcea has quit [Ping timeout: 258 seconds]
03:36
jcea has joined #pypy
04:14
jcea has quit [Ping timeout: 260 seconds]
06:03
Smigwell has quit [Ping timeout: 258 seconds]
06:54
oberstet has joined #pypy
11:37
<
arigato >
cfbolz: ah, figured out the apptest_warning issue
11:37
<
arigato >
the problem is that the unicode string can or cannot be encoded in the default encoding, depending on where it runs
11:37
<
arigato >
if it can't, then the whole warning is dropped
11:43
<
arigato >
it's really a bug: CPython calls sys.stderr.write(unicode), but pypy tries to encode things
11:45
<
arigato >
very confused
11:52
<
arigato >
CPython's warnings.py has definitely a bug
11:52
<
arigato >
it does "try: message=str(message); except UnicodeEncodeError: pass
11:52
<
arigato >
but the next line is "...%s" % (..., message)
11:52
<
arigato >
which will of course re-raise the UnicodeEncodeError just catched
11:59
<
arigato >
ah, we actually fixed it!
11:59
<
arigato >
bc4acc4caa28
11:59
<
arigato >
(i.e. I did the fix)
11:59
<
cfbolz >
arigato: right, so it's a real test
12:00
<
arigato >
but it has no chance to work on cpython
12:00
<
cfbolz >
I suppose I should have looked at the commit of that file
12:00
<
cfbolz >
ok, so we should skip it under cpython, to document this fact
12:00
<
cfbolz >
but what about the pypy failure?
12:00
<
arigato >
still looking
12:00
<
cfbolz >
thanks :-)
12:36
<
arigato >
a slightly different one doesn't cause the failure
12:49
<
arigato >
OK, it's because in this new way to run pytest, there's a "with warnings.catch_warnings(record=True) as log:"
12:49
<
arigato >
so all these warnings end up not being written
12:49
<
arigato >
including the previous one
12:49
<
arigato >
the tests don't fail until later because ''.join() of an empty string is indeed a str
12:50
<
arigato >
...''.join() of an empty list
13:15
<
cfbolz >
arigato: ouch
13:17
<
arigato >
fixed now
14:02
lritter has joined #pypy
16:21
astronavt has quit [Quit: ...]
16:23
astronavt has joined #pypy
16:25
astronavt has quit [Remote host closed the connection]
16:25
astronavt has joined #pypy
18:56
catern has quit [Ping timeout: 240 seconds]
18:59
runciter has quit [Ping timeout: 240 seconds]
19:00
catern has joined #pypy
19:00
runciter has joined #pypy
20:44
darley has joined #pypy
20:45
darley is now known as Guest67731
22:50
tos9 has quit [Ping timeout: 256 seconds]
22:51
tbodt has joined #pypy
22:57
tbodt has joined #pypy
22:58
tbodt has quit [Client Quit]
23:01
tbodt has joined #pypy
23:02
lritter has quit [Quit: Leaving]
23:04
Guest67731 has quit [Quit: Connection closed for inactivity]
23:31
Guest87173 has joined #pypy
23:32
Guest67731 has joined #pypy
23:43
tos9 has joined #pypy