antocuni changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://botbot.me/freenode/pypy/ ) | use cffi for calling C | "PyPy: the Gradual Reduction of Magic (tm)"
tbodt has joined #pypy
tbodt has quit [Client Quit]
ceridwen has quit [Ping timeout: 258 seconds]
astronavt has joined #pypy
ceridwen has joined #pypy
marr has quit [Ping timeout: 268 seconds]
astronavt has quit [Ping timeout: 255 seconds]
yuyichao has quit [Ping timeout: 248 seconds]
yuyichao has joined #pypy
yuyichao_ has joined #pypy
yuyichao has quit [Ping timeout: 248 seconds]
astronavt has joined #pypy
yuyichao_ has quit [Remote host closed the connection]
yuyichao_ has joined #pypy
astronavt has quit [Ping timeout: 240 seconds]
oberstet2 has joined #pypy
oberstet2 has quit [Remote host closed the connection]
oberstet has quit [Ping timeout: 240 seconds]
songww has joined #pypy
<kenaan> rlamy py3.5 f8e7ad765a37 /pypy/: .pyo suffix is meaningless now (PEP 488)
shodan45_ has joined #pypy
dmalcolm_ has joined #pypy
shodan45 has quit [Ping timeout: 248 seconds]
Thinh_ has joined #pypy
[0__0] has quit [*.net *.split]
dmalcolm has quit [*.net *.split]
kenaan has quit [*.net *.split]
Thinh has quit [*.net *.split]
carljm has quit [*.net *.split]
jiffe has quit [*.net *.split]
jerith has quit [*.net *.split]
ssbr has quit [*.net *.split]
Thinh_ is now known as Thinh
[0__0] has joined #pypy
kenaan has joined #pypy
jerith has joined #pypy
jiffe has joined #pypy
ssbr has joined #pypy
carljm has joined #pypy
jcea has quit [Remote host closed the connection]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6408 [ronan: force build, py3.5]
astronavt has joined #pypy
astronavt has quit [Ping timeout: 258 seconds]
pilne has quit [Quit: Quitting!]
yuyichao_ has quit [Ping timeout: 240 seconds]
yuyichao_ has joined #pypy
ArneBab_ has joined #pypy
ArneBab has quit [Ping timeout: 268 seconds]
yuyichao_ has quit [Remote host closed the connection]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6408 [ronan: force build, py3.5]
yuyichao has joined #pypy
astronavt has joined #pypy
astronavt has quit [Ping timeout: 276 seconds]
drolando has quit [Remote host closed the connection]
drolando has joined #pypy
astronavt has joined #pypy
astronavt has quit [Ping timeout: 246 seconds]
asmeurer____ has quit [Quit: asmeurer____]
slacky has quit [Ping timeout: 264 seconds]
astronavt has joined #pypy
astronavt has quit [Ping timeout: 246 seconds]
zmt00 has quit [Quit: Leaving]
yuyichao_ has joined #pypy
yuyichao has quit [Ping timeout: 246 seconds]
shodan45_ has quit [Remote host closed the connection]
shodan45 has joined #pypy
astronavt has joined #pypy
Nizumzen has joined #pypy
astronavt has quit [Ping timeout: 252 seconds]
microdog has joined #pypy
92AACI8JU has joined #pypy
hubert0 has joined #pypy
microdog has quit [Quit: Page closed]
mattip has joined #pypy
jamesaxl has joined #pypy
slacky has joined #pypy
astronavt has joined #pypy
<mattip> I have a pull request for matplotlib that allows tkagg to work, apparently it will land in matplotlib2.2
<mattip> but
<mattip> "pylab.plot(range(10)); pylab.show()" and then opening the subplot dialog box exposes a problem
<mattip> when the GC kicks in, the python-level objects in the dialog are collected, and the callbacks stop working
<mattip> i.e. the sliders stop reacting
<mattip> AFAICT it seems no one holds a reference to the dialog box window, but since there are circular references CPython does not collect it ever,
<mattip> our GC works out the circular references and kills the objects
astronavt has quit [Ping timeout: 258 seconds]
<cfbolz> mattip: amazing
<mattip> when I add a __del__ method to the dialog box called SubPlotTool, we call the __del__, CPython never does, even at exit
<mattip> now the question is how do I get a fix, is it a Matplotlib issue or a CPython one?
<arigato> ah so it depends on leaking objects forever
<arigato> and their __del__ never being called?
<mattip> yup
<mattip> again, AFAICT
<arigato> it's kind of obvious that it is a problem in Matplotlib then
<arigato> if that's correct :-)
<arigato> for one, it leaks objects that will never be collected, I guess whenever you open a new dialog box you get more of them
<arigato> (on CPython too)
<mattip> ahh, so I should be able to show them that there is a memory leak, maybe that can be a motivation
<arigato> check if they end up in "gc.garbage"?
<arigato> if so, yes
<mattip> +1
<arigato> of course, nowadays who cares if your program leaks a few dozen KBs every time you open a dialog box
<mattip> yup, the dialog ends up in gc.garbage just before exiting python, cool
<arigato> so if you open it three times, you get three times more garbage I guess
<arigato> if so that's an "easy sell"
<mattip> correct
<mattip> seems it is tkagg (tkinter backend) specific
oberstet has joined #pypy
astronavt has joined #pypy
inhahe_ has quit [Ping timeout: 248 seconds]
hubert0 has quit [Read error: Connection reset by peer]
inhahe_ has joined #pypy
astronavt has quit [Ping timeout: 252 seconds]
marr has joined #pypy
antocuni has joined #pypy
<tumbleweed> i/win 32
oberstet has quit [Ping timeout: 240 seconds]
<mattip> Heisenberg bug - without a __del__ cpython does not leak, it clears up the circular reference at some point
<mattip> When I add a __del__ to see how the collection is done, cpython cannot clear up the circular reference and never calls __del__
slacky has quit [Ping timeout: 276 seconds]
<arigato> obviously
<arigato> if it ends up in a cycle, the collection occurs at a really random time
92AACI8JU has quit [Quit: 92AACI8JU]
astronavt has joined #pypy
songww has quit [Quit: songww]
songww has joined #pypy
astronavt has quit [Ping timeout: 255 seconds]
<mattip> maybe I can file an issue that the dialog box is not modal like it is in wx, qt; and that will entail holding a ref to it,
<mattip> which should solve the PyPy issue
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #pypy
nunatak has joined #pypy
<mattip> ... and now window.grab_set() sets dialog box to modal on cpython but not on pypy :(
<mattip> ... but grab_set() _does_ prevent the gc from collecting the dialog box, go figure
astronavt has joined #pypy
astronavt has quit [Ping timeout: 246 seconds]
antocuni has quit [Ping timeout: 240 seconds]
astronavt has joined #pypy
astronavt has quit [Ping timeout: 276 seconds]
jcea has joined #pypy
songww has quit [Quit: songww]
astronavt has joined #pypy
astronavt has quit [Ping timeout: 246 seconds]
<kenaan> arigo unicode-utf8 ea8cbee5a965 /rpython/rlib/test/test_rstring.py: Test for replace_count
<kenaan> arigo unicode-utf8 a868253965d3 /rpython/rlib/: Get rid of this function (there is codepoints_in_utf8())
antocuni has joined #pypy
Rhy0lite has joined #pypy
<mattip> done. Three lines (one for PyPy, two for modal), 4+ hours, https://github.com/matplotlib/matplotlib/pull/9899
<arigato> :-/
<exarkun> always a frustrating ratio, though sometimes at least you get a good story too?
ronan has quit [Ping timeout: 246 seconds]
<mattip> exarkun: the only real conclusion I reach when researching CPython / PyPy incompatabities is to come here and get someone to rubber duck the problem
<mattip> which really is to be expected, the problem usually does not show up on CPython
Nizumzen has quit [Ping timeout: 258 seconds]
adamholmberg has joined #pypy
exarkun has quit [Ping timeout: 276 seconds]
astronavt has joined #pypy
astronavt has quit [Ping timeout: 255 seconds]
danieljabailey has quit [Read error: Connection reset by peer]
mattip has left #pypy ["bye"]
yuyichao_ has quit [Ping timeout: 248 seconds]
slacky has joined #pypy
yuyichao_ has joined #pypy
adamholmberg has quit [Remote host closed the connection]
exarkun has joined #pypy
Nizumzen has joined #pypy
danieljabailey has joined #pypy
astronavt has joined #pypy
songww has joined #pypy
astronavt has quit [Ping timeout: 246 seconds]
adamholmberg has joined #pypy
Taggnostr has joined #pypy
danieljabailey has quit [Ping timeout: 248 seconds]
jcea1 has joined #pypy
jcea has quit [Ping timeout: 276 seconds]
jcea1 is now known as jcea
drolando has quit [Remote host closed the connection]
drolando has joined #pypy
yuyichao_ has quit [Ping timeout: 264 seconds]
astronavt has joined #pypy
yuyichao_ has joined #pypy
astronavt has quit [Ping timeout: 258 seconds]
dcrosta has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dcrosta has joined #pypy
yuyichao has joined #pypy
yuyichao_ has quit [Ping timeout: 248 seconds]
danieljabailey has joined #pypy
oberstet has joined #pypy
ronan has joined #pypy
jcea has quit [Quit: jcea]
astronavt has joined #pypy
fryguybob has joined #pypy
zmt00 has joined #pypy
<xorAxAx> Alex_Gaynor: the most renowned german computer magazine c't is featuring https://github.com/alex/what-happens-when in the current issue
<Alex_Gaynor> huh.
<xorAxAx> and they remark that its old, but useful
<xorAxAx> (on a page of random web links)
<Alex_Gaynor> sounds about right
astronavt has quit [Ping timeout: 240 seconds]
tbodt has joined #pypy
oberstet has quit [Ping timeout: 240 seconds]
dcrosta has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dcrosta has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<kenaan> arigo unicode-utf8-re 3c9e5313506f /rpython/rlib/: Start of step 1 Making sure that we don't use integer arithmetic uncheckedly on string positions, because ...
tbodt has joined #pypy
dcrosta has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Nizumzen has quit [Ping timeout: 260 seconds]
dcrosta has joined #pypy
dcrosta has quit [Client Quit]
antocuni has quit [Ping timeout: 264 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
astronavt has joined #pypy
tbodt has joined #pypy
astronavt has quit [Ping timeout: 252 seconds]
Nizumzen has joined #pypy
dcrosta has joined #pypy
jcea has joined #pypy
asmeurer__ has joined #pypy
asmeurer__ has quit [Quit: asmeurer__]
Nizumzen has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
astronavt has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
astronavt has quit [Ping timeout: 255 seconds]
<kenaan> pjenvey default 49077d47e615 /lib_pypy/resource.py: fill in struct_rusage's full name
Guest48660 has quit [Remote host closed the connection]
marvin has joined #pypy
marvin is now known as Guest77052
Guest77052 has quit [Remote host closed the connection]
marvin_ has joined #pypy
asmeurer_ has joined #pypy
asmeurer_ has quit [Client Quit]
astronavt has joined #pypy
asmeurer__ has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dcrosta has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dcrosta has joined #pypy
astronavt has quit [Ping timeout: 252 seconds]
kolko has quit [Quit: ZNC - http://znc.in]
<ronan> pff... fighting CPython and RPython at the same time is no fun
<ronan> the handling of NUL characters in CPYthon's zipimport seems fucked up
tbodt has joined #pypy
<ronan> so if you have mod = z.load_module('a'), then you get z.load_module('a\0 b') is not mod but z.load_module('a') is mod
JStoker has quit [Ping timeout: 264 seconds]
JStoker has joined #pypy
yuyichao has quit [Quit: Konversation terminated!]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
tbodt has quit [Client Quit]
tbodt has joined #pypy
tbodt has quit [Client Quit]
astronavt has joined #pypy
astronavt has quit [Ping timeout: 255 seconds]
<kenaan> rlamy py3.5 e6985c577de2 /pypy/module/: Fix handling of arguments containing null bytes in zipimporter methods
kolko has joined #pypy
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6409 [ronan: force build, py3.5]
tbodt has joined #pypy
nunatak has quit [Quit: Leaving]
tbodt has quit [Read error: Connection reset by peer]
tbodt has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6409 [ronan: force build, py3.5]
asmeurer__ has quit [Quit: asmeurer__]
astronavt has joined #pypy
astronavt has quit [Ping timeout: 255 seconds]
asmeurer_ has joined #pypy
asmeurer_ has quit [Quit: asmeurer_]
jamesaxl has quit [Quit: WeeChat 1.9.1]
asmeurer__ has joined #pypy
astronavt has joined #pypy
astronavt has quit [Ping timeout: 240 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
tbodt has quit [Client Quit]
adamholmberg has quit [Remote host closed the connection]
Rhy0lite has quit [Quit: Leaving]
fryguybob has quit [Read error: Connection reset by peer]
fryguybob has joined #pypy