rokujyouhitoma has quit [Remote host closed the connection]
_whitelogger has joined #pypy
marr has quit [Ping timeout: 240 seconds]
lritter has quit [Remote host closed the connection]
antocuni_ has quit [Ping timeout: 276 seconds]
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 268 seconds]
marky1991 has joined #pypy
ArneBab_ has joined #pypy
ArneBab has quit [Ping timeout: 240 seconds]
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 276 seconds]
marky1991 has quit [Ping timeout: 248 seconds]
TheAdversary has quit [Remote host closed the connection]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Remote host closed the connection]
TheAdversary has joined #pypy
rokujyouhitoma has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
rokujyouhitoma has quit [Ping timeout: 240 seconds]
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Remote host closed the connection]
TheAdversary has joined #pypy
TheAdversary has quit [Remote host closed the connection]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
kipras is now known as kipras`away
mat^2 has quit [Ping timeout: 240 seconds]
TheAdversary has quit [Remote host closed the connection]
jcea has joined #pypy
TheAdversary has joined #pypy
tbodt has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
jcea has quit [Quit: jcea]
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
jcea has joined #pypy
TheAdversary has joined #pypy
jcea has quit [Client Quit]
jcea has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
jcea has quit [Client Quit]
jcea has joined #pypy
jcea has quit [Client Quit]
TheAdversary has quit [Remote host closed the connection]
TheAdversary has joined #pypy
jcea has joined #pypy
rokujyouhitoma has joined #pypy
jcea has quit [Client Quit]
TheAdversary has quit [Remote host closed the connection]
TheAdversary has joined #pypy
jcea has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
rokujyouhitoma has quit [Ping timeout: 268 seconds]
TheAdversary has joined #pypy
altendky has quit [Quit: Connection closed for inactivity]
TheAdversary has quit [Max SendQ exceeded]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
jcea has quit [Quit: jcea]
TheAdversary has quit [Remote host closed the connection]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Remote host closed the connection]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
pilne has quit [Quit: Quitting!]
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
rokujyouhitoma has joined #pypy
TheAdversary has quit [Remote host closed the connection]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
rokujyouhitoma has quit [Ping timeout: 248 seconds]
TheAdversary has quit [Remote host closed the connection]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Remote host closed the connection]
TheAdversary has joined #pypy
TheAdversary has quit [Remote host closed the connection]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Remote host closed the connection]
TheAdversary has joined #pypy
TheAdversary has quit [Remote host closed the connection]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
TheAdversary has quit [Max SendQ exceeded]
TheAdversary has joined #pypy
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 260 seconds]
<njs> TheAdversary: maybe you should get that looked at
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 276 seconds]
<njs> Anyone know of any work on doing automatic data race detection in Python?
<njs> not strictly a pypy-related question, but this seems like the kind of place that people might know...
_whitelogger has joined #pypy
_main_ has joined #pypy
_main_ has quit [Read error: Connection reset by peer]
__main__ has quit [Read error: Connection reset by peer]
_main_ has joined #pypy
_main_ has quit [Read error: Connection reset by peer]
__main__ has joined #pypy
arigato has joined #pypy
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 248 seconds]
arigato has quit [Quit: Leaving]
antocuni has joined #pypy
vkirilichev has joined #pypy
vkirilichev has quit [Ping timeout: 260 seconds]
marr has joined #pypy
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 255 seconds]
_whitelogger has joined #pypy
rokujyouhitoma has joined #pypy
jacob22_ has joined #pypy
rokujyouhitoma has quit [Ping timeout: 248 seconds]
nimaje has quit [Killed (barjavel.freenode.net (Nickname regained by services))]
nimaje has joined #pypy
_whitelogger has joined #pypy
mat^2 has joined #pypy
_whitelogger has joined #pypy
_whitelogger has joined #pypy
_whitelogger has joined #pypy
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 240 seconds]
oberstet has joined #pypy
kipras`away is now known as kipras
rokujyouhitoma has joined #pypy
altendky has joined #pypy
rokujyouhitoma has quit [Ping timeout: 276 seconds]
inhahe_ has quit [Read error: Connection reset by peer]
inhahe_ has joined #pypy
antocuni has quit [Ping timeout: 248 seconds]
arigato has joined #pypy
demonimin has quit [Ping timeout: 268 seconds]
demonimin has joined #pypy
demonimin has joined #pypy
demonimin has quit [Ping timeout: 240 seconds]
yuyichao_ has joined #pypy
kirma has quit [Ping timeout: 258 seconds]
rokujyouhitoma has joined #pypy
yuyichao has quit [Ping timeout: 240 seconds]
rokujyouhitoma has quit [Ping timeout: 260 seconds]
oberstet has quit [Ping timeout: 248 seconds]
pilne has joined #pypy
demonimin has joined #pypy
jcea has joined #pypy
jcea has quit [Client Quit]
<kenaan> arigo py3.5 b86de9385d47 /pypy/interpreter/: Issue #2598 Try to interpret a byte string for '%s' like a utf-8 string. But don't crash if it is not valid UTF-8; i...
<kenaan> arigo py3.5 bdd61a245eeb /pypy/module/pwd/interp_pwd.py: Fix encoding
vkirilichev has joined #pypy
jcea has joined #pypy
<kenaan> arigo py3.5 6ff399c0c8bd /pypy/module/cpyext/include/object.h: Update the macros Py_DECREF and similar to use the CPython 3.5 version.
rokujyouhitoma has joined #pypy
<kenaan> arigo default c3f8d403ae2f /pypy/module/_cffi_backend/errorbox.py: Remove comment now that the py3.5 fix has been made
rokujyouhitoma has quit [Ping timeout: 248 seconds]
altendky has quit [Quit: Connection closed for inactivity]
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
rokujyouhitoma has joined #pypy
iko has quit [Ping timeout: 240 seconds]
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
rokujyouhitoma has quit [Ping timeout: 248 seconds]
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
Tiberium has joined #pypy
marr has quit [Ping timeout: 240 seconds]
mat^2 has quit [Quit: Leaving]
Tiberium has quit [Remote host closed the connection]
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
Tiberium has joined #pypy
antocuni has joined #pypy
Tiberium has quit [Remote host closed the connection]
Tiberium has joined #pypy
rokujyouhitoma has joined #pypy
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
rokujyouhitoma has quit [Ping timeout: 240 seconds]
Tiberium has quit [Quit: Leaving]
dustinm has quit [Read error: Connection reset by peer]
dustinm has joined #pypy
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
vkirilichev has quit [Remote host closed the connection]
antocuni has quit [Ping timeout: 240 seconds]
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
mattip has joined #pypy
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
vkirilichev has joined #pypy
jcea has quit [Client Quit]
jcea has joined #pypy
jcea has quit [Client Quit]
jcea has joined #pypy
jcea has quit [Quit: jcea]
jcea has joined #pypy
jcea has quit [Client Quit]
jcea has joined #pypy
jcea has quit [Client Quit]
jcea has joined #pypy
rokujyouhitoma has joined #pypy
vkirilichev has quit [Remote host closed the connection]
rokujyouhitoma has quit [Ping timeout: 240 seconds]
jcea has quit [Remote host closed the connection]
vkirilichev has joined #pypy
jcea has joined #pypy
vkirilichev has quit [Remote host closed the connection]
Fleche has joined #pypy
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
ESphynx has joined #pypy
<ESphynx> hey guys, some weird problem using CFFI here... See https://gist.github.com/jerstlouis/cde30d484a83599215b73b5d92a2eaac
<ronny> ESphynx: do you have other references to pos? it seems possible that the print triggers a gc
<ronny> and by doing the first statement you get rid of the reference thats still there
<ronny> ESphynx: in order to rule out a gc issue, please wrap the differerent call into gc.disable/gc.enable
<ESphynx> ronny: but the impl
<ESphynx> is still there
<ESphynx> ronny: I'm quite very certain it's a gc issue
<ronny> well - i dont know the implementations of the classes, so i cant comment anything more
<ESphynx> ronny: What I'm trying to understand is how pos = pos.impl
<ESphynx> is losing anything?
<ronny> the original reference to pos will be removed
<ESphynx> but all pos contains is impl
<ESphynx> which I'm assigning to the new pos :)
<ronny> ESphynx: pos = pos.x, will decref the original value
<ESphynx> of pos.x ?
<ronny> of pos
<ronny> you get a parameter with the name pos
<ronny> then you assign ot the name pos, the value of something else
<ronny> so there is a refernce to what was named pos before lost
<ESphynx> right I get that pos will be lost
<ESphynx> but all that pos contains is that 'impl'
<ESphynx> whch is a CFFI thingy
<ronny> well, its just an idea i had to mention, since you didnt show any other code
<ronny> we dont have any functional cristal balls here
<ESphynx> ronny: what happens is that 'impl' is lost
jcea has quit [Remote host closed the connection]
<ESphynx> while doing pos = pos.impl
jcea has joined #pypy
<ronny> ESphynx: without any more code we can only guess and we cant try
<ESphynx> well while doing: pos = ffi.NULL if pos is None else ffi.cast("Position *", pos.impl)
<ronny> ESphynx: its not quite clear to me why you need to cast a managed instance to a unmanaged one
<ESphynx> managed to unmanaged?
<ronny> my current understanding is that ffi.new returns things that have gc support, and ffi.cast casts pointer types
vkirilichev has joined #pypy
<ronny> its not clear at all why you need a cast to the type you already have to me
<ESphynx> ah well that's a particularity here
<ESphynx> I have a struct Position and a struct Position3D with an extra 'z' member
<ESphynx> so I'm casting to a Position * in case pos.impl is actually a Position3D *
<ronny> hmm, peronally i stil lcant help you - perhaps someone else has an idea - i still wonder if its not a gc issue (since a print trips it off and a explicit reference lets it stay)
<ESphynx> so is it possible that because we're assigning the result of a cast to pos, and deleing the pos.impl that was originally casted, things go wrong?
<ESphynx> ronny: like I said I'm sure it's a GC issue like you suggest.
<ronny> also bbl, im off to a dinner date
<ESphynx> the only question is whether it'a CFFI a bug and trying to find out hte rules
<ESphynx> thanks and enjoy your dinner date ronny :)
tilgovi has joined #pypy
mattip has left #pypy ["bye"]
<arigato> ESphynx: it probably breaks when you call x.move_breaks(start, Position(..))
<ESphynx> arigato: yeah thing is it only breaks if I do
<arigato> because at the print() in that function, there is no more reference to the ffi.new() result
<ESphynx> pos = ffi.cast(..., pos)
<ESphynx> if I omit that pos = ffi.cast() it works
<ESphynx> also works if the cast is used in the call directly, rather than doing the pos = ffi.cast ("Position *", pos)
<arigato> yes, because that overrides 'pos'
<ESphynx> arigato: no more reference -- except there is a reference through the ffi.cast, but I Guess CFFI doesn't count it as a refernce?
<ESphynx> even though it's the same address ?
<arigato> yes, exactly
<ESphynx> is that a limitation, feature, or bug? :P
<arigato> no reference to the ffi.new() or to the original Position instance that held it
<arigato> that's a feature
<ESphynx> shouldn't ffi.cast()
<ESphynx> count as a reference ?
<arigato> no
<ESphynx> I'd argue it should? :)
<arigato> the problem is that, for example, if you have p = ffi.new("int[]", range(10))
<arigato> then should "p + 0" count as a reference? should "p + 5" count?
<ESphynx> p + 0 but not p + 5 :P
<arigato> ctypes decided the answer to all that is yes, and cffi decided it's no
redj has joined #pypy
<ESphynx> the balance :)
jcea has quit [Remote host closed the connection]
<arigato> if you want :-)
jcea has joined #pypy
<ESphynx> thanks for clarifying arigato
<xorAxAx> how about +p?
<arigato> the "p+0 yes, p+5 no" would be another possible answer, which is also strange, just like the other two answers
<xorAxAx> (unary plus)
<arigato> there is just no best answer
<arigato> so, cffi's is just that ffi.new() returns a "pointer holding a reference", and most other operations don't
<ESphynx> if it ends up the same address it shold, if it's not the same address it shouldn't :
<ESphynx> fair enough.
<arigato> xorAxAx: I think that "+p" doesn't work in cffi, though it's arguably a deficiency because it works in C... but well, "-p" doesn't in C, so well :-)
<xorAxAx> ah, yes
<arigato> ...no, it doesn't work in C either :-) I still learn new bits of C every day.
rokujyouhitoma has joined #pypy
<xorAxAx> but it works in python, right?
<arigato> uh, depends on the type of "p" of course?
<arigato> in C it works for integers, but not for pointers
<xorAxAx> yeah, sure
rokujyouhitoma has quit [Ping timeout: 248 seconds]
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
jcea has quit [Client Quit]
marky1991 has joined #pypy
vkirilichev has quit [Remote host closed the connection]
vkirilichev has joined #pypy
marr has joined #pypy
marky1991 has quit [Ping timeout: 255 seconds]
marky1991 has joined #pypy
rokujyouhitoma has joined #pypy
marky1991 has quit [Remote host closed the connection]
rokujyouhitoma has quit [Ping timeout: 260 seconds]
marky1991 has joined #pypy
vkirilichev has quit [Remote host closed the connection]
oberstet has joined #pypy
vkirilichev has joined #pypy
vkirilichev has quit [Ping timeout: 276 seconds]
vkirilichev has joined #pypy
vkirilichev has quit [Ping timeout: 260 seconds]
rokujyouhitoma has joined #pypy
vkirilichev has joined #pypy
rokujyouhitoma has quit [Ping timeout: 260 seconds]
arigato has quit [Quit: Leaving]
oberstet has quit [Ping timeout: 240 seconds]
antocuni has joined #pypy
tilgovi has quit [Ping timeout: 255 seconds]
rokujyouhitoma has joined #pypy
tilgovi has joined #pypy
rokujyouhitoma has quit [Ping timeout: 240 seconds]
marky1991 has quit [Ping timeout: 240 seconds]
vkirilichev has quit [Remote host closed the connection]
rokujyouhitoma has joined #pypy
tbodt has joined #pypy
rokujyouhitoma has quit [Ping timeout: 260 seconds]
<njs> is pypy's memory model sequentially consistent?
<njs> I'm thinking it must be, but I just came across a paper claiming that Python has refused to commit to this, and it got me nervous :-). AFAICT reading between the lines, jython used to not be but they fixed it to be SC and the paper is out of date.
kipras is now known as kipras`away
tilgovi has quit [Ping timeout: 276 seconds]
tilgovi has joined #pypy
jacob22_ has quit [Ping timeout: 260 seconds]
nedbat has quit [Quit: ZNC - http://znc.in]
amaury has joined #pypy
amaury has quit [Quit: Konversation terminated!]
amaury has joined #pypy
nedbat has joined #pypy
amaury has quit [Ping timeout: 260 seconds]
antocuni has quit [Ping timeout: 255 seconds]
rokujyouhitoma has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rokujyouhitoma has quit [Ping timeout: 248 seconds]
tbodt has joined #pypy
tilgovi has quit [Remote host closed the connection]
tilgovi has joined #pypy
altendky has joined #pypy