00:02
tbodt has joined #pypy
00:05
tbodt has quit [Client Quit]
00:30
ceridwen has quit [Ping timeout: 258 seconds]
00:42
astronavt has joined #pypy
00:43
ceridwen has joined #pypy
00:43
marr has quit [Ping timeout: 268 seconds]
00:47
astronavt has quit [Ping timeout: 255 seconds]
00:53
yuyichao has quit [Ping timeout: 248 seconds]
01:09
yuyichao has joined #pypy
01:17
yuyichao_ has joined #pypy
01:18
yuyichao has quit [Ping timeout: 248 seconds]
01:43
astronavt has joined #pypy
01:43
yuyichao_ has quit [Remote host closed the connection]
01:44
yuyichao_ has joined #pypy
01:48
astronavt has quit [Ping timeout: 240 seconds]
01:58
oberstet2 has joined #pypy
01:59
oberstet2 has quit [Remote host closed the connection]
02:00
oberstet has quit [Ping timeout: 240 seconds]
02:06
songww has joined #pypy
02:09
<
kenaan >
rlamy py3.5 f8e7ad765a37 /pypy/: .pyo suffix is meaningless now (PEP 488)
02:12
shodan45_ has joined #pypy
02:13
dmalcolm_ has joined #pypy
02:21
shodan45 has quit [Ping timeout: 248 seconds]
02:22
Thinh_ has joined #pypy
02:22
[0__0] has quit [*.net *.split]
02:22
dmalcolm has quit [*.net *.split]
02:22
kenaan has quit [*.net *.split]
02:22
Thinh has quit [*.net *.split]
02:22
carljm has quit [*.net *.split]
02:22
jiffe has quit [*.net *.split]
02:22
jerith has quit [*.net *.split]
02:22
ssbr has quit [*.net *.split]
02:22
Thinh_ is now known as Thinh
02:27
[0__0] has joined #pypy
02:27
kenaan has joined #pypy
02:27
jerith has joined #pypy
02:27
jiffe has joined #pypy
02:27
ssbr has joined #pypy
02:28
carljm has joined #pypy
02:29
jcea has quit [Remote host closed the connection]
02:44
astronavt has joined #pypy
02:49
astronavt has quit [Ping timeout: 258 seconds]
03:01
pilne has quit [Quit: Quitting!]
03:07
yuyichao_ has quit [Ping timeout: 240 seconds]
03:17
yuyichao_ has joined #pypy
03:28
ArneBab_ has joined #pypy
03:33
ArneBab has quit [Ping timeout: 268 seconds]
03:38
yuyichao_ has quit [Remote host closed the connection]
03:39
yuyichao has joined #pypy
03:45
astronavt has joined #pypy
03:50
astronavt has quit [Ping timeout: 276 seconds]
03:58
drolando has quit [Remote host closed the connection]
03:59
drolando has joined #pypy
04:46
astronavt has joined #pypy
04:50
astronavt has quit [Ping timeout: 246 seconds]
05:10
asmeurer____ has quit [Quit: asmeurer____]
05:30
slacky has quit [Ping timeout: 264 seconds]
05:47
astronavt has joined #pypy
05:51
astronavt has quit [Ping timeout: 246 seconds]
06:12
zmt00 has quit [Quit: Leaving]
06:21
yuyichao_ has joined #pypy
06:22
yuyichao has quit [Ping timeout: 246 seconds]
06:31
shodan45_ has quit [Remote host closed the connection]
06:44
shodan45 has joined #pypy
06:47
astronavt has joined #pypy
06:51
Nizumzen has joined #pypy
06:52
astronavt has quit [Ping timeout: 252 seconds]
06:58
microdog has joined #pypy
06:59
92AACI8JU has joined #pypy
07:03
hubert0 has joined #pypy
07:10
microdog has quit [Quit: Page closed]
07:12
mattip has joined #pypy
07:17
jamesaxl has joined #pypy
07:30
slacky has joined #pypy
07:48
astronavt has joined #pypy
07:49
<
mattip >
I have a pull request for matplotlib that allows tkagg to work, apparently it will land in matplotlib2.2
07:50
<
mattip >
"pylab.plot(range(10)); pylab.show()" and then opening the subplot dialog box exposes a problem
07:51
<
mattip >
when the GC kicks in, the python-level objects in the dialog are collected, and the callbacks stop working
07:51
<
mattip >
i.e. the sliders stop reacting
07:52
<
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,
07:52
<
mattip >
our GC works out the circular references and kills the objects
07:53
astronavt has quit [Ping timeout: 258 seconds]
07:53
<
cfbolz >
mattip: amazing
07:53
<
mattip >
when I add a
__del__ method to the dialog box called SubPlotTool, we call the __del__, CPython never does, even at exit
07:55
<
mattip >
now the question is how do I get a fix, is it a Matplotlib issue or a CPython one?
07:55
<
arigato >
ah so it depends on leaking objects forever
07:55
<
arigato >
and their
__del__ never being called?
07:55
<
mattip >
again, AFAICT
07:55
<
arigato >
it's kind of obvious that it is a problem in Matplotlib then
07:55
<
arigato >
if that's correct :-)
07:56
<
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
07:57
<
arigato >
(on CPython too)
07:57
<
mattip >
ahh, so I should be able to show them that there is a memory leak, maybe that can be a motivation
07:57
<
arigato >
check if they end up in "gc.garbage"?
07:57
<
arigato >
if so, yes
07:59
<
arigato >
of course, nowadays who cares if your program leaks a few dozen KBs every time you open a dialog box
08:05
<
mattip >
yup, the dialog ends up in gc.garbage just before exiting python, cool
08:05
<
arigato >
so if you open it three times, you get three times more garbage I guess
08:05
<
arigato >
if so that's an "easy sell"
08:12
<
mattip >
seems it is tkagg (tkinter backend) specific
08:29
oberstet has joined #pypy
08:49
astronavt has joined #pypy
08:50
inhahe_ has quit [Ping timeout: 248 seconds]
08:53
hubert0 has quit [Read error: Connection reset by peer]
08:53
inhahe_ has joined #pypy
08:53
astronavt has quit [Ping timeout: 252 seconds]
09:02
marr has joined #pypy
09:15
antocuni has joined #pypy
09:15
<
tumbleweed >
i/win 32
09:23
oberstet has quit [Ping timeout: 240 seconds]
09:38
<
mattip >
Heisenberg bug - without a
__del__ cpython does not leak, it clears up the circular reference at some point
09:39
<
mattip >
When I add a
__del__ to see how the collection is done, cpython cannot clear up the circular reference and never calls
__del__
09:39
slacky has quit [Ping timeout: 276 seconds]
09:41
<
arigato >
obviously
09:41
<
arigato >
if it ends up in a cycle, the collection occurs at a really random time
09:42
92AACI8JU has quit [Quit: 92AACI8JU]
09:50
astronavt has joined #pypy
09:50
songww has quit [Quit: songww]
09:52
songww has joined #pypy
09:55
astronavt has quit [Ping timeout: 255 seconds]
10:02
<
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,
10:02
<
mattip >
which should solve the PyPy issue
10:06
jamesaxl has quit [Read error: Connection reset by peer]
10:07
jamesaxl has joined #pypy
10:11
nunatak has joined #pypy
10:40
<
mattip >
... and now window.grab_set() sets dialog box to modal on cpython but not on pypy :(
10:46
<
mattip >
... but grab_set()
_does_ prevent the gc from collecting the dialog box, go figure
10:51
astronavt has joined #pypy
10:55
astronavt has quit [Ping timeout: 246 seconds]
11:21
antocuni has quit [Ping timeout: 240 seconds]
11:51
astronavt has joined #pypy
11:56
astronavt has quit [Ping timeout: 276 seconds]
12:32
jcea has joined #pypy
12:51
songww has quit [Quit: songww]
12:52
astronavt has joined #pypy
12:57
astronavt has quit [Ping timeout: 246 seconds]
13:06
<
kenaan >
arigo unicode-utf8 ea8cbee5a965 /rpython/rlib/test/test_rstring.py: Test for replace_count
13:06
<
kenaan >
arigo unicode-utf8 a868253965d3 /rpython/rlib/: Get rid of this function (there is codepoints_in_utf8())
13:12
antocuni has joined #pypy
13:15
Rhy0lite has joined #pypy
13:27
<
exarkun >
always a frustrating ratio, though sometimes at least you get a good story too?
13:32
ronan has quit [Ping timeout: 246 seconds]
13:36
<
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
13:37
<
mattip >
which really is to be expected, the problem usually does not show up on CPython
13:46
Nizumzen has quit [Ping timeout: 258 seconds]
13:47
adamholmberg has joined #pypy
13:49
exarkun has quit [Ping timeout: 276 seconds]
13:53
astronavt has joined #pypy
13:58
astronavt has quit [Ping timeout: 255 seconds]
14:15
danieljabailey has quit [Read error: Connection reset by peer]
14:18
mattip has left #pypy ["bye"]
14:18
yuyichao_ has quit [Ping timeout: 248 seconds]
14:29
slacky has joined #pypy
14:30
yuyichao_ has joined #pypy
14:34
adamholmberg has quit [Remote host closed the connection]
14:38
exarkun has joined #pypy
14:46
Nizumzen has joined #pypy
14:52
danieljabailey has joined #pypy
14:54
astronavt has joined #pypy
14:57
songww has joined #pypy
14:58
astronavt has quit [Ping timeout: 246 seconds]
15:00
adamholmberg has joined #pypy
15:01
Taggnostr has joined #pypy
15:23
danieljabailey has quit [Ping timeout: 248 seconds]
15:30
jcea1 has joined #pypy
15:30
jcea has quit [Ping timeout: 276 seconds]
15:30
jcea1 is now known as jcea
15:37
drolando has quit [Remote host closed the connection]
15:38
drolando has joined #pypy
15:42
yuyichao_ has quit [Ping timeout: 264 seconds]
15:54
astronavt has joined #pypy
15:56
yuyichao_ has joined #pypy
15:59
astronavt has quit [Ping timeout: 258 seconds]
16:00
dcrosta has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:01
dcrosta has joined #pypy
16:08
yuyichao has joined #pypy
16:11
yuyichao_ has quit [Ping timeout: 248 seconds]
16:17
danieljabailey has joined #pypy
16:20
oberstet has joined #pypy
16:50
ronan has joined #pypy
16:55
jcea has quit [Quit: jcea]
16:55
astronavt has joined #pypy
16:56
fryguybob has joined #pypy
16:58
zmt00 has joined #pypy
16:58
<
xorAxAx >
and they remark that its old, but useful
16:59
<
xorAxAx >
(on a page of random web links)
16:59
<
Alex_Gaynor >
sounds about right
17:00
astronavt has quit [Ping timeout: 240 seconds]
17:00
tbodt has joined #pypy
17:07
oberstet has quit [Ping timeout: 240 seconds]
17:12
dcrosta has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:14
dcrosta has joined #pypy
17:14
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
17:20
<
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 ...
17:23
tbodt has joined #pypy
17:25
dcrosta has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:28
Nizumzen has quit [Ping timeout: 260 seconds]
17:28
dcrosta has joined #pypy
17:33
dcrosta has quit [Client Quit]
17:33
antocuni has quit [Ping timeout: 264 seconds]
17:36
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
17:56
astronavt has joined #pypy
17:59
tbodt has joined #pypy
18:01
astronavt has quit [Ping timeout: 252 seconds]
18:03
Nizumzen has joined #pypy
18:10
dcrosta has joined #pypy
18:26
jcea has joined #pypy
18:40
asmeurer__ has joined #pypy
18:51
asmeurer__ has quit [Quit: asmeurer__]
18:57
astronavt has joined #pypy
18:58
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
19:00
tbodt has joined #pypy
19:02
astronavt has quit [Ping timeout: 255 seconds]
19:07
<
kenaan >
pjenvey default 49077d47e615 /lib_pypy/resource.py: fill in struct_rusage's full name
19:12
Guest48660 has quit [Remote host closed the connection]
19:13
marvin has joined #pypy
19:13
marvin is now known as Guest77052
19:17
Guest77052 has quit [Remote host closed the connection]
19:17
marvin_ has joined #pypy
19:50
asmeurer_ has joined #pypy
19:54
asmeurer_ has quit [Client Quit]
19:58
astronavt has joined #pypy
19:59
asmeurer__ has joined #pypy
19:59
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
20:01
dcrosta has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:02
dcrosta has joined #pypy
20:02
astronavt has quit [Ping timeout: 252 seconds]
20:04
<
ronan >
pff... fighting CPython and RPython at the same time is no fun
20:04
<
ronan >
the handling of NUL characters in CPYthon's zipimport seems fucked up
20:05
tbodt has joined #pypy
20:06
<
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
20:08
JStoker has quit [Ping timeout: 264 seconds]
20:10
JStoker has joined #pypy
20:19
yuyichao has quit [Quit: Konversation terminated!]
20:32
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
20:42
tbodt has joined #pypy
20:45
tbodt has quit [Client Quit]
20:46
tbodt has joined #pypy
20:50
tbodt has quit [Client Quit]
20:58
astronavt has joined #pypy
21:03
astronavt has quit [Ping timeout: 255 seconds]
21:17
<
kenaan >
rlamy py3.5 e6985c577de2 /pypy/module/: Fix handling of arguments containing null bytes in zipimporter methods
21:19
kolko has joined #pypy
21:20
tbodt has joined #pypy
21:21
nunatak has quit [Quit: Leaving]
21:31
tbodt has quit [Read error: Connection reset by peer]
21:35
tbodt has joined #pypy
21:59
asmeurer__ has quit [Quit: asmeurer__]
21:59
astronavt has joined #pypy
22:04
astronavt has quit [Ping timeout: 255 seconds]
22:07
asmeurer_ has joined #pypy
22:23
asmeurer_ has quit [Quit: asmeurer_]
22:27
jamesaxl has quit [Quit: WeeChat 1.9.1]
22:55
asmeurer__ has joined #pypy
23:00
astronavt has joined #pypy
23:05
astronavt has quit [Ping timeout: 240 seconds]
23:27
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
23:28
tbodt has joined #pypy
23:28
tbodt has quit [Client Quit]
23:34
adamholmberg has quit [Remote host closed the connection]
23:35
Rhy0lite has quit [Quit: Leaving]
23:40
fryguybob has quit [Read error: Connection reset by peer]
23:41
fryguybob has joined #pypy