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]
<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
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]