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
marky1991 has joined #pypy
nimaje has joined #pypy
marky1991 has quit [Read error: Connection reset by peer]
xorAxAx has quit [Remote host closed the connection]
xorAxAx has joined #pypy
xorAxAx has quit [Changing host]
xorAxAx has joined #pypy
dddddd has quit [Remote host closed the connection]
lritter has quit [Ping timeout: 252 seconds]
jcea has quit [Quit: jcea]
Blendify_i5 has joined #pypy
Blendify_i5 has quit [Remote host closed the connection]
AlwaysHigh25 has joined #pypy
AlwaysHigh25 has quit [Read error: Connection reset by peer]
hexa- has quit [Ping timeout: 252 seconds]
nimaje has quit [Remote host closed the connection]
nimaje has joined #pypy
hexa- has joined #pypy
nimaje has quit [Ping timeout: 252 seconds]
nimaje has joined #pypy
GTAXL24 has joined #pypy
GTAXL24 has quit [Ping timeout: 252 seconds]
redj_ has joined #pypy
redj has quit [Ping timeout: 268 seconds]
redj_ has left #pypy [#pypy]
redj has joined #pypy
jamesaxl has joined #pypy
forgottenone has joined #pypy
oberstet has joined #pypy
mattip has quit [Ping timeout: 246 seconds]
mattip has joined #pypy
oberstet has quit [Remote host closed the connection]
oberstet has joined #pypy
kg11 has joined #pypy
mattip has quit [Ping timeout: 245 seconds]
kg11 has quit [Remote host closed the connection]
mattip has joined #pypy
mattip has quit [Ping timeout: 252 seconds]
arigato has joined #pypy
Hink has joined #pypy
Hink has quit [Ping timeout: 245 seconds]
forgottenone has quit [Ping timeout: 244 seconds]
ronan has joined #pypy
cjwelborn has quit [Remote host closed the connection]
mattip has joined #pypy
dddddd has joined #pypy
cjwelborn has joined #pypy
nimaje has quit [Ping timeout: 252 seconds]
forgottenone has joined #pypy
nimaje has joined #pypy
WhitePhosphorus0 has joined #pypy
WhitePhosphorus0 has quit [Ping timeout: 246 seconds]
antocuni has joined #pypy
nopf has joined #pypy
arigato has quit [Quit: Leaving]
bendlas[m] has quit [Remote host closed the connection]
antocuni has quit [Ping timeout: 245 seconds]
bendlas[m] has joined #pypy
because has joined #pypy
because has quit [Remote host closed the connection]
jamesaxl has quit [Ping timeout: 245 seconds]
jamesaxl has joined #pypy
Hasimir has joined #pypy
TheAdversary has joined #pypy
Hasimir has quit [Read error: Connection reset by peer]
TheAdversary has quit [Remote host closed the connection]
jcea has joined #pypy
<kenaan> rlamy py3.6 4f3876339fff /lib_pypy/_decimal.py: (lucaz97, ronan) Handle underscores in Decimal constructor
Hasimir has joined #pypy
TheAdversary has joined #pypy
antocuni has joined #pypy
forgottenone has quit [Quit: Konversation terminated!]
Kipras_ has quit [Ping timeout: 244 seconds]
<kenaan> arigo default 28c9dafa5a46 /: Issue #2878 Handle a case of keepalive that I imagined would never occur
kipras has joined #pypy
lritter has joined #pypy
<kenaan> rlamy default f7ebab619eb2 /rpython/rlib/: (lucaz97, ronan) Leading underscores are never allowed (even on py3.6) + clean up test
<kenaan> rlamy default b9cf6798af7e /: merge heads
<kenaan> rlamy py3.5 33d16cf29160 /: hg merge default
<kenaan> rlamy py3.6 3101fec75c3f /: hg merge py3.5
Khayman has joined #pypy
TheAdversary has quit [Ping timeout: 245 seconds]
Hasimir has quit [Ping timeout: 245 seconds]
TheAdversary has joined #pypy
Khayman is now known as Hasimir
<kenaan> rlamy unicode-utf8-py3 cf8669f6fe69 /pypy/module/unicodedata/interp_ucd.py: Fix unicodedata.lookup()
<kenaan> mattip unicode-utf8-py3 ef8722afb037 /pypy/: uni.encode('utf8') -> runicode.unicode_encode_utf_8(uni, len(uni), 'strict')
<kenaan> mattip unicode-utf8-py3 b6ec3298a53a /pypy/: fix test_ztranslation by creatng FakeObjSpace W_UnicodeObject
<kenaan> mattip unicode-utf8-py3 07f0e7708c40 /pypy/objspace/std/: sometimes allow surrogates in uni.encode('*escape*')
<kenaan> mattip unicode-utf8-py3 58568f219c61 /: do c07dc57b964d differently (output '?' for bad chr)
<kenaan> mattip unicode-utf8-py3 34e4b4d3147b /pypy/: fix ef8722afb037
<kenaan> mattip unicode-utf8-py3 efa8c0bedfc6 /pypy/objspace/std/test/test_bytesobject.py: add failing test - id clash causes pickling errors
<kenaan> mattip unicode-utf8-py3 9282b2668b8f /pypy/module/unicodedata/interp_ucd.py: merge heads
<kenaan> mattip unicode-utf8-py3 f8e98c69e510 /: merge 3.5 into branch
mattip has quit [Ping timeout: 245 seconds]
ronan has quit [Ping timeout: 246 seconds]
Masklinn has joined #pypy
TheAdversary has quit [Disconnected by services]
Khayman has joined #pypy
TheAdversary has joined #pypy
Hasimir has quit [Ping timeout: 245 seconds]
Khayman is now known as Hasimir
Khayman has joined #pypy
TheAdversary has quit [Disconnected by services]
Hasimir has quit [Ping timeout: 252 seconds]
Khayman is now known as Hasimir
TheAdversary has joined #pypy
antocuni has quit [Ping timeout: 244 seconds]
<_aegis_> is there a sane way for me to test app_main.py without retranslating
sekizo26 has joined #pypy
sekizo26 has quit [Remote host closed the connection]
<_aegis_> pypy3 -funroll-loops doesn't call initstdio!
oberstet has quit [Ping timeout: 240 seconds]
arigato has joined #pypy
dreamz has joined #pypy
mattip has joined #pypy
Kronuz23 has joined #pypy
Kronuz23 has quit [Ping timeout: 245 seconds]
mattip has quit [Ping timeout: 246 seconds]
norox has quit [*.net *.split]
idnar has quit [*.net *.split]
graingert has quit [*.net *.split]
agronholm has quit [*.net *.split]
starlord has quit [*.net *.split]
cfbolz has quit [*.net *.split]
phlebas has quit [*.net *.split]
untitaker has quit [*.net *.split]
agronholm has joined #pypy
starlord has joined #pypy
norox has joined #pypy
phlebas has joined #pypy
cfbolz has joined #pypy
graingert has joined #pypy
idnar has joined #pypy
untitaker has joined #pypy
graingert has quit [Changing host]
graingert has joined #pypy
graingert has joined #pypy
idnar has quit [Changing host]
idnar has joined #pypy
idnar has joined #pypy
idnar has quit []
idnar has joined #pypy
dreamz has quit [Quit: Mutter: www.mutterirc.com]
arigato has quit [Quit: Leaving]
sn0wmonster19 has joined #pypy
sn0wmonster19 has quit [Read error: Connection reset by peer]
forgottenone has joined #pypy
<cfbolz> _aegis_: what is -funroll-loops?
<_aegis_> pypy -funroll-loops
bendlas[m] has quit [Write error: Connection reset by peer]
mattip has joined #pypy
bendlas[m] has joined #pypy
<cfbolz> _aegis_: the only thing that does is: print("Vroom vroom, I'm a racecar!")
<_aegis_> yes, but it's broken in pypy3 :P
<_aegis_> ok, so why is there so much of what looks like dead code in unicodedb?
<_aegis_> like megabytes
<_aegis_> # the following dictionary is used by modules that take this as a base
<_aegis_> _orig_names = {
<_aegis_> but no references to _orig_names anywhere in pypy
<_aegis_> it looks like the lookups are done with a trie instead of the orig dict
<cfbolz> _aegis_: that is indeed a bit puzzling. note however that the final executable will not contain that dict, if it is not referenced from any code
<_aegis_> (I'm looking into why libpypy-c is so huge, over half is the data section!)
<_aegis_> it does
<cfbolz> then it's used
<_aegis_> it's not used by any code I can find
<cfbolz> ok, but the translator never puts anything into the binary that's not referenced
<_aegis_> is the `usession-py3.5-14/testing_1` tmpdir all the C code?
<cfbolz> should
<_aegis_> so 'LEFT CURLY BRACKET' is not in any files in that folder
<_aegis_> but still ends up in the data section along with the rest of the unicode bloat dict
<cfbolz> _aegis_: strings are encoded strangely in the C files sometimes
<cfbolz> like as the charcodes maybe?
<_aegis_> oh fair
<_aegis_> I need to compile with debug symbols so I can trace references back to the source easily
<_aegis_> not finding the name of the module or anything
<cfbolz> _aegis_: one hack would be to rename _orig_names and see what breaks :-)
<_aegis_> gonna generate with lldebug anyway, I'll just delete it
<_aegis_> data_rpython_rlib_unicodedata.c doesn't seem to have the huge dict
<cfbolz> _aegis_: anyway, if you can find something huge and superfluous, that would be amazing ;-)
<cfbolz> so cool that you're looking into t
<cfbolz> it
<_aegis_> I've been dying over here making my app dmg 22mb
<_aegis_> like I have a ton of optimizations in place already, I do a lot to the stdlib
<_aegis_> I'm in here 'cause I'm trying to get stdlib zipimport working, but I happened to look at .data and I can't unsee
<_aegis_> (here = the bloat weeds)
<cfbolz> _aegis_: note that it's not quite like CPython. we have a lot in the main executable that CPython has in shared libs
<_aegis_> yes I know
<_aegis_> oh, I might be thrown off because the data is in the python file twice
<_aegis_> there's both _stringtable and _orig_names
<cfbolz> _aegis_: but indeed, when I rename _orig_names at least the unicodedata tests still pass
<_aegis_> oh, I think the big blob I'm seeing is from unicode 8.0.0
<_aegis_> not from 5.2.0
<_aegis_> 8.0.0 doesn't use the trie, so it seems to have a much less efficient encoding
<cfbolz> _aegis_: 8.0.0 stores only those chars that are different from 5.2.0
<cfbolz> not all of them
<_aegis_> yes, but it does that using a dictionary instead of a strtab+trie
<cfbolz> yes
<_aegis_> which takes up 800kb.
siniStar has joined #pypy
siniStar has quit [Remote host closed the connection]
jcea has quit [Ping timeout: 260 seconds]
jcea has joined #pypy
<_aegis_> how mutable are the emitted rpython C objects that end up in .data?
<_aegis_> I wrote a simple size profiler https://bochs.info/p/nrwabs
<_aegis_> and with some basic file attribution https://bochs.info/p/n7xzsj
<_aegis_> 7 of the top 10 offenders in the top category are unicode data
<_aegis_> 3 of the top 10 in the second category are unicode data
<_aegis_> 1.4mb just from top offenders is unicode objects
richardjohn has joined #pypy
richardjohn has quit [Remote host closed the connection]
ms782123 has joined #pypy
ms782123 has quit [Remote host closed the connection]