04:08
oberstet has joined #pypy
04:45
<
mattip >
nulano: any idea why the rpython run on win64 is timing out with a "SIGKILL failed to kill process" ?
04:47
<
mattip >
the host "python" for the tests is pypy 2.7.18 (8ef001285964, Mar 21 2021, 11:38:48)
06:14
tos9 has quit [Ping timeout: 240 seconds]
07:06
yuiza has joined #pypy
07:12
yuiza has quit [Ping timeout: 246 seconds]
07:46
yuiza1 has joined #pypy
07:58
oberstet has quit [*.net *.split]
07:58
ronan has quit [*.net *.split]
07:58
WGH_ has quit [*.net *.split]
07:58
_aegis__ has quit [*.net *.split]
07:58
ctismer__ has quit [*.net *.split]
07:58
dnshane has quit [*.net *.split]
07:58
stillinbeta has quit [*.net *.split]
07:58
Civil has quit [*.net *.split]
07:58
JStoker has quit [*.net *.split]
07:58
rubdos has quit [*.net *.split]
07:58
andi- has quit [*.net *.split]
07:58
krono has quit [*.net *.split]
07:58
sknebel has quit [*.net *.split]
07:58
astronavt has quit [*.net *.split]
07:58
_habnabit has quit [*.net *.split]
07:58
Ninpo has quit [*.net *.split]
07:58
[Arfrever] has quit [*.net *.split]
07:58
gsnedders has quit [*.net *.split]
07:58
arigato has quit [*.net *.split]
07:58
danchr has quit [*.net *.split]
07:58
ShadeJonathan[m] has quit [*.net *.split]
07:58
astrojl_matrix has quit [*.net *.split]
07:58
idnar has quit [*.net *.split]
07:58
infernix has quit [*.net *.split]
07:58
exarkun has quit [*.net *.split]
07:58
Ashleee has quit [*.net *.split]
07:58
papangoo[m] has quit [*.net *.split]
07:58
toad_polo has quit [*.net *.split]
07:58
FergusL has quit [*.net *.split]
07:58
redj has quit [*.net *.split]
07:58
kiprasz has quit [*.net *.split]
07:58
vstinner has quit [*.net *.split]
07:58
Taggnostr has quit [*.net *.split]
07:58
EWDurbin has quit [*.net *.split]
07:58
nimaje has quit [*.net *.split]
07:58
michelp has quit [*.net *.split]
07:58
cfbolz has quit [*.net *.split]
07:58
ronny has quit [*.net *.split]
07:58
Lightsword has quit [*.net *.split]
07:58
simpson has quit [*.net *.split]
07:58
string has quit [*.net *.split]
07:58
mwhudson has quit [*.net *.split]
07:58
tbodt has quit [*.net *.split]
07:58
Cheery_ has quit [*.net *.split]
07:58
todda7 has quit [*.net *.split]
07:58
ebarrett has quit [*.net *.split]
07:58
ammar2 has quit [*.net *.split]
07:58
kbtr has quit [*.net *.split]
07:58
jacob22_ has quit [*.net *.split]
07:58
mgorny has quit [*.net *.split]
07:58
wallet42____ has quit [*.net *.split]
07:58
phlebas has quit [*.net *.split]
07:58
graingert has quit [*.net *.split]
07:58
pjenvey has quit [*.net *.split]
07:58
pmp-p has quit [*.net *.split]
07:58
avakdh has quit [*.net *.split]
07:58
DRMacIver has quit [*.net *.split]
07:58
dstufft has quit [*.net *.split]
07:58
igitoor has quit [*.net *.split]
07:58
jaraco has quit [*.net *.split]
07:58
samth has quit [*.net *.split]
07:58
atomizer has quit [*.net *.split]
07:58
mjacob has quit [*.net *.split]
07:58
commandoline has quit [*.net *.split]
07:58
holdsworth has quit [*.net *.split]
07:58
dustinm has quit [*.net *.split]
07:58
dmalcolm has quit [*.net *.split]
07:58
jiffe has quit [*.net *.split]
07:58
energizer has quit [*.net *.split]
07:58
Techcable has quit [*.net *.split]
07:58
nulano has quit [*.net *.split]
07:58
lazka has quit [*.net *.split]
07:58
yuiza1 has quit [*.net *.split]
07:58
proteusguy has quit [*.net *.split]
07:58
jvesely has quit [*.net *.split]
07:58
bbot2 has quit [*.net *.split]
07:58
Eyess has quit [*.net *.split]
07:58
luizirber_ has quit [*.net *.split]
07:58
nopf has quit [*.net *.split]
07:58
shodan45 has quit [*.net *.split]
07:58
alcarith1 has quit [*.net *.split]
07:58
lastmikoi has quit [*.net *.split]
07:58
Hodgestar has quit [*.net *.split]
07:58
jryans has quit [*.net *.split]
07:58
tumbleweed has quit [*.net *.split]
07:58
runciter has quit [*.net *.split]
07:58
7F1AAACW7 has quit [*.net *.split]
07:58
agronholm has quit [*.net *.split]
07:58
altendky has quit [*.net *.split]
07:58
jeroud has quit [*.net *.split]
07:58
the_rat has quit [*.net *.split]
07:58
antocuni has quit [*.net *.split]
07:58
trfl has quit [*.net *.split]
07:58
Kronuz has quit [*.net *.split]
07:58
Gustavo6046 has quit [*.net *.split]
07:58
Dejan has quit [*.net *.split]
07:58
glyph has quit [*.net *.split]
07:58
gutworth has quit [*.net *.split]
07:58
LarstiQ has quit [*.net *.split]
07:58
tazle has quit [*.net *.split]
07:58
raekye has quit [*.net *.split]
07:58
fijal has quit [*.net *.split]
07:58
whitewolf has quit [*.net *.split]
07:58
ulope has quit [*.net *.split]
07:58
59NAAAAUC has quit [*.net *.split]
08:06
Eyess has joined #pypy
08:06
[Arfrever] has joined #pypy
08:06
jiffe_ has joined #pypy
08:10
agronholm has joined #pypy
08:10
graingert has joined #pypy
08:10
infernixx has joined #pypy
08:12
altendky has joined #pypy
08:20
graingert has joined #pypy
08:20
agronholm has joined #pypy
08:20
altendky has joined #pypy
08:20
graingert has quit [Changing host]
08:20
agronholm has quit [Changing host]
08:20
altendky has quit [Changing host]
08:38
yuiza1 has left #pypy [#pypy]
08:38
jryans has joined #pypy
08:49
alcarith1 has joined #pypy
08:49
Hodgestar has joined #pypy
08:49
lastmikoi has joined #pypy
08:49
shodan45 has joined #pypy
08:55
ShadeJonathan[m] has joined #pypy
08:55
toad_polo has joined #pypy
08:55
astrojl_matrix has joined #pypy
08:55
ronny has joined #pypy
08:55
papangoo[m] has joined #pypy
09:04
igitoor has joined #pypy
09:15
igitoor has joined #pypy
09:15
igitoor has quit [Changing host]
09:29
todda7 has joined #pypy
10:21
andi- has joined #pypy
10:22
<
antocuni >
is there a way in rpython/rffi to get a statically allocated charp string?
10:23
<
antocuni >
i.e., the same that in C I get by using a string literal
10:23
<
antocuni >
or the only way it to malloc() it at runtime?
10:24
<
antocuni >
uhm, maybe with a @memo function? But then do I have to allocate it using lltype.malloc(..., immortal=True)?
10:37
todda7 has quit [Ping timeout: 240 seconds]
11:04
lritter has joined #pypy
13:10
Gustavo6046 has joined #pypy
13:30
<
FergusL >
Hello there! I've made some progress with embedding pypy, I am now running probably into a memory/scope/gc issue: I am attaching a C++ function pointer to a global dict inside one of the the def_extern() function of the embedding_init_code, if I call the function pointer right after attaching it, it works, if it is called later (from a different
13:30
<
FergusL >
thread), I get a "null function pointer" exception
13:38
jcea has joined #pypy
14:02
<
LarstiQ >
FergusL: sounds like someone needs to have ownership so things don't go out of scope / get garbage collected
14:04
<
LarstiQ >
depending on the API this is the responsibility of the caller/callee
14:14
<
FergusL >
oh, thanks LarstiQ ! Actually it was just a simple scope problem on the C++ host program side... :)
14:14
<
FergusL >
I was reading that part of the docs though trying to figure out the problem
14:25
<
LarstiQ >
yeah, the behaviour can be quite funky when it goes awry
16:35
tos9 has joined #pypy
17:58
<
arigato >
antocuni: (sorry if I'm too late) to get a static charp string, you need to call lltype.malloc(immortal=True) anywhere outside the code that is processed by RPython, so it can be in a @memo or more likely just put it in a global
18:41
tos9 has quit [Read error: Connection reset by peer]
18:51
tos9 has joined #pypy
19:34
Gustavo6046 has quit [Ping timeout: 265 seconds]
19:39
Gustavo6046 has joined #pypy
20:17
<
antocuni >
arigato: thanks. I think that @memo works also if immortal=False?
20:18
<
antocuni >
e.g. in rtyper/lltypesytem/rlist.py there is _ll_prebuilt_empty_array which is a @memo and does a normal malloc
21:26
jcea has quit [Quit: jcea]
21:26
jcea has joined #pypy
21:46
lritter has quit [Quit: Leaving]
22:07
jiffe_ has quit [Quit: WeeChat 2.6]
22:07
jiffe has joined #pypy
22:07
todda7 has joined #pypy