00:01
jacob22 has quit [Quit: Konversation terminated!]
00:03
yuyichao has joined #pypy
00:06
vkirilichev has joined #pypy
00:10
dan- has quit [Ping timeout: 255 seconds]
00:16
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
00:22
tbodt has joined #pypy
00:31
nimaje1 has joined #pypy
00:31
nimaje1 is now known as nimaje
00:31
nimaje has quit [Killed (rajaniemi.freenode.net (Nickname regained by services))]
00:32
marr has quit [Remote host closed the connection]
00:43
jamesaxl has quit [Read error: Connection reset by peer]
00:43
jamesaxl has joined #pypy
00:45
LarstiQ has quit [Ping timeout: 240 seconds]
00:45
LarstiQ has joined #pypy
01:00
irclogs_io_bot has quit [Remote host closed the connection]
01:00
wallet42 has quit [Ping timeout: 260 seconds]
01:00
Polsaker has quit [Quit: No Ping reply in 180 seconds.]
01:00
wallet42_ has joined #pypy
01:00
wallet42_ is now known as wallet42
01:00
kolko has joined #pypy
01:01
_habnabit has quit [Ping timeout: 260 seconds]
01:01
_habnabit has joined #pypy
01:02
Polsaker has joined #pypy
01:02
irclogs_io_bot has joined #pypy
01:04
asmeurer__ has quit [Quit: asmeurer__]
01:05
ceridwen has quit [Ping timeout: 240 seconds]
01:05
asmeurer__ has joined #pypy
01:08
marky1991 has quit [Ping timeout: 260 seconds]
01:11
akash47 has quit [Ping timeout: 260 seconds]
01:14
riddle has quit [Disconnected by services]
01:14
riddle has joined #pypy
01:18
asmeurer__ has quit [Quit: asmeurer__]
01:20
ceridwen has joined #pypy
01:20
jcea has quit [Quit: jcea]
01:25
vkirilichev has quit [Ping timeout: 255 seconds]
01:27
nimaje1 has joined #pypy
01:27
nimaje1 is now known as nimaje
01:27
nimaje is now known as Guest25400
01:37
akash47 has joined #pypy
01:38
bbot2_ has quit [Ping timeout: 240 seconds]
01:46
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
01:49
tbodt has joined #pypy
01:50
bbot2 has joined #pypy
02:01
ArneBab_ has joined #pypy
02:05
ArneBab has quit [Ping timeout: 240 seconds]
02:08
nimaje1 has joined #pypy
02:08
nimaje1 is now known as nimaje
02:15
nimaje1 has joined #pypy
02:15
nimaje1 is now known as nimaje
02:15
nimaje has quit [Killed (cherryh.freenode.net (Nickname regained by services))]
02:24
vkirilichev has joined #pypy
02:28
dan- has joined #pypy
02:28
dan- has quit [Changing host]
02:28
dan- has joined #pypy
02:30
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
02:33
pilne has quit [Quit: Quitting!]
02:44
lritter_ has joined #pypy
02:48
lritter has quit [Ping timeout: 240 seconds]
02:49
tilgovi has joined #pypy
02:58
ArneBab has joined #pypy
03:02
ArneBab_ has quit [Ping timeout: 240 seconds]
03:06
forgottenone has joined #pypy
03:33
ceridwen_ has joined #pypy
03:33
ceridwen has quit [Read error: Connection reset by peer]
03:33
ceridwen_ is now known as ceridwen
03:47
vkirilichev has quit [Ping timeout: 260 seconds]
04:01
oberstet2 has joined #pypy
04:04
oberstet has quit [Ping timeout: 260 seconds]
04:21
yuyichao has quit [Quit: Konversation terminated!]
04:22
yuyichao has joined #pypy
04:32
asmeurer__ has joined #pypy
04:46
vkirilichev has joined #pypy
05:22
vkirilichev has quit [Ping timeout: 260 seconds]
05:34
asmeurer__ has quit [Quit: asmeurer__]
05:38
vkirilichev has joined #pypy
05:51
nimaje1 has joined #pypy
05:51
nimaje1 is now known as nimaje
05:51
vkirilichev has quit [Remote host closed the connection]
05:52
vkirilichev has joined #pypy
05:58
vkirilichev has quit [Ping timeout: 260 seconds]
06:03
forgottenone has quit [Ping timeout: 268 seconds]
06:07
forgottenone has joined #pypy
06:09
forgottenone has quit [Client Quit]
06:11
nimaje1 has joined #pypy
06:11
nimaje1 is now known as nimaje
06:11
nimaje is now known as Guest11099
06:12
forgottenone has joined #pypy
06:22
amaury has joined #pypy
06:45
asmeurer__ has joined #pypy
06:51
iMe has joined #pypy
06:56
asmeurer__ has quit [Quit: asmeurer__]
06:58
iMe has quit [Ping timeout: 258 seconds]
07:13
realitix has joined #pypy
07:14
asmeurer__ has joined #pypy
07:28
amaury has quit [Ping timeout: 255 seconds]
07:28
asmeurer__ has quit [Quit: asmeurer__]
07:34
asmeurer__ has joined #pypy
07:39
jamesaxl has quit [Read error: Connection reset by peer]
07:41
jamesaxl has joined #pypy
08:02
kenaan_ has quit [Ping timeout: 260 seconds]
08:14
asmeurer__ has quit [Quit: asmeurer__]
08:16
vkirilichev has joined #pypy
08:28
lritter_ has quit [Ping timeout: 260 seconds]
08:41
cstratak has joined #pypy
08:50
mihaid has joined #pypy
08:52
antocuni has joined #pypy
09:04
nimaje has joined #pypy
09:07
marr has joined #pypy
09:08
forgottenone has quit [Quit: Konversation terminated!]
09:10
jcea has joined #pypy
09:19
forgottenone has joined #pypy
09:21
forgottenone has quit [Client Quit]
09:35
Tiberium has joined #pypy
09:58
jacob22_ has joined #pypy
10:01
palecsan has joined #pypy
10:03
<
palecsan >
I've done some experiments and profiling on a simple python script that does multiprocessing using multiprocessing.Pool
10:05
<
palecsan >
it eventually led me to the threading.py file, wait() function from the _Condition class
10:05
<
palecsan >
from my measurements it seems that the line waiter.acquire(), from the try/catch block is the problem
10:05
<
palecsan >
because it blocks for a huge amount of time
10:07
<
palecsan >
for example: the time needed to wait() for a lock in a simple script: 0.03127, 0.01562, 0.04688, 0.16727, 1.58636, 7.30256, 0.11633, 0.04688
10:07
<
palecsan >
and there is that 7.3 seconds, compared with 1.67249 in CPython
10:08
<
palecsan >
my question is, in which file can I find the implementation of waiter.acquire(), to continue my profiling?
10:09
<
palecsan >
I am talink about the waiter.acquire() from line @340 in threading.py
10:12
<
cfbolz >
that's just a regular lock from the thread module, no?
10:16
<
palecsan >
and acquire() method from _RLock class is not called
10:18
<
palecsan >
on the other hand, the waiter variable is initialized using _allocate_lock(), which is a shortcut to thread.allocate_lock
10:20
antocuni has quit [Ping timeout: 240 seconds]
10:23
<
cfbolz >
no, it's from the thread module, not threading
10:23
<
cfbolz >
thread is implemented in rpython in pypy/module/thread
10:23
<
palecsan >
from os_lock.py?
10:24
<
palecsan >
and this gets me to rthread.py from rpython/rlib
10:26
<
palecsan >
there is a simple way to test changes in rpython without having to do the translation from scratch?
10:27
<
fijal >
palecsan: yes, tests don't require translation
10:30
<
palecsan >
fijal: super, thanks for the tip!
10:30
tilgovi has quit [Ping timeout: 245 seconds]
10:39
oberstet2 has quit [Ping timeout: 240 seconds]
10:53
<
palecsan >
fijal: but I am restricted from importing standard libraries if I am in this mode, like multiprocessing
10:53
<
fijal >
did you look at tests in _multiprocessing?
10:53
<
fijal >
if you want to modify rpython, you should be testing _multiprocessing, not multiprocessing
10:55
<
palecsan >
I'll take a look at those then
10:55
<
palecsan >
I was in the lib-python dir
10:59
inhahe_ has quit [Read error: Connection reset by peer]
10:59
inhahe_ has joined #pypy
11:01
oberstet2 has joined #pypy
11:05
inhahe_ has quit [Read error: Connection reset by peer]
11:06
inhahe_ has joined #pypy
11:20
cstratak has quit [Quit: Leaving]
11:21
cstratak has joined #pypy
11:22
jamadden has joined #pypy
11:51
inhahe_ has quit [Read error: Connection reset by peer]
11:51
inhahe_ has joined #pypy
12:03
amaury has joined #pypy
12:08
antocuni has joined #pypy
12:11
Rhy0lite has joined #pypy
12:38
jacob22_ has quit [Quit: Konversation terminated!]
12:52
amaury has quit [Quit: Konversation terminated!]
12:56
realitix has quit [Ping timeout: 255 seconds]
12:59
nimaje1 has joined #pypy
12:59
nimaje1 is now known as nimaje
12:59
nimaje is now known as Guest3529
13:09
realitix has joined #pypy
13:16
tav has quit [Read error: Connection reset by peer]
13:16
tav` has joined #pypy
13:26
cstratak has quit [Quit: Leaving]
13:30
cstratak has joined #pypy
13:52
oberstet2 has quit [Ping timeout: 240 seconds]
13:54
oberstet2 has joined #pypy
13:56
cstratak has quit [Quit: Leaving]
13:57
rmesta has joined #pypy
13:59
cstratak has joined #pypy
14:00
rmesta has quit [Client Quit]
14:01
rmesta has joined #pypy
14:01
rmesta has quit [Client Quit]
14:01
rmesta has joined #pypy
14:02
rmesta has quit [Client Quit]
14:02
rmesta has joined #pypy
14:03
rmesta has quit [Read error: Connection reset by peer]
14:03
rmesta has joined #pypy
14:04
rmesta has quit [Client Quit]
14:09
vkirilic_ has joined #pypy
14:11
vkirilichev has quit [Ping timeout: 240 seconds]
14:23
marky1991 has joined #pypy
14:51
ninjaaron has joined #pypy
14:53
cstratak has quit [Ping timeout: 240 seconds]
14:54
<
ninjaaron >
Hi. I just wanted to say thanks for 3.5 support in pypy. I started learning python seriously around the time 3.4 came out, and this is the first time I've really been able to use pypy on most of my code without modification.
14:54
<
ninjaaron >
It's great.
14:55
tbodt has joined #pypy
14:55
<
ninjaaron >
The beta landed in the Arch repo early this month.
14:59
girish946 has joined #pypy
15:06
amaury has joined #pypy
15:13
cstratak has joined #pypy
15:15
yuyichao has quit [Ping timeout: 255 seconds]
15:15
cstratak has quit [Remote host closed the connection]
15:16
cstratak has joined #pypy
15:19
amaury has quit [Ping timeout: 255 seconds]
15:23
rmesta has joined #pypy
15:27
rmesta has left #pypy [#pypy]
15:33
yuyichao has joined #pypy
15:33
girish946 has quit [Quit: Leaving]
15:49
realitix has quit [Quit: Leaving]
15:50
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
15:55
tbodt has joined #pypy
15:55
tbodt has quit [Client Quit]
15:56
tbodt has joined #pypy
16:02
vkirilic_ has quit [Read error: Connection reset by peer]
16:07
<
simpson >
ninjaaron: Much of the 3.5 work is doable by volunteers just like you.
16:07
<
simpson >
So feel free to contribute if you find problems with the 3.5 features.
16:10
kanaka has quit [Ping timeout: 260 seconds]
16:24
kanaka has joined #pypy
16:27
kanaka has quit [Changing host]
16:27
kanaka has joined #pypy
16:35
d4nf has joined #pypy
16:36
<
dash >
Syntax error
16:38
<
d4nf >
Hi all, I'm using gcc 6.3.0 and im currently compiling with _GLIBCXX_USE_CXX11_ABI=0 since other libs I'm using rely on it. Is there a way for me to compile cppyy with this option?
16:38
mattip has joined #pypy
16:43
pilne has joined #pypy
16:46
jacob22_ has joined #pypy
16:46
jacob22_ has quit [Read error: Connection reset by peer]
16:50
kenaan has joined #pypy
16:50
<
kenaan >
rlamy controller-refactor 12f5e62a77b5 /rpython/rtyper/controllerentry.py: cleanup: use @specialize instead of ._annspecialcase_
16:50
jacob22_ has joined #pypy
16:51
jacob22_ has quit [Read error: Connection reset by peer]
16:52
jacob22_ has joined #pypy
16:52
jacob22_ has quit [Read error: Connection reset by peer]
16:58
ninjaaron has quit [Quit: WeeChat 1.7.1]
17:00
asmeurer__ has joined #pypy
17:01
asmeurer__ has quit [Client Quit]
17:05
<
mattip >
d4nf: you could probably answer that as well as anyone, does it work for you?
17:09
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
17:11
tbodt has joined #pypy
17:16
<
mattip >
it seems there is still some GC corruption for multithreaded programs
17:16
<
mattip >
even after b2569cf1bd55
17:17
antocuni has quit [Ping timeout: 260 seconds]
17:17
<
mattip >
there is a pandas crasher, I am trying to minimalize it now
17:22
cstratak has quit [Ping timeout: 240 seconds]
17:33
oberstet2 has quit [Ping timeout: 258 seconds]
17:34
<
jiffe >
when using variadic functions via cffi, is it possible to pass the arguments as an array?
17:41
<
d4nf >
mattip: im getting abi mismatches...
17:42
<
d4nf >
and that's coming form the cling backend
17:43
<
jiffe >
nm I think I got it by passing *()
17:45
amaury has joined #pypy
17:47
<
mattip >
d4nf: maybe retranslate pypy with that define (if it is possible), see
17:49
<
mattip >
or maybe it is enough to rebuild the backend with your flags
17:50
<
d4nf >
mattip is there any pragmatic way for me to pass that flag into pypy when im comping pypy?
17:50
<
d4nf >
my end goal is to embed it into my cpp application
17:51
<
mattip >
building pypy is two stages - creating the c backend files and then compiling them
17:51
<
mattip >
so you could recompile using the Makefile with whatever flags you choose
17:51
<
d4nf >
mattip: CFLAGS="_GLIBCXX_USE_CXX11_ABI=0" MAKE_NPROCS=4 pypy-c -m pip install --verbose PyPy-cppyy-backend
17:52
<
d4nf >
do you suppose that sounds about right?
17:52
<
mattip >
I suppose, the verbose flag should help there. Note that is building the cppyy backend, which may be all you need to do
17:52
oberstet2 has joined #pypy
17:53
<
mattip >
(I am guessing, you will have to look at the actual compilation command run)
17:55
nimaje has joined #pypy
17:56
agronholm has quit [Ping timeout: 255 seconds]
17:56
jcea1 has joined #pypy
17:56
jcea has quit [Read error: Connection reset by peer]
17:56
jcea1 is now known as jcea
18:00
agronholm has joined #pypy
18:18
yuyichao has quit [Quit: Konversation terminated!]
18:20
yuyichao has joined #pypy
18:21
jamesaxl has quit [Read error: Connection reset by peer]
18:22
jamesaxl has joined #pypy
18:23
yuyichao has quit [Remote host closed the connection]
18:24
yuyichao has joined #pypy
18:24
amaury has quit [Ping timeout: 252 seconds]
18:27
gbutnaru_ has quit [Ping timeout: 240 seconds]
18:29
gbutnaru_ has joined #pypy
18:31
yuyichao has quit [Quit: Konversation terminated!]
18:32
yuyichao has joined #pypy
18:36
<
kenaan >
arigo pypy.org[extradoc] b443f9383aeb /don1.html: update the values
18:39
lritter_ has joined #pypy
19:03
<
mattip >
maybe my crash is an issue with refcounting in PyList_SetItem,
19:04
<
mattip >
after the hack in cpyext-obj-stealing ab207c2b540b the test seem to not crash
19:04
<
mattip >
s/hack/fix/
19:05
<
mattip >
our refcounting semantics in PyList_SETITEM, PyList_SetItem do not currently match cpython
19:12
<
kenaan >
tobweber stmgc[c8-adaptive-trx-length] efebf97ce6b2 /c8/: Merge overheads instrumentation
19:13
Rhy0lite has quit [Quit: Leaving]
19:22
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
19:27
tbodt has joined #pypy
19:38
gbutnaru_ has quit [Ping timeout: 246 seconds]
19:41
gbutnaru_ has joined #pypy
19:43
<
d4nf >
does anyone know when cppyy will be updated to the latest stable of cling? (6.08)
19:57
kipras`away is now known as kipras
20:03
Tiberium has quit [Remote host closed the connection]
20:07
<
kenaan >
mattip cpyext-obj-stealing ffe9ef211159 /pypy/objspace/std/listobject.py: optimize
20:07
<
kenaan >
mattip cpyext-obj-stealing 6b3b57cdab23 /: merge default into branch
20:07
<
kenaan >
mattip cpyext-obj-stealing e9792355d656 /pypy/module/cpyext/: cleanup, add check
20:07
<
kenaan >
mattip cpyext-obj-stealing 8a55a93fe3df /pypy/module/cpyext/: make listobject set/get refcount semantics exactly match cpython
20:19
mattip has left #pypy ["bye"]
20:33
rmesta1 has joined #pypy
20:33
rmesta2 has joined #pypy
20:33
rmesta2 has quit [Client Quit]
20:37
rmesta1 has quit [Ping timeout: 258 seconds]
20:52
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
20:53
tbodt has joined #pypy
20:57
d4nf has quit [Ping timeout: 240 seconds]
20:57
gbutnaru_ has quit [Ping timeout: 258 seconds]
20:59
gbutnaru_ has joined #pypy
21:02
Rhy0lite has joined #pypy
21:04
gbutnaru_ has quit [Ping timeout: 245 seconds]
21:07
gbutnaru_ has joined #pypy
21:07
nimaje1 has joined #pypy
21:07
nimaje is now known as Guest54857
21:07
nimaje1 is now known as nimaje
21:07
Guest54857 has quit [Killed (weber.freenode.net (Nickname regained by services))]
21:15
nimaje1 has joined #pypy
21:15
nimaje1 is now known as nimaje
21:15
nimaje has quit [Killed (orwell.freenode.net (Nickname regained by services))]
21:17
gbutnaru_ has quit [Ping timeout: 255 seconds]
21:19
gbutnaru_ has joined #pypy
22:14
ArchDebian has joined #pypy
22:17
Rhy0lite has quit [Quit: This computer has gone to sleep]
22:54
ArchDebian has quit [Quit: Konversation terminated!]
23:50
marr has quit [Remote host closed the connection]
23:52
marky1991 has quit [Read error: Connection reset by peer]
23:56
jamesaxl has quit [Read error: Connection reset by peer]
23:57
jamesaxl has joined #pypy