2017-07-05 11:38
cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs:
https://botbot.me/freenode/pypy/ ) | use cffi for calling C | "the modern world where network packets and compiler optimizations are effectively hostile"
00:14
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
00:18
tbodt has joined #pypy
00:22
marr has quit [Ping timeout: 255 seconds]
00:32
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
00:33
tbodt has joined #pypy
00:37
tbodt has quit [Client Quit]
00:40
tbodt has joined #pypy
00:42
xodp has joined #pypy
00:43
rokujyouhitoma has joined #pypy
00:43
<
xodp >
Hello all! I am trying to determine what needs to be done to safely use pypy embedded (as a library) in a process which forks (after initializing and using pypy) and intends to continue using pypy
00:47
exarkun has quit [Ping timeout: 248 seconds]
00:48
exarkun has joined #pypy
00:58
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
01:05
cloudyplain has joined #pypy
01:05
tbodt has joined #pypy
01:05
tbodt has quit [Client Quit]
01:14
tbodt has joined #pypy
01:19
tbodt has quit [Client Quit]
01:22
tbodt has joined #pypy
01:28
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
01:30
tbodt has joined #pypy
01:30
tbodt has quit [Client Quit]
01:52
xodp has quit [Ping timeout: 260 seconds]
02:01
rokujyouhitoma has quit [Remote host closed the connection]
02:10
tbodt has joined #pypy
02:15
tbodt has quit [Ping timeout: 252 seconds]
02:18
rokujyouhitoma has joined #pypy
02:21
tbodt has joined #pypy
02:21
tbodt has quit [Client Quit]
02:27
exarkun has quit [Ping timeout: 248 seconds]
02:28
exarkun has joined #pypy
02:32
rokujyouhitoma has quit [Remote host closed the connection]
02:39
tbodt has joined #pypy
02:42
lritter_ has joined #pypy
02:44
ArneBab_ has joined #pypy
02:44
pilne has joined #pypy
02:45
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
02:46
lritter has quit [Ping timeout: 246 seconds]
02:47
rokujyouhitoma has joined #pypy
02:48
ArneBab has quit [Ping timeout: 240 seconds]
02:52
tbodt has joined #pypy
02:52
tbodt has quit [Client Quit]
02:53
rokujyouhitoma has quit [Remote host closed the connection]
02:54
rokujyouhitoma has joined #pypy
02:58
rokujyouhitoma has quit [Ping timeout: 248 seconds]
03:24
tbodt has joined #pypy
03:24
tbodt has quit [Client Quit]
03:29
tbodt has joined #pypy
03:35
lritter_ has quit [Ping timeout: 240 seconds]
03:48
pilne has quit [Quit: Quitting!]
03:55
cloudyplain has quit [Remote host closed the connection]
03:56
cloudyplain has joined #pypy
03:56
cloudyplain has quit [Read error: Connection reset by peer]
04:07
exarkun has quit [Ping timeout: 246 seconds]
04:08
exarkun has joined #pypy
04:38
cloudyplain has joined #pypy
04:40
cloudyplain has quit [Read error: Connection reset by peer]
04:46
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
04:59
rokujyouhitoma has joined #pypy
05:07
tbodt has joined #pypy
05:07
cloudyplain has joined #pypy
05:11
tbodt has quit [Client Quit]
05:24
rokujyouhitoma has quit [Remote host closed the connection]
05:31
vkirilichev has joined #pypy
05:34
cloudyplain has quit [Remote host closed the connection]
05:34
cloudyplain has joined #pypy
05:34
forgottenone has joined #pypy
05:35
cloudyplain has quit [Read error: Connection reset by peer]
05:38
vkirilichev has quit [Remote host closed the connection]
05:39
vkirilichev has joined #pypy
05:43
vkirilichev has quit [Ping timeout: 252 seconds]
05:46
rokujyouhitoma has joined #pypy
05:46
exarkun has quit [Ping timeout: 246 seconds]
05:47
rokujyouhitoma has quit [Remote host closed the connection]
05:49
exarkun has joined #pypy
05:50
zware has quit [Remote host closed the connection]
05:51
vkirilichev has joined #pypy
05:51
rokujyouhitoma has joined #pypy
05:51
zware has joined #pypy
05:52
vkirilichev has quit [Remote host closed the connection]
05:53
<
kaizoku >
hmm, why is cffi trying to use a non-implemented syscall on linux?
05:53
<
kaizoku >
warning: lchmod is not implemented and will always fail
05:53
vkirilichev has joined #pypy
05:54
<
kaizoku >
ah right, that's a warning, not an error.. looks like the build still suceeded
05:54
<
kaizoku >
*succeeded
05:57
vkirilichev has quit [Ping timeout: 248 seconds]
06:08
cloudyplain has joined #pypy
06:10
cloudyplain has quit [Read error: Connection reset by peer]
06:14
rokujyouhitoma has quit [Remote host closed the connection]
06:19
kipras is now known as kipras`away
06:24
cloudyplain has joined #pypy
06:26
rokujyouhitoma has joined #pypy
06:26
rokujyouhitoma has quit [Remote host closed the connection]
06:27
<
mattip >
thanks for the extensive rubber ducking
06:29
jamesaxl has joined #pypy
06:31
oberstet has joined #pypy
06:43
forgottenone has quit [Quit: Konversation terminated!]
06:45
forgottenone has joined #pypy
07:11
forgottenone has quit [Remote host closed the connection]
07:11
<
kenaan >
arigo cffi/cffi 95bd16daf438 /doc/source/cdef.rst: Add note here about
__restrict__
07:13
forgottenone has joined #pypy
07:24
forgottenone has quit [Quit: Konversation terminated!]
07:26
forgottenone has joined #pypy
07:26
exarkun has quit [Ping timeout: 240 seconds]
07:29
exarkun has joined #pypy
07:45
pdox has joined #pypy
07:53
raynold has quit [Quit: Connection closed for inactivity]
07:59
adamholmberg has quit [Remote host closed the connection]
07:59
adamholmberg has joined #pypy
08:00
jacob22_ has joined #pypy
08:04
adamholmberg has quit [Ping timeout: 246 seconds]
08:59
antocuni has joined #pypy
09:07
exarkun has quit [Ping timeout: 264 seconds]
09:07
exarkun has joined #pypy
09:11
yuyichao_ has quit [Remote host closed the connection]
09:14
yuyichao_ has joined #pypy
09:26
marr has joined #pypy
09:27
yuyichao_ has quit [Ping timeout: 240 seconds]
10:05
yuyichao_ has joined #pypy
10:14
antocuni has quit [Ping timeout: 248 seconds]
10:15
oberstet has quit [Ping timeout: 246 seconds]
10:20
<
mattip >
arigato: it would be nice to have cffi 1.11 go out before pyyp 5.9, which should happen in the next couple of weeks
10:26
graingert has quit []
10:27
graingert has joined #pypy
10:28
jamesaxl has quit [Read error: Connection reset by peer]
10:29
jamesaxl has joined #pypy
10:30
jamesaxl has quit [Read error: Connection reset by peer]
10:31
jamesaxl has joined #pypy
10:33
cloudyplain has quit [Remote host closed the connection]
10:33
jamesaxl has quit [Read error: Connection reset by peer]
10:33
oberstet has joined #pypy
10:33
cloudyplain has joined #pypy
10:34
jamesaxl has joined #pypy
10:35
cloudyplain has quit [Read error: Connection reset by peer]
10:35
jamesaxl has quit [Read error: Connection reset by peer]
10:40
jamesaxl has joined #pypy
10:45
jamesaxl has quit [Read error: Connection reset by peer]
10:46
jamesaxl has joined #pypy
10:46
jamesaxl has quit [Read error: Connection reset by peer]
10:47
exarkun has quit [Ping timeout: 240 seconds]
10:48
jamesaxl has joined #pypy
10:48
exarkun has joined #pypy
11:01
jamesaxl has quit [Read error: Connection reset by peer]
11:02
jamesaxl has joined #pypy
11:02
jamesaxl has quit [Read error: Connection reset by peer]
11:03
jamesaxl has joined #pypy
11:11
rokujyouhitoma has joined #pypy
11:16
rokujyouhitoma has quit [Ping timeout: 248 seconds]
11:21
rokujyouhitoma has joined #pypy
11:30
rokujyouhitoma has quit [Remote host closed the connection]
11:33
gclawes has quit [Quit: leaving]
11:33
gclawes has joined #pypy
11:37
jamesaxl has quit [Read error: Connection reset by peer]
11:38
<
mattip >
it would be nice to fix ARM also
11:38
jamesaxl has joined #pypy
11:40
jamesaxl has quit [Read error: Connection reset by peer]
11:41
jamesaxl has joined #pypy
11:43
jamesaxl has quit [Read error: Connection reset by peer]
11:44
jamesaxl has joined #pypy
11:51
<
kenaan >
mattip pycheck-macros a24b838be800 /pypy/module/cpyext/: test, fix for SUBCLASS flags on types
11:54
<
mattip >
next step - turn many of the Py*_Check functions into macros, could speed up cpyext?
12:02
<
exarkun >
why doesn't the compiler just inline them
12:07
<
mattip >
they are function calls, and need to do the pyobj -> w_obj dance, which involves calling pypy_g_wrapper_second_level__star_1_2
12:10
<
mattip >
AFAICT they hold the GIL, but that can probably be fixed
12:11
<
mattip >
(pypy_g_wrapper_second_level__star_1_2 is make_wrapper_second_level in cpyext.api.py)
12:13
<
mattip >
of course I am optimizing without measuring :(
12:21
antocuni has joined #pypy
12:31
rokujyouhitoma has joined #pypy
12:35
rokujyouhitoma has quit [Ping timeout: 248 seconds]
12:37
forgottenone has quit [Quit: Konversation terminated!]
12:39
forgottenone has joined #pypy
12:50
forgottenone has quit [Quit: Konversation terminated!]
12:51
forgottenone has joined #pypy
12:53
forgottenone has quit [Client Quit]
12:55
forgottenone has joined #pypy
12:56
<
fijal >
exarkun: inlining against .so is not really a thing
12:56
<
fijal >
unfortunately
12:57
<
fijal >
mattip: I think a lot of functions can be moved to macros/C
12:58
<
fijal >
so limited interest in us removing the GIL
12:58
<
fijal >
sort of half-expected
13:02
forgottenone has quit [Ping timeout: 246 seconds]
13:02
forgottenone has joined #pypy
13:02
forgottenone has quit [Client Quit]
13:15
yuyichao_ has quit [Ping timeout: 246 seconds]
13:29
yuyichao_ has joined #pypy
13:32
rokujyouhitoma has joined #pypy
13:36
rokujyouhitoma has quit [Ping timeout: 240 seconds]
13:47
adamholmberg has joined #pypy
13:52
<
kenaan >
afteryu default 54c318cbfcd2 /pypy/doc/cpython_differences.rst: mention that deleting module attributes is slow (#2642)
13:52
<
kenaan >
afteryu default 6dff6e92d656 /pypy/doc/cpython_differences.rst: mention that deleting class attributes is slow
14:13
blachance has quit [Ping timeout: 252 seconds]
14:17
lritter_ has joined #pypy
14:25
<
mattip >
fijal: maybe a blogpost followup on the GIL-removal project?
14:26
marky1991 has joined #pypy
14:29
blachance has joined #pypy
14:32
rokujyouhitoma has joined #pypy
14:37
rokujyouhitoma has quit [Ping timeout: 260 seconds]
15:00
<
kenaan >
rlamy multiphase 1a20a8077e2e /pypy/module/cpyext/: fix exception consistency checks
15:01
adamholmberg has quit [Ping timeout: 248 seconds]
15:04
adamholmberg has joined #pypy
15:18
tumbleweed has quit [Ping timeout: 240 seconds]
15:24
_main_ has joined #pypy
15:26
_main_ has quit [Read error: Connection reset by peer]
15:26
_main_ has joined #pypy
15:26
tumbleweed has joined #pypy
15:26
tumbleweed has joined #pypy
15:26
tumbleweed has quit [Changing host]
15:27
_main_ has quit [Read error: Connection reset by peer]
15:28
_main_ has joined #pypy
15:28
antocuni has quit [Ping timeout: 240 seconds]
15:28
__main__ has quit [Ping timeout: 240 seconds]
15:32
_main_ is now known as
__main__
15:32
<
cfbolz >
mattip: we should decide on a real world benchmark for cpyext. Maybe something numpy based that crosses a lot?
15:34
rokujyouhitoma has joined #pypy
15:36
<
kenaan >
rlamy multiphase 6c511c66aa39 /pypy/doc/whatsnew-pypy3-head.rst: document the branch
15:38
rokujyouhitoma has quit [Ping timeout: 248 seconds]
15:39
<
kenaan >
rlamy multiphase 9bfd8662eac1 /: Close branch multiphase
15:39
<
kenaan >
rlamy py3.5 cc9f1669c568 /: Merged in multiphase (pull request #567) Multiphase
15:42
forgottenone has joined #pypy
15:43
raynold has joined #pypy
15:44
bogner_ has joined #pypy
15:46
<
cfbolz >
ronan: cool!
16:34
rokujyouhitoma has joined #pypy
16:39
rokujyouhitoma has quit [Ping timeout: 248 seconds]
16:42
oberstet has quit [Remote host closed the connection]
16:43
marky1991 has quit [Remote host closed the connection]
16:43
marky1991 has joined #pypy
16:59
rubdos has joined #pypy
17:03
tbodt has joined #pypy
17:35
rokujyouhitoma has joined #pypy
17:38
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
17:39
tbodt has joined #pypy
17:40
rokujyouhitoma has quit [Ping timeout: 248 seconds]
17:45
<
kenaan >
cfbolz regalloc-playground ffdf4c1bc430 /rpython/jit/backend/: improve interaction of fixed_register, try_use_same_register and force_result_in_reg
17:45
<
kenaan >
cfbolz regalloc-playground 786650135776 /rpython/jit/backend/llsupport/regalloc.py: simplification, remove unused function
17:45
<
kenaan >
cfbolz regalloc-playground a855c810d86c /rpython/jit/backend/llsupport/regalloc.py: even shorter. also rename _sync_var to _sync_var_to_stack to make clear what it does
17:45
<
kenaan >
cfbolz regalloc-playground e0a6917be0c6 /rpython/jit/backend/: fix a comment, something is a bit fishy about save_all_regs which is sometimes a bool, sometimes an int
17:45
<
kenaan >
cfbolz regalloc-playground 3162799170f9 /rpython/jit/metainterp/test/test_list.py: move two tests to make them run by the x86 test file too
17:45
<
kenaan >
cfbolz regalloc-playground 4cd14465e80c /rpython/jit/backend/x86/: in-progress and very hackish atm: add register hints in the x86 backend
18:05
vkirilichev has joined #pypy
18:08
<
exarkun >
do vmprof results come out in a stream or a lump at the end?
18:08
<
tos9 >
stream, but there might be a footer of some sort
18:08
<
tos9 >
I have never tried to read one of ours while it's being recorded
18:09
<
exarkun >
what if you use this --web thing? do you get results on the page while the program is running or only at the end?
18:09
<
tos9 >
exarkun: end
18:10
<
tos9 >
exarkun: you want to grab stuff from a long-running process I take it?
18:10
<
tos9 >
arigato: after PEP 456, did PyPy end up implementing hash randomization?
18:11
<
exarkun >
normally it's long running but I could apply a load and stop it if I wanted to, for profiling purposes. but it's in k8s so retrieving a file written at the end of the process is a bit of a pain.
18:11
<
tos9 >
I have a thing, if you want it.
18:11
<
tos9 >
Distributed using the most efficient modern form of communication
18:13
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
18:13
<
tos9 >
Enjoy, don't cry too hard.
18:14
<
exarkun >
okay, so turn it on, do stuff, turn it off, capture legit-non-corrupt stats file?
18:15
<
exarkun >
vee shall see
18:17
<
nimaje >
tos9: ´self.path = None; os.remove(self.path)´? line 28, 29
18:19
rubdos_ has joined #pypy
18:20
rubdos has quit [Quit: Leaving]
18:21
rubdos_ is now known as rubdos
18:25
tbodt has joined #pypy
18:28
<
tos9 >
nimaje: A testament to the fact that this code never breaks!
18:29
tbodt has quit [Client Quit]
18:30
tbodt has joined #pypy
18:34
<
LarstiQ >
tos9: I remember armin working on hash randomization, not sure what the end state is
18:34
<
exarkun >
I remember a point being made that hash randomization doesn't actually fix the problem, only makes it trivially harder to exploit
18:35
<
exarkun >
Was there further discussion subsequent to that?
18:35
<
exarkun >
If pep 456 is the last word, I think not.
18:36
<
exarkun >
Oh, or maybe not, some of this stuff looks coherent
18:36
rokujyouhitoma has joined #pypy
18:36
<
tos9 >
exarkun: Yes
18:36
<
tos9 >
The old hash randomization was useless
18:36
<
tos9 >
Then christian heimes fixed it supposedly via pep 456
18:37
<
tos9 >
(I remembered the first part, but just learned about the second part.)
18:39
vkirilichev has quit [Remote host closed the connection]
18:41
rokujyouhitoma has quit [Ping timeout: 255 seconds]
18:44
marky1991 has quit [Ping timeout: 248 seconds]
18:47
yuyichao has joined #pypy
18:47
yuyichao_ has quit [Read error: Connection reset by peer]
18:49
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
18:53
tbodt has joined #pypy
18:53
tbodt has quit [Client Quit]
18:55
jamesaxl has quit [Quit: WeeChat 1.8]
19:01
marky1991 has joined #pypy
19:06
pilne has joined #pypy
19:08
kipras`away is now known as kipras
19:23
adamholmberg has quit [Remote host closed the connection]
19:23
nimaje1 has joined #pypy
19:23
nimaje1 is now known as nimaje
19:23
nimaje is now known as Guest53922
19:23
adamholmberg has joined #pypy
19:25
adamholm_ has joined #pypy
19:25
adamholmberg has quit [Read error: Connection reset by peer]
19:29
adamholm_ has quit [Remote host closed the connection]
19:33
antocuni has joined #pypy
19:34
forgottenone has quit [Quit: Konversation terminated!]
19:37
rokujyouhitoma has joined #pypy
19:37
forgottenone has joined #pypy
19:41
rokujyouhitoma has quit [Ping timeout: 248 seconds]
19:48
<
fijal >
tos9, exarkun: the stuff is fixed now
19:48
<
fijal >
(don't know the pep number)
19:48
<
fijal >
"now" being 3.something
19:48
<
fijal >
2.7 is still broken I think
20:03
tbodt has joined #pypy
20:05
tbodt has quit [Client Quit]
20:06
tbodt has joined #pypy
20:25
vkirilichev has joined #pypy
20:33
tych0 has left #pypy ["WeeChat 1.4"]
20:34
rubdos has quit [Quit: WeeChat 1.9]
20:35
rubdos has joined #pypy
20:38
rokujyouhitoma has joined #pypy
20:42
rokujyouhitoma has quit [Ping timeout: 240 seconds]
20:55
vkirilichev has quit [Remote host closed the connection]
20:56
adamholmberg has joined #pypy
20:57
vkirilichev has joined #pypy
20:59
vkirilichev has quit [Remote host closed the connection]
20:59
vkirilichev has joined #pypy
21:08
adamholmberg has quit [Remote host closed the connection]
21:12
adamholmberg has joined #pypy
21:20
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
21:22
jacob22_ has quit [Ping timeout: 248 seconds]
21:24
tbodt has joined #pypy
21:28
marky1991 has quit [Ping timeout: 240 seconds]
21:29
forgottenone has quit [Quit: Konversation terminated!]
21:29
adamholm_ has joined #pypy
21:33
adamholmberg has quit [Ping timeout: 246 seconds]
21:38
rokujyouhitoma has joined #pypy
21:42
rokujyouhitoma has quit [Ping timeout: 248 seconds]
21:54
vkirilichev has quit [Remote host closed the connection]
21:59
vkirilichev has joined #pypy
21:59
vkirilichev has quit [Remote host closed the connection]
21:59
Arfrever has quit [Quit: 御出で]
22:02
adamholm_ has quit [Remote host closed the connection]
22:07
rubdos has quit [Ping timeout: 255 seconds]
22:15
vkirilichev has joined #pypy
22:15
vkirilichev has quit [Remote host closed the connection]
22:18
vkirilichev has joined #pypy
22:39
rokujyouhitoma has joined #pypy
22:41
vkirilichev has quit [Remote host closed the connection]
22:43
rokujyouhitoma has quit [Ping timeout: 240 seconds]
22:56
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:59
antocuni has quit [Ping timeout: 252 seconds]
23:11
tbodt has joined #pypy
23:11
tbodt has quit [Client Quit]
23:20
yuyichao has quit [Ping timeout: 240 seconds]
23:29
cloudyplain has joined #pypy
23:40
rokujyouhitoma has joined #pypy
23:40
yuyichao has joined #pypy
23:41
cloudyplain has quit [Remote host closed the connection]
23:42
raynold has quit [Quit: Connection closed for inactivity]
23:44
rokujyouhitoma has quit [Ping timeout: 248 seconds]
23:44
tbodt has joined #pypy
23:49
tbodt has quit [Client Quit]
23:50
ceridwen has quit [Ping timeout: 276 seconds]