2018-02-26 15:52
cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs:
https://botbot.me/freenode/pypy/ ) | use cffi for calling C | the secret reason for us trying to get PyPy users: to test the JIT well enough that we're somewhat confident about it
00:02
mattip has quit [Remote host closed the connection]
00:03
tbodt has quit [Ping timeout: 256 seconds]
00:31
dfee has quit [Ping timeout: 268 seconds]
00:48
tbodt has joined #pypy
00:52
mattip has joined #pypy
00:54
<
mattip >
one of the reasons it is hard for me to merge unicode-utf8 into py3.5 is that I do not understand the model of strings
00:55
<
mattip >
in the interpreter, we have bytes, bytes0, text, text0 and unicode
00:58
<
mattip >
that is we have visit_* in py3, but in default we have only visit_{bytes, bytes0, text, text0} no unicode
00:59
<
mattip >
then unicode-utf8 (a branch off default) adds visit_utf8, so why is that needed when visit_unicode did not exist?
01:00
<
mattip >
(this is all in interpreter/gateway.py)
01:12
dddddd has quit [Remote host closed the connection]
01:38
jcea has quit [Quit: jcea]
01:45
speeder39 has joined #pypy
01:57
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
01:58
tbodt has joined #pypy
02:15
dfee has joined #pypy
02:16
mattip has quit [Ping timeout: 240 seconds]
02:20
dfee has quit [Ping timeout: 265 seconds]
02:53
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
03:33
tbodt has joined #pypy
03:35
tbodt has quit [Client Quit]
03:37
tbodt has joined #pypy
03:40
tbodt has quit [Max SendQ exceeded]
03:41
tbodt has joined #pypy
03:43
tbodt has quit [Client Quit]
03:47
jamesaxl has quit [Quit: WeeChat 2.1]
03:47
tbodt has joined #pypy
03:49
tbodt has quit [Client Quit]
03:50
mattip has joined #pypy
03:50
tbodt has joined #pypy
03:52
tbodt has quit [Client Quit]
04:04
dfee has joined #pypy
04:09
dfee has quit [Ping timeout: 248 seconds]
04:19
fryguybob has quit [Ping timeout: 276 seconds]
04:21
fryguybob has joined #pypy
05:02
speeder39 has quit [Quit: Connection closed for inactivity]
05:32
inhahe__ has joined #pypy
05:42
tbodt has joined #pypy
05:53
dfee has joined #pypy
05:57
<
mattip >
i guess I just don't understand the underlying model
05:57
dfee has quit [Ping timeout: 260 seconds]
05:58
<
mattip >
at what point do we convert utf8 bytesstrings into unicode objects in the objspace?
06:14
Hasimir has quit [Ping timeout: 240 seconds]
06:15
Hasimir has joined #pypy
06:59
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
07:20
_whitelogger has joined #pypy
07:24
TheAdversary has quit [Ping timeout: 244 seconds]
07:24
Hasimir has quit [Ping timeout: 240 seconds]
07:42
dfee has joined #pypy
07:42
inhahe__ has quit [Ping timeout: 240 seconds]
07:46
dfee has quit [Ping timeout: 248 seconds]
07:54
dddddd has joined #pypy
08:54
antocuni has joined #pypy
09:00
marvin has quit [Ping timeout: 248 seconds]
09:31
dfee has joined #pypy
09:35
dfee has quit [Ping timeout: 240 seconds]
09:59
marvin_ has joined #pypy
10:11
antocuni has quit [Ping timeout: 260 seconds]
10:20
_whitelogger has joined #pypy
11:20
dfee has joined #pypy
11:25
dfee has quit [Ping timeout: 268 seconds]
11:51
jcea has joined #pypy
12:05
dfee has joined #pypy
12:13
Gonsor has joined #pypy
12:19
jamesaxl has joined #pypy
12:31
lritter has joined #pypy
12:35
inhahe__ has joined #pypy
13:49
dddddd has quit [Remote host closed the connection]
14:11
antocuni has joined #pypy
14:13
tbodt has joined #pypy
14:21
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
14:26
tbodt has joined #pypy
14:33
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
14:37
tbodt has joined #pypy
14:40
antocuni has quit [Ping timeout: 240 seconds]
15:24
dfee has quit [Ping timeout: 240 seconds]
15:31
<
mjacob >
mattip: isn't the idea to eliminate unicode objects completely?
15:31
<
mjacob >
mattip: are you talking about RPython unicode objects?
16:05
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
16:13
fryguybob has quit [Ping timeout: 265 seconds]
16:15
<
mattip >
mjacob: talking about interpreter/*
16:15
fryguybob has joined #pypy
16:16
<
mattip >
in space.*, for python3, space.w_unicode == space.w_text, and space.w_str does not exist
16:27
hotpot33 has joined #pypy
16:28
solarjoe4 has joined #pypy
16:38
solarjoe4 has quit [Quit: Leaving]
17:18
<
cfbolz >
mattip: the idea of 'text' is that it is equivalent to 'bytes' on python2 and to 'unicode' on python3
17:32
<
mattip >
cfbolz: that is w_bytes and w_unicode in Space, right? The code in interpreter/* is more confusing to me
17:33
<
cfbolz >
You mean in typedef.py?
17:33
<
ronan >
mattip: the gateway stuff is only for unwrap_specs, it's not very important
17:38
<
mattip >
for now I just left in everything when merging unicode-utf8 to py3, will cleanup later I guess
18:26
dddddd has joined #pypy
18:44
<
mattip >
my confusion is compounded by the large delta between py3 and default, maybe we should backport some of the changes
18:46
<
mattip >
specifically, objspace/std/marshal_impl.py has changes for py3 to handle surrogates and such
18:48
<
cfbolz >
mattip: but at least some of that are real behavioural differences, right?
18:49
kipras`away is now known as kipras
18:49
<
mattip >
yes, but now the code looks very different
18:50
<
mattip >
theorectically we should be able to express the difference between py3 and py2 by allow_surrogates=True,False
18:50
<
cfbolz >
I am all for backporting changes, particularly improvements
18:51
<
mattip >
and the basic difference between str, unicode, bytes
18:51
<
mattip >
but I probably am missing some nuances
18:58
Deknos has joined #pypy
18:58
dfee has joined #pypy
19:03
dfee has quit [Ping timeout: 260 seconds]
19:12
jcea has quit [Quit: jcea]
19:39
Deknos has left #pypy [#pypy]
20:05
TheAdversary has joined #pypy
20:09
TheAdversary has quit [Ping timeout: 248 seconds]
20:29
tbodt has joined #pypy
21:07
<
kenaan >
mattip py3.5 27800b9efa30 /pypy/objspace/std/marshal_impl.py: rename for backward compatibility
21:11
kipras is now known as kipras`away
21:20
<
mattip >
on default the Marshaller class (in interp_marshal) has a stringtable, on py3 it has a allrefs,
21:20
<
mattip >
they seem to be very different things
21:23
<
mattip >
ahh, maybe not. Two different mechanisms to do the same thing
21:24
* mattip
digging in hg history to see how they came about
21:28
hotpot33 has quit [Remote host closed the connection]
21:56
jcea has joined #pypy
22:20
Gonsor has quit [Read error: Connection reset by peer]
22:21
antocuni has joined #pypy
22:36
lritter has quit [Quit: Leaving]
22:36
dfee has joined #pypy
22:38
exarkun has quit [Read error: Connection reset by peer]
22:41
dfee has quit [Ping timeout: 256 seconds]
22:47
exarkun has joined #pypy
22:49
dfee has joined #pypy
23:00
danieljabailey has joined #pypy
23:02
raynold has joined #pypy
23:02
raynold has quit [Client Quit]
23:08
antocuni has quit [Ping timeout: 260 seconds]
23:22
dfee has quit [Ping timeout: 240 seconds]