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
wleslie has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dddddd has quit [Remote host closed the connection]
stevenja_ has joined #pypy
tbodt has joined #pypy
stevenja_ has quit [Ping timeout: 240 seconds]
mattip has quit [Ping timeout: 276 seconds]
wleslie has quit [Quit: ~~~ Crash in JIT!]
asmeurer__ has quit [Quit: asmeurer__]
asmeurer__ has joined #pypy
asmeurer__ has quit [Quit: asmeurer__]
asmeurer__ has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
mattip has joined #pypy
jcea has quit [Quit: jcea]
stevenja_ has joined #pypy
tbodt has quit [Quit: Textual IRC Client: www.textualapp.com]
stevenja_ has quit [Ping timeout: 268 seconds]
<mattip> this emits a warning
<mattip> python3 -W always -c'import codecs; codecs.unicode_escape_decode(b"\\A")'
<mattip> this also does
<mattip> ../pypy36/bin/pypy3 -W always -c"import codecs; codecs.unicode_escape_decode(b'\\U')"
<mattip> this does not
<mattip> ../pypy36/bin/pypy3 -W always -c'import codecs; codecs.unicode_escape_decode(b"\\A")'
<mattip> this correctly does
<mattip> ../pypy36/bin/pypy3 -W always -c"import codecs; codecs.unicode_escape_decode(b'\\A')"
<mattip> so b"\\A" is problematic where b'\\A' is not?
<mattip> (py3.6)
bbot2 has quit [Ping timeout: 240 seconds]
<mattip> only after translation though
bbot2 has joined #pypy
fryguybob has quit [Read error: Connection reset by peer]
fryguybob has joined #pypy
asmeurer__ has quit [Quit: asmeurer__]
asmeurer__ has joined #pypy
asmeurer__ has quit [Client Quit]
asmeurer__ has joined #pypy
tbodt has joined #pypy
jamesaxl has quit [Quit: WeeChat 2.1]
stevenja_ has joined #pypy
stevenja_ has quit [Ping timeout: 240 seconds]
hawkowl has quit [Ping timeout: 248 seconds]
tsutsumi has quit [Ping timeout: 260 seconds]
simpson has quit [Ping timeout: 265 seconds]
xorAxAx has quit [Remote host closed the connection]
lritter_ has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<kenaan> wlav cppyy-packaging df5f9ec89c17 /pypy/module/_cppyy/: simplify use of converters
<kenaan> wlav cppyy-packaging f6f3039d686c /pypy/module/_cppyy/: more simplification of function calls
tsutsumi has joined #pypy
hotpot33 has joined #pypy
bbot2 has quit [Ping timeout: 276 seconds]
<mattip> bbot is struggling to run a twisted process that is taking up all the memory
<mattip> maybe vmprof?
bbot2 has joined #pypy
<mattip> yes, vmprof. I sent the twisted process a kill -HUP, it cleared the memory problem and vmprof.com seems to be up
<mattip> no clue
<mattip> fijal: ^^^^
<mattip> seems I broke something, none of the data at vmprof.com is rendering
<fijal> Hum
<fijal> Maybe we should move vmprof somewhere else
stevenja_ has joined #pypy
tayfun26 has joined #pypy
stevenja_ has quit [Ping timeout: 256 seconds]
wleslie has joined #pypy
<mattip> if I create a function def func(): return codecs.unicode_escape_decode(b"\\A")
<mattip> and run dis.dis on it, pypy36 does not show the function call
<mattip> strange
<mattip> pypy3.5 dis.dis works well, is the problem dis.dis or is there a problem with the bytecode?
<mattip> or is this some optimization, and that is why the warning is not displayed?
<wleslie> ah, well, this is an interesting thing
asmeurer__ has quit [Quit: asmeurer__]
<wleslie> 3.6 is a wordcode format; maybe it doesn't match pypy36's own format
<wleslie> dis on 3.6 changed quite a bit accordingly
<mattip> there was some work on a py3.6-wordcode branch, but it is not merged yet, perhaps the dis module is expecting wordcode bytecode
<cfbolz> mattip: it's probably related to the fact that someone filed a vmprof issue that they couldn't upload their huge profile
<cfbolz> mattip: dis is broken on the py3.6 branch, that's what py3.6-wordcode is there to fix
<mattip> cfbolz: thanks, that explains the dis.dis problem, but not why there is a difference between b"\\A" and b'\\A'
<mattip> only after translating, just to make life more difficult.
<cfbolz> mattip: yes, I agree that that's pretty terrible
<mattip> maybe vmprof could somehow limit the upload filesize
<cfbolz> mattip: --jit off doesn't help, I assume? Just to be paranoid
lauren has quit [Read error: Connection reset by peer]
MarkMangoba has quit [Ping timeout: 260 seconds]
<mattip> correct
<mattip> I added some print statements to str_decode_unicode_escape and translated, but there is lots of noise from other callers to str_decode_unicode_escape
lauren has joined #pypy
<mattip> including it seems print itself
lauren has quit [Max SendQ exceeded]
<wleslie> mattip: bash itself eats the \
<wleslie> echo "import codecs; codecs.unicode_escape_decode(b'\\A')"
<wleslie> ah, that doesn't make a difference
<mattip> wleslie: I also added the variant to the test in test_warn_escape_decode (in module/_codecs/test/test_codecs.py)
MarkMangoba has joined #pypy
<mattip> it is inside a warnings.catch_warnings(record=True)
MarkMangoba has quit [Max SendQ exceeded]
<mattip> only one of the variants warns
<mattip> after translation
<mattip> untranslated, both warn
[Arfrever] has quit [Ping timeout: 264 seconds]
<mattip> but seeing that I am on Pacific time,
* mattip -> zzz
<wleslie> on the east of the pacific?
[Arfrever] has joined #pypy
<mattip> usa pacific
jsza has quit [Ping timeout: 256 seconds]
<wleslie> night!
hawkowl_ has joined #pypy
jsza has joined #pypy
marself has joined #pypy
lauren has joined #pypy
lauren has quit [Max SendQ exceeded]
MarkMangoba has joined #pypy
lauren has joined #pypy
stevenja_ has joined #pypy
wleslie has quit [Quit: ~~~ Crash in JIT!]
realitix has joined #pypy
stevenja_ has quit [Ping timeout: 248 seconds]
realitix has quit [Client Quit]
realitix has joined #pypy
realitix has quit [Quit: realitix]
dddddd has joined #pypy
hotpot33 has quit [Read error: Connection reset by peer]
realitix has joined #pypy
xorAxAx has joined #pypy
xorAxAx has joined #pypy
xorAxAx has quit [Changing host]
wleslie has joined #pypy
antocuni has joined #pypy
wleslie has quit [Quit: ~~~ Crash in JIT!]
<Hodgestar> Does PyPy have an opinion on METH_FASTCALL? Is it useful for CFFI somehow? I.e. should I care / be excited / read bout this thing? :)
<fijal> Hodgestar: please don't use meth on your calls
<Hodgestar> Give your calls hugs, not drugs? :)
stevenja_ has joined #pypy
stevenja_ has quit [Ping timeout: 256 seconds]
<kenaan> antocuni gc-disable 5b3f4f252fec /rpython/memory/gc/incminimark.py: print the next collection threshold inside PYPYLOG
asmeurer_ has joined #pypy
asmeurer_ has quit [Ping timeout: 255 seconds]
<cfbolz> Hodgestar: pypy doesn't care
<cfbolz> I think
jcea has joined #pypy
inad922 has joined #pypy
stevenja_ has joined #pypy
antocuni has quit [Ping timeout: 256 seconds]
stevenja_ has quit [Ping timeout: 240 seconds]
<Hodgestar> cfbolz: So PyPy might get a small win by being able to avoid tuples when calling Python C extensions that supported METH_FASTCALL (assuming such a thing became sanctioned) but creating tuples is only a small extra overhead compared to having to create the PyObjects?
<Hodgestar> (just checking I understand the thinking)
<cfbolz> Hodgestar: yes, that sounds reasonable. But cffi works completely differently in pypy
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
inad922 has quit [Ping timeout: 268 seconds]
asmeurer has joined #pypy
asmeurer has quit [Ping timeout: 276 seconds]
DIRT has quit [Ping timeout: 245 seconds]
raynold has quit [Quit: Connection closed for inactivity]
marself has quit [Ping timeout: 260 seconds]
asmeurer__ has joined #pypy
asmeurer__ has quit [Ping timeout: 260 seconds]
jamesaxl has joined #pypy
asmeurer_ has joined #pypy
asmeurer_ has quit [Ping timeout: 264 seconds]
stevenja_ has joined #pypy
inad922 has joined #pypy
antocuni has joined #pypy
stevenja_ has quit [Ping timeout: 264 seconds]
inad922 has quit [Ping timeout: 264 seconds]
marky1991 has joined #pypy
inad922 has joined #pypy
realitix has quit [Read error: Connection reset by peer]
adamholmberg has joined #pypy
Rhy0lite has joined #pypy
stevenja_ has joined #pypy
stevenja_ has quit [Remote host closed the connection]
stevenja_ has joined #pypy
realitix has joined #pypy
<tos9> ronan: this matches my experience :)
<tos9> ronan: very funny things happen seemingly, like impossible call stacks in output
stevenja_ has quit [Remote host closed the connection]
stevenja_ has joined #pypy
stevenja_ has quit [Ping timeout: 264 seconds]
stevenja_ has joined #pypy
Taggnostr3_ has joined #pypy
Taggnostr3 has quit [Ping timeout: 240 seconds]
inad922 has quit [Ping timeout: 255 seconds]
asmeurer has joined #pypy
asmeurer has quit [Ping timeout: 276 seconds]
tbodt has joined #pypy
hotpot33 has joined #pypy
simpson has joined #pypy
stevenja_ has quit [Remote host closed the connection]
stevenja_ has joined #pypy
stevenja_ has quit [Remote host closed the connection]
stevenja_ has joined #pypy
marky1991 has quit [Ping timeout: 260 seconds]
marky1991 has joined #pypy
asmeurer_ has joined #pypy
asmeurer_ has quit [Ping timeout: 256 seconds]
stevenja_ has quit [Remote host closed the connection]
stevenja_ has joined #pypy
asmeurer has joined #pypy
asmeurer has quit [Ping timeout: 240 seconds]
tbodt has quit [Read error: Connection reset by peer]
tbodt has joined #pypy
tayfun26 has quit [Remote host closed the connection]
speeder39 has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
tbodt has quit [Ping timeout: 256 seconds]
tbodt has joined #pypy
tbodt has quit [Client Quit]
mattip has quit [Ping timeout: 240 seconds]
stevenja_ has quit [Remote host closed the connection]
stevenja_ has joined #pypy
tbodt has joined #pypy
stevenja_ has quit [Ping timeout: 264 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stevenja_ has joined #pypy
jcea has quit [Quit: jcea]
stevenja_ has quit [Ping timeout: 276 seconds]
jsza has quit [Quit: Connection closed for inactivity]
jcea has joined #pypy
realitix has quit [Ping timeout: 240 seconds]
mattip has joined #pypy
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
realitix has joined #pypy
realitix has quit [Client Quit]
stevenja_ has joined #pypy
asmeurer has joined #pypy
hotpot33 has quit [Read error: Connection reset by peer]
stevenja_ has quit [Ping timeout: 256 seconds]
asmeurer has quit [Client Quit]
tbodt has joined #pypy
stevenja_ has joined #pypy
inad922 has joined #pypy
stevenja_ has quit [Ping timeout: 256 seconds]
antocuni has quit [Ping timeout: 256 seconds]
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
stevenja_ has joined #pypy
[Arfrever] has quit [Ping timeout: 260 seconds]
[Arfrever] has joined #pypy
lritter_ has quit [Ping timeout: 260 seconds]
stevenja_ has quit [Ping timeout: 264 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
speeder39 has quit [Quit: Connection closed for inactivity]
marky1991 has quit [Ping timeout: 276 seconds]
nunatak_ has joined #pypy
tbodt has joined #pypy
stevenja_ has joined #pypy
stevenja_ has quit [Ping timeout: 248 seconds]
stevenja_ has joined #pypy
stevenja_ has quit [Ping timeout: 256 seconds]
marky1991 has joined #pypy
stevenja_ has joined #pypy
stevenja_ has quit [Ping timeout: 260 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stevenja_ has joined #pypy
stevenja_ has quit [Ping timeout: 265 seconds]
tbodt has joined #pypy
tbodt has quit [Client Quit]
stevenja_ has joined #pypy
stevenja_ has quit [Remote host closed the connection]
stevenja_ has joined #pypy
tbodt has joined #pypy
adamholmberg has quit [Ping timeout: 260 seconds]
adamholmberg has joined #pypy
stevenja_ has quit [Remote host closed the connection]
stevenja_ has joined #pypy
stevenja_ has quit [Remote host closed the connection]
stevenja_ has joined #pypy
stevenja_ has quit [Remote host closed the connection]
stevenja_ has joined #pypy
stevenja_ has quit [Remote host closed the connection]
stevenja_ has joined #pypy
adamholm_ has joined #pypy
adamholmberg has quit [Ping timeout: 265 seconds]
DIRT has joined #pypy
stevenja_ has quit [Remote host closed the connection]
stevenja_ has joined #pypy
adamholm_ has quit [Ping timeout: 256 seconds]
stevenja_ has quit [Ping timeout: 256 seconds]
adamholmberg has joined #pypy
stevenja_ has joined #pypy
nunatak_ has quit [Quit: Leaving]
Guest23633 has quit [Ping timeout: 245 seconds]
stevenja_ has quit [Remote host closed the connection]
mattip_ has joined #pypy
stevenja_ has joined #pypy
stevenja_ has quit [Ping timeout: 264 seconds]
mattip has quit [Quit: Leaving]
mattip has joined #pypy
inad922 has quit [Ping timeout: 256 seconds]
Rhy0lite has quit [Quit: Leaving]
marky1991 has quit [Read error: Connection reset by peer]
marky1991 has joined #pypy
raynold has joined #pypy
DIRT has quit [Read error: Connection reset by peer]
antocuni has joined #pypy
stevenja_ has joined #pypy
stevenja_ has quit [Ping timeout: 265 seconds]
tbodt has quit [Quit: Textual IRC Client: www.textualapp.com]
tbodt has joined #pypy
jacob22__ has joined #pypy
jacob22 has quit [Ping timeout: 268 seconds]
adamholm_ has joined #pypy
adamholmberg has quit [Ping timeout: 256 seconds]
adamholm_ has quit [Remote host closed the connection]
adamholmberg has joined #pypy
antocuni has quit [Ping timeout: 240 seconds]
adamholmberg has quit [Ping timeout: 264 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy