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
mattip has quit [Remote host closed the connection]
tbodt has quit [Ping timeout: 256 seconds]
dfee has quit [Ping timeout: 268 seconds]
tbodt has joined #pypy
mattip has joined #pypy
<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
<mattip> in the interpreter, we have bytes, bytes0, text, text0 and unicode
<mattip> that is we have visit_* in py3, but in default we have only visit_{bytes, bytes0, text, text0} no unicode
<mattip> then unicode-utf8 (a branch off default) adds visit_utf8, so why is that needed when visit_unicode did not exist?
<mattip> (this is all in interpreter/gateway.py)
dddddd has quit [Remote host closed the connection]
jcea has quit [Quit: jcea]
speeder39 has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
dfee has joined #pypy
mattip has quit [Ping timeout: 240 seconds]
dfee has quit [Ping timeout: 265 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
tbodt has quit [Client Quit]
tbodt has joined #pypy
tbodt has quit [Max SendQ exceeded]
tbodt has joined #pypy
tbodt has quit [Client Quit]
jamesaxl has quit [Quit: WeeChat 2.1]
tbodt has joined #pypy
tbodt has quit [Client Quit]
mattip has joined #pypy
tbodt has joined #pypy
tbodt has quit [Client Quit]
dfee has joined #pypy
dfee has quit [Ping timeout: 248 seconds]
fryguybob has quit [Ping timeout: 276 seconds]
fryguybob has joined #pypy
speeder39 has quit [Quit: Connection closed for inactivity]
inhahe__ has joined #pypy
tbodt has joined #pypy
dfee has joined #pypy
<mattip> i guess I just don't understand the underlying model
dfee has quit [Ping timeout: 260 seconds]
<mattip> at what point do we convert utf8 bytesstrings into unicode objects in the objspace?
Hasimir has quit [Ping timeout: 240 seconds]
Hasimir has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_whitelogger has joined #pypy
TheAdversary has quit [Ping timeout: 244 seconds]
Hasimir has quit [Ping timeout: 240 seconds]
dfee has joined #pypy
inhahe__ has quit [Ping timeout: 240 seconds]
dfee has quit [Ping timeout: 248 seconds]
dddddd has joined #pypy
antocuni has joined #pypy
marvin has quit [Ping timeout: 248 seconds]
dfee has joined #pypy
dfee has quit [Ping timeout: 240 seconds]
marvin_ has joined #pypy
antocuni has quit [Ping timeout: 260 seconds]
_whitelogger has joined #pypy
dfee has joined #pypy
dfee has quit [Ping timeout: 268 seconds]
jcea has joined #pypy
dfee has joined #pypy
Gonsor has joined #pypy
jamesaxl has joined #pypy
lritter has joined #pypy
inhahe__ has joined #pypy
dddddd has quit [Remote host closed the connection]
antocuni has joined #pypy
tbodt has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
antocuni has quit [Ping timeout: 240 seconds]
dfee has quit [Ping timeout: 240 seconds]
<mjacob> mattip: isn't the idea to eliminate unicode objects completely?
<mjacob> mattip: are you talking about RPython unicode objects?
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fryguybob has quit [Ping timeout: 265 seconds]
<mattip> mjacob: talking about interpreter/*
fryguybob has joined #pypy
<mattip> in space.*, for python3, space.w_unicode == space.w_text, and space.w_str does not exist
hotpot33 has joined #pypy
solarjoe4 has joined #pypy
solarjoe4 has quit [Quit: Leaving]
<cfbolz> mattip: the idea of 'text' is that it is equivalent to 'bytes' on python2 and to 'unicode' on python3
<mattip> cfbolz: that is w_bytes and w_unicode in Space, right? The code in interpreter/* is more confusing to me
<cfbolz> You mean in typedef.py?
<ronan> mattip: the gateway stuff is only for unwrap_specs, it's not very important
<mattip> for now I just left in everything when merging unicode-utf8 to py3, will cleanup later I guess
dddddd has joined #pypy
<mattip> my confusion is compounded by the large delta between py3 and default, maybe we should backport some of the changes
<mattip> specifically, objspace/std/marshal_impl.py has changes for py3 to handle surrogates and such
<cfbolz> mattip: but at least some of that are real behavioural differences, right?
kipras`away is now known as kipras
<mattip> yes, but now the code looks very different
<mattip> theorectically we should be able to express the difference between py3 and py2 by allow_surrogates=True,False
<cfbolz> I am all for backporting changes, particularly improvements
<mattip> and the basic difference between str, unicode, bytes
<mattip> but I probably am missing some nuances
Deknos has joined #pypy
dfee has joined #pypy
dfee has quit [Ping timeout: 260 seconds]
jcea has quit [Quit: jcea]
Deknos has left #pypy [#pypy]
TheAdversary has joined #pypy
TheAdversary has quit [Ping timeout: 248 seconds]
tbodt has joined #pypy
<kenaan> mattip py3.5 27800b9efa30 /pypy/objspace/std/marshal_impl.py: rename for backward compatibility
kipras is now known as kipras`away
<mattip> on default the Marshaller class (in interp_marshal) has a stringtable, on py3 it has a allrefs,
<mattip> they seem to be very different things
<mattip> ahh, maybe not. Two different mechanisms to do the same thing
* mattip digging in hg history to see how they came about
hotpot33 has quit [Remote host closed the connection]
jcea has joined #pypy
Gonsor has quit [Read error: Connection reset by peer]
antocuni has joined #pypy
lritter has quit [Quit: Leaving]
dfee has joined #pypy
exarkun has quit [Read error: Connection reset by peer]
dfee has quit [Ping timeout: 256 seconds]
exarkun has joined #pypy
dfee has joined #pypy
danieljabailey has quit [Quit: ZNC 1.6.5+deb2build2 - http://znc.in]
danieljabailey has joined #pypy
raynold has joined #pypy
raynold has quit [Client Quit]
antocuni has quit [Ping timeout: 260 seconds]
dfee has quit [Ping timeout: 240 seconds]