2018-02-26 15:52
cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs:
https://botbot.me/freenode/pypy/ ) | use cffi for calling C | the secret reason for us trying to get PyPy users: to test the JIT well enough that we're somewhat confident about it
00:03
ronan has joined #pypy
00:03
tbodt has joined #pypy
00:08
abvi[m] has quit [Ping timeout: 240 seconds]
00:09
agates has quit [Ping timeout: 256 seconds]
00:09
yuvipanda has quit [Ping timeout: 246 seconds]
00:09
pulkitg has quit [Ping timeout: 240 seconds]
00:09
dash has quit [Ping timeout: 240 seconds]
00:12
danieljabailey has quit [Ping timeout: 240 seconds]
00:14
danieljabailey has joined #pypy
00:15
pf_moore has quit [Quit: Connection closed for inactivity]
00:21
bendlas has quit [Ping timeout: 276 seconds]
01:10
jcea has quit [Quit: jcea]
01:16
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
01:16
illume has quit [Read error: Connection reset by peer]
01:18
illume has joined #pypy
01:42
tbodt has joined #pypy
01:55
demonimin has quit [Ping timeout: 240 seconds]
01:57
demonimin has joined #pypy
01:57
demonimin has joined #pypy
01:57
demonimin has quit [Changing host]
02:17
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
02:30
dddddd has quit [Remote host closed the connection]
02:33
tbodt has joined #pypy
02:39
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
02:44
tbodt has joined #pypy
02:48
<
kenaan >
rlamy py3tests 88f2cbae0c90 /pypy/conftest.py: apptest_ files do need to be collected when running without -A
02:53
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
02:53
tbodt has joined #pypy
03:41
ronan has quit [Ping timeout: 256 seconds]
03:56
forgottenone has joined #pypy
04:03
avakdh has quit [Ping timeout: 256 seconds]
04:03
cadr has quit [Ping timeout: 256 seconds]
04:03
cadr_ has joined #pypy
04:05
Civil has quit [Quit: No Ping reply in 180 seconds.]
04:05
infinite has quit [Ping timeout: 261 seconds]
04:05
infinite has joined #pypy
04:13
mjacob_ has joined #pypy
04:13
ronny_ has joined #pypy
04:16
mjacob has quit [Ping timeout: 266 seconds]
04:16
ronny has quit [Ping timeout: 266 seconds]
04:16
alcarithemad has quit [Ping timeout: 246 seconds]
04:17
alcarithemad has joined #pypy
04:22
energizer has quit [Remote host closed the connection]
04:34
forgottenone has quit [Quit: Konversation terminated!]
04:36
[0__0] has quit [Remote host closed the connection]
04:53
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
04:55
ronny_ is now known as ronny
05:01
mcyprian has joined #pypy
05:07
[0__0] has joined #pypy
05:08
Civil has joined #pypy
05:13
forgottenone has joined #pypy
05:16
forgottenone has quit [Read error: Connection reset by peer]
05:18
pulkitg has joined #pypy
05:29
agates has joined #pypy
05:29
demonimin has quit [Ping timeout: 240 seconds]
05:30
demonimin has joined #pypy
05:32
mcyprian has quit [Ping timeout: 256 seconds]
05:40
dash has joined #pypy
05:40
bendlas has joined #pypy
05:41
energizer has joined #pypy
05:43
yuvipanda has joined #pypy
05:47
demonimin has quit [Ping timeout: 256 seconds]
05:48
abvi[m] has joined #pypy
05:48
demonimin has joined #pypy
05:48
demonimin has joined #pypy
05:48
demonimin has quit [Changing host]
05:49
jamesaxl has joined #pypy
06:27
lritter has joined #pypy
06:49
tayfun26 has joined #pypy
07:07
demonimin has quit [Ping timeout: 240 seconds]
07:21
mcyprian has joined #pypy
07:26
antocuni has joined #pypy
07:27
mcyprian has quit [Ping timeout: 256 seconds]
07:28
mcyprian has joined #pypy
07:42
demonimin has joined #pypy
07:57
energizer has quit [Remote host closed the connection]
07:58
energizer has joined #pypy
08:13
<
arigato >
so, another reason to give .so different names for cpyext and for cffi:
08:19
<
antocuni >
arigato: we should just do it probably. The time spent for debugging this issue is already more than what it takes to give different names :)
08:19
marr has joined #pypy
08:28
<
arigato >
well, we need to mess with distutils and I don't know how much with setuptools, to give them different names
08:28
<
arigato >
it's very likely to add its own set of bugs
08:31
jaffachief has joined #pypy
08:32
<
antocuni >
I naively assumed that it was enough to change the SOABI, but indeed there might be code which assumes that the soabi is unique for a given interpreter
08:33
energizer has quit [Ping timeout: 264 seconds]
08:35
<
arigato >
ah, maybe it is enough
08:35
<
arigato >
and if all else fails we can probably just rename the .so manually?
08:36
<
antocuni >
"manually" when?
08:36
<
antocuni >
the final file is produced by distutils, so I'm not sure when is the correct time/hook to rename it
08:36
<
arigato >
when building the so for cffi
08:37
<
antocuni >
ah, right
08:37
<
arigato >
well, maybe
08:39
Hasimir has quit [Ping timeout: 240 seconds]
08:40
TheAdversary has quit [Ping timeout: 265 seconds]
08:52
tayfun26 has quit [Quit: tayfun26]
08:52
tayfun26 has joined #pypy
09:16
hotpot33 has joined #pypy
09:20
lazka has joined #pypy
09:24
<
kenaan >
antocuni gc-hooks 3fe7e9dc4d49 /pypy/doc/gc_info.rst: add docs about GC hooks
09:24
<
antocuni >
arigato: do you feel like reviewing this ^^^?
09:28
inhahe_ has joined #pypy
09:32
inhahe__ has quit [Ping timeout: 264 seconds]
09:49
ctismer has joined #pypy
09:56
illume has quit [Read error: Connection reset by peer]
09:57
illume has joined #pypy
10:00
ctismer has joined #pypy
10:01
illume_ has joined #pypy
10:01
illume has quit [Read error: Connection reset by peer]
10:05
illume_ has quit [Ping timeout: 256 seconds]
10:06
illume has joined #pypy
10:07
illume has quit [Client Quit]
10:09
<
kenaan >
antocuni gc-hooks 781821b4228a /pypy/doc/whatsnew-head.rst: update whatsnew
10:09
<
kenaan >
antocuni gc-hooks 7af841458a81 /: close merged branch
10:09
<
kenaan >
antocuni default 5bd740a5496c /: merge the gc-hooks branch: it is now possible to install app-level hooks which are triggered whenever a specific...
10:10
<
antocuni >
mattip: I finally managed to document and merge the branch :)
10:10
<
antocuni >
not sure if it's still in time to get it into the release
10:12
<
mattip >
antocuni: there is time. let's give it a day or two to settle
10:13
<
antocuni >
cool, thanks
10:13
<
antocuni >
I'll try to merge it to py3.5 as well
10:15
avakdh has joined #pypy
10:23
<
mattip >
arigato: is the name all that important? Isn't there any difference in the import mechanism between the two that we can catch?
10:26
<
antocuni >
cool, I can merge gc-hooks to py3.5 without conflicts. I'm trying a translation, if it works I'll just merge&commit
10:30
antocuni has quit [Ping timeout: 265 seconds]
10:32
<
cfbolz >
antocuni: the docs look nice!
10:40
<
cfbolz >
antocuni: I think you should mention in which thread the hooks run in
10:50
jaffachief has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:00
<
mattip >
arigato: as I read it, the issue is initializing cpyext before calling dlopen, and we do not want to do that universally
11:00
<
mattip >
since it will slow down programs that use only cffi, not cpyext
11:01
<
mattip >
but don't we know before dlopen that we are importing a python module, not a cffi shared object?
11:02
<
arigato >
at the moment the difference is about which symbol that library exports
11:02
dddddd has joined #pypy
11:10
marky1991 has joined #pypy
11:10
marky1991 has quit [Remote host closed the connection]
11:11
jaffachief has joined #pypy
11:11
marky1991 has joined #pypy
11:14
drolando has quit [Ping timeout: 264 seconds]
11:24
drolando has joined #pypy
11:31
<
mattip >
ahh, load_extension_module first `dlopen`s, then decides which type of module it is based on dlsym succeeding
11:31
lazka has quit [Quit: Leaving]
11:32
<
mattip >
using a naming convention would make this division nicer as well
11:38
jcea has joined #pypy
11:41
marky1991 has quit [Ping timeout: 264 seconds]
11:51
drolando has quit [Remote host closed the connection]
11:52
drolando has joined #pypy
11:54
ronan has joined #pypy
12:16
jaffachief has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:17
dddddd has quit [Ping timeout: 256 seconds]
12:18
dddddd has joined #pypy
12:21
<
arigato >
yes, the problem here is that dlopen potentially executes some code which expects cpyext to be initialized already
12:42
marky1991 has joined #pypy
12:45
marky1991 has quit [Remote host closed the connection]
12:47
marky1991 has joined #pypy
12:56
raynold has quit [Quit: Connection closed for inactivity]
13:01
antocuni has joined #pypy
13:06
<
kenaan >
antocuni py3.5 dcf6cc8d15a3 /: hg merge gc-hooks
13:08
tayfun26 has quit [Ping timeout: 265 seconds]
13:08
ctismer has joined #pypy
13:15
jaffachief has joined #pypy
13:20
Graypup_ has quit [Ping timeout: 260 seconds]
13:23
Graypup_ has joined #pypy
13:23
adamwen82923233 has joined #pypy
13:32
<
antocuni >
cfbolz: good idea about documenting which thread runs the hooks
13:32
<
antocuni >
the only thing is... I have no idea :)
13:36
<
antocuni >
gc hooks use the AsyncAction mechanism for running the hooks; I don't know whether they are executed in a random thread or e.g. in the main one
13:46
marky1991 has quit [Ping timeout: 256 seconds]
13:47
marky1991 has joined #pypy
13:47
marky1991 has quit [Remote host closed the connection]
13:48
marky1991 has joined #pypy
13:52
antocuni has quit [Ping timeout: 260 seconds]
13:56
lritter has quit [Remote host closed the connection]
14:17
tayfun26 has joined #pypy
14:21
hotpot33 has quit [Ping timeout: 268 seconds]
14:25
marky1991 has quit [Ping timeout: 268 seconds]
14:27
adamwen82923233 has joined #pypy
14:28
adamwen82923233 has quit [Client Quit]
14:30
adamwen82923233 has joined #pypy
14:31
adamwen82923233 has quit [Client Quit]
14:33
hotpot33 has joined #pypy
14:46
adamwen82923233 has joined #pypy
14:48
adamwen82923233 has quit [Client Quit]
15:00
hotpot33 has quit [Ping timeout: 265 seconds]
15:00
adamwen82923233 has joined #pypy
15:02
adamwen82923233 has quit [Client Quit]
15:04
lazka has joined #pypy
15:10
adamwen82923233 has joined #pypy
15:11
adamwen82923233 has quit [Client Quit]
15:13
lazka has quit [Quit: Leaving]
15:14
lazka has joined #pypy
15:20
adamwen82923233 has joined #pypy
15:21
adamwen82923233 has quit [Client Quit]
15:28
ctismer has joined #pypy
15:30
adamwen82923233 has joined #pypy
15:31
adamwen82923233 has quit [Client Quit]
15:31
tayfun26 has quit [Quit: tayfun26]
15:33
ctismer has joined #pypy
15:39
ctismer has joined #pypy
15:39
antocuni has joined #pypy
15:40
adamwen82923233 has joined #pypy
15:41
lazka has quit [Quit: Leaving]
15:42
adamwen82923233 has quit [Client Quit]
15:44
mcyprian has quit [Ping timeout: 256 seconds]
15:49
marky1991 has joined #pypy
15:50
adamwen82923233 has joined #pypy
15:51
adamwen82923233 has quit [Client Quit]
15:53
antocuni has quit [Ping timeout: 260 seconds]
15:54
energizer has joined #pypy
15:56
marky1991 has quit [Ping timeout: 256 seconds]
15:59
ctismer has joined #pypy
16:00
adamwen82923233 has joined #pypy
16:01
adamwen82923233 has quit [Client Quit]
16:03
ctismer has quit [Client Quit]
16:04
marky1991 has joined #pypy
16:06
ctismer has joined #pypy
16:06
ctismer has quit [Client Quit]
16:09
lazka has joined #pypy
16:10
ctismer has joined #pypy
16:12
ctismer has quit [Client Quit]
16:12
ctismer has joined #pypy
16:13
antocuni has joined #pypy
16:22
lritter has joined #pypy
16:23
nimaje has quit [Ping timeout: 260 seconds]
16:23
raynold has joined #pypy
16:23
nimaje has joined #pypy
16:25
jaffachief has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:40
ctismer has joined #pypy
16:46
adamwen82923233 has joined #pypy
16:47
adamwen82923233 has quit [Client Quit]
17:18
antocuni has quit [Ping timeout: 256 seconds]
17:22
tbodt has joined #pypy
17:26
lazka has quit [Quit: Leaving]
17:55
redj has joined #pypy
18:00
marky1991 has quit [Ping timeout: 264 seconds]
18:06
marky1991 has joined #pypy
18:14
marky1991 has quit [Ping timeout: 260 seconds]
18:26
mattip has quit [Ping timeout: 240 seconds]
18:26
mattip has joined #pypy
18:32
lritter has quit [Remote host closed the connection]
18:34
dddddd has quit [Quit: Hasta otra..]
18:34
dddddd has joined #pypy
18:47
marky1991 has joined #pypy
18:47
marky1991 has quit [Remote host closed the connection]
18:48
marky1991 has joined #pypy
18:53
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
18:54
mcyprian has joined #pypy
19:07
ronan_ has joined #pypy
19:14
tbodt has joined #pypy
19:26
mcyprian has quit [Quit: Leaving.]
19:44
drolando has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:11
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
20:13
tbodt has joined #pypy
20:14
mcyprian has joined #pypy
20:14
mcyprian has quit [Client Quit]
20:18
tbodt has quit [Ping timeout: 260 seconds]
20:29
nimaje has quit [Ping timeout: 240 seconds]
20:31
nimaje has joined #pypy
20:42
oberstet has joined #pypy
20:59
drolando has joined #pypy
21:23
<
kenaan >
rlamy py3tests 18e33a4f6b3e /pypy/: fix fix fix
21:31
jaffachief has joined #pypy
21:47
jamesaxl has quit [Quit: WeeChat 2.1]
21:54
ronan__ has joined #pypy
21:57
ronan_ has quit [Ping timeout: 256 seconds]
22:01
<
kenaan >
mattip py3.5 5a7eeaf512fc /pypy/module/_cffi_backend/: merge default into py3.5
22:01
antocuni has joined #pypy
22:08
marky1991 has quit [Read error: Connection reset by peer]
22:28
energizer has quit [Disconnected by services]
22:28
energizer has joined #pypy
22:29
energizer has quit [Remote host closed the connection]
22:29
energizer has joined #pypy
22:34
jaffachief has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:35
[Arfrever] has quit [Read error: Connection reset by peer]
22:50
oberstet has quit [Ping timeout: 240 seconds]
23:01
antocuni has quit [Ping timeout: 265 seconds]
23:39
tbodt has joined #pypy
23:47
[Arfrever] has joined #pypy