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
antocuni has quit [Ping timeout: 256 seconds]
asmeurer_ has joined #pypy
asmeurer_ has quit [Quit: asmeurer_]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
kipras is now known as kipras`away
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
marr has quit [Ping timeout: 256 seconds]
jcea has quit [Ping timeout: 240 seconds]
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
tbodt has joined #pypy
sysfault has joined #pypy
marky1991 has quit [Read error: Connection reset by peer]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
asmeurer_ has joined #pypy
asmeurer_ has quit [Quit: asmeurer_]
dddddd has quit [Remote host closed the connection]
ceridwen__ is now known as ceridwen
ceridwen has quit [Changing host]
ceridwen has joined #pypy
asmeurer__ has joined #pypy
jamesaxl has joined #pypy
fryguybo1 has joined #pypy
fryguybob has quit [Ping timeout: 245 seconds]
jamadden has quit [Quit: Leaving.]
asmeurer__ has quit [Quit: asmeurer__]
antocuni has joined #pypy
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #pypy
squeaky_pl has joined #pypy
energizer has quit [Ping timeout: 248 seconds]
squeaky_pl has quit [Ping timeout: 240 seconds]
energizer has joined #pypy
Gonsor has joined #pypy
tayfun26 has joined #pypy
Hotpot33 has quit [Ping timeout: 245 seconds]
marr has joined #pypy
Hotpot33 has joined #pypy
energizer has quit [Ping timeout: 268 seconds]
squeaky_pl has joined #pypy
antocuni has quit [Ping timeout: 252 seconds]
jamadden has joined #pypy
jamadden has quit [Quit: Leaving.]
marky1991 has joined #pypy
marky1991 has quit [Ping timeout: 248 seconds]
jcea has joined #pypy
marky1991 has joined #pypy
dddddd has joined #pypy
Rhy0lite has joined #pypy
marmoute_ is now known as marmoute
antocuni has joined #pypy
marky1991 has quit [Ping timeout: 240 seconds]
adamholmberg has joined #pypy
marky1991 has joined #pypy
fryguybo1 has quit [Quit: leaving]
fryguybob has joined #pypy
inhahe has quit [Ping timeout: 240 seconds]
fryguybob has quit [Ping timeout: 240 seconds]
sysfault has quit [Ping timeout: 245 seconds]
jacob22_ has joined #pypy
jacob22__ has quit [Ping timeout: 252 seconds]
<kenaan> cfbolz guard-compatible 047c33d38a20 /: merge default
<kenaan> cfbolz guard-compatible 02f016f93ecf /rpython/jit/metainterp/compile.py: fix
<cfbolz> arigato: you around?
<arigato> cfbolz: yes
<cfbolz> arigato: I updated my gcc and now I am getting these warnings in pypy too: https://bugs.python.org/issue31474
<cfbolz> fine to commit the same fix?
<cfbolz> arigato: I don't understand the warning and I always feel unsure about C, so I wanted a second pair of eyes
<arigato> yes
<cfbolz> ok
<arigato> go ahead
<cfbolz> any clue what the warning is about? why is a multiplication in a boolean context dangerous?
<kenaan> cfbolz default 8e52e1e16d7c /pypy/module/cpyext/include/pymem.h: silence a GCC int-in-bool-context warning this is equivalent to the fix of CPython issue https://bugs.python.org/...
<arigato> it's because the macro expands to: realloc(p, (new_allocated * sizeof(type)) ? (new_allocated * sizeof(type)) : 0)
<arigato> it's strange like "if (a * b) { .. }"
<arigato> because it's basically the same as "if (a && b) { .. }"
<cfbolz> right
<cfbolz> thanks
<arigato> I imagine that the warning is also for people who write "if (a * b)" assuming that for some large values of a and b, the multiplication overflows to 0
<arigato> and it's exactly the case that they want to test
<arigato> so the warning instead makes it clear that it's not going to work, because gcc assumes signed integer arithmetic doesn't overflow
<cfbolz> arigato: right. and for the context of a macro where the multiplication appears in two places that makes no sense, of course
<cfbolz> but poor GCC can't know
<arigato> it's also a warning that the macro realloc(p, (n)?(n):1) is not enough to ensure that realloc is never called with 0
<arigato> because the value of n can overflow to 0 in computations, but gcc assumes it was never zero, and so it doesn't check the result
<cfbolz> argh
<cfbolz> C sure is fun
<arigato> "yes"
<cfbolz> :-)
<kenaan> cfbolz default 7c772420134d /pypy/module/: declare array.array to be a read-write buffer. Fixes issue #2751
tayfun26 has quit [Quit: tayfun26]
squeaky_pl has quit [Ping timeout: 252 seconds]
drolando has quit [Remote host closed the connection]
drolando has joined #pypy
<tos9> qui
dustinm- has joined #pypy
jacob22__ has joined #pypy
demonimin_ has joined #pypy
demonimin_ has joined #pypy
gclawes has joined #pypy
mdash_ has joined #pypy
Knio_ has joined #pypy
Graypup__ has joined #pypy
Hotpot33_ has joined #pypy
dan-- has joined #pypy
dan-- has joined #pypy
dan-- has quit [Changing host]
jacob22_ has quit [*.net *.split]
Hotpot33 has quit [*.net *.split]
dan- has quit [*.net *.split]
mdash has quit [*.net *.split]
demonimin has quit [*.net *.split]
dustinm has quit [*.net *.split]
alcarith1 has quit [*.net *.split]
gclawes_ has quit [*.net *.split]
jmcp has quit [*.net *.split]
Knio has quit [*.net *.split]
Graypup_ has quit [*.net *.split]
Jonno_FTW has quit [*.net *.split]
trfl has quit [*.net *.split]
trfl has joined #pypy
Jonno_FTW has joined #pypy
dan-- is now known as dan-
tos9 has quit [Ping timeout: 260 seconds]
tos9 has joined #pypy
alcarith1 has joined #pypy
lritter has joined #pypy
fryguybob has joined #pypy
<nanonyme> arigato, thanks a lot for the CFFI release again, just took it into use today
adamholm_ has joined #pypy
adamholmberg has quit [Ping timeout: 256 seconds]
simpson has quit [Ping timeout: 256 seconds]
simpson has joined #pypy
lritter has quit [Quit: Leaving]
asmeurer_ has joined #pypy
asmeurer_ has quit [Quit: asmeurer_]
<kenaan> cfbolz py3.5 5289cd302dff /pypy/module/: merge default
AndrewBC has quit [Read error: Connection reset by peer]
AndrewBC has joined #pypy
antocuni has quit [Ping timeout: 248 seconds]
tbodt has joined #pypy
lritter has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
energizer has joined #pypy
kipras`away is now known as kipras
jmcp has joined #pypy
inad922 has joined #pypy
asmeurer__ has joined #pypy
asmeurer__ has quit [Quit: asmeurer__]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
drolando has quit [Quit: Textual IRC Client: www.textualapp.com]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
drolando has joined #pypy
jacob22__ is now known as jacob22
tbodt has joined #pypy
Rhy0lite has quit [Quit: Leaving]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
inad922 has quit [Ping timeout: 245 seconds]
tbodt has joined #pypy
<kenaan> rlamy extradoc 4f00d407dfa7 /sprintinfo/leysin-winter-2018/people.txt: Add myself to Leysin sprint
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
marky1991 has quit [Ping timeout: 248 seconds]
drolando has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drolando has joined #pypy
drolando_ has joined #pypy
Gonsor has quit [Read error: Connection reset by peer]
drolando has quit [Ping timeout: 240 seconds]
fryguybob has quit [Quit: leaving]
drolando_ has quit [Remote host closed the connection]
drolando has joined #pypy
squeaky_pl has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
drolando has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lritter has quit [Quit: Leaving]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
drolando has joined #pypy
tbodt has joined #pypy
drolando_ has joined #pypy
drolando has quit [Ping timeout: 240 seconds]
antocuni has joined #pypy
norox has quit [Ping timeout: 256 seconds]
ionelmc has quit [Ping timeout: 256 seconds]
glyph has quit [Ping timeout: 240 seconds]
krono has quit [Ping timeout: 265 seconds]
ionelmc has joined #pypy
ionelmc has quit [Max SendQ exceeded]
pchiusano has quit [Ping timeout: 260 seconds]
mitsuhiko has quit [Ping timeout: 255 seconds]
fijal has quit [Ping timeout: 256 seconds]
tbodt has quit [Max SendQ exceeded]
krono has joined #pypy
ionelmc has joined #pypy
idnar has quit [Ping timeout: 260 seconds]
tbodt has joined #pypy
ionelmc has quit [Max SendQ exceeded]
pchiusano has joined #pypy
mitsuhiko has joined #pypy
fijal has joined #pypy
idnar has joined #pypy
untitaker has quit [Ping timeout: 276 seconds]
mitsuhiko has quit [Max SendQ exceeded]
ionelmc has joined #pypy
phlebas has quit [Ping timeout: 260 seconds]
krono has quit [Ping timeout: 240 seconds]
untitaker has joined #pypy
ionelmc has quit [Max SendQ exceeded]
untitaker has quit [Max SendQ exceeded]
ionelmc has joined #pypy
untitaker has joined #pypy
ionelmc has quit [Max SendQ exceeded]
phlebas has joined #pypy
ionelmc has joined #pypy
krono has joined #pypy
untitaker has quit [Max SendQ exceeded]
wallet42 has quit [Ping timeout: 256 seconds]
ionelmc has quit [Max SendQ exceeded]
untitaker has joined #pypy
ionelmc has joined #pypy
wallet42 has joined #pypy
adamholm_ has quit [Remote host closed the connection]
glyph has joined #pypy