fotis has quit [Ping timeout: 260 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 260 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 264 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 260 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 260 seconds]
fotis has joined #pypy
cactus has quit [Quit: Leaving]
fotis has quit [Ping timeout: 260 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 260 seconds]
idnar has quit [Read error: Connection reset by peer]
idnar has joined #pypy
fijal has quit [Ping timeout: 264 seconds]
graingert has quit [Ping timeout: 264 seconds]
fijal has joined #pypy
fotis has joined #pypy
graingert has joined #pypy
<
larstiq_>
cfbolz: have to admire the dedication
otisolsen70 has joined #pypy
Atque has quit [Remote host closed the connection]
fotis has quit [Ping timeout: 260 seconds]
Atque has joined #pypy
fotis has joined #pypy
slav0nic has joined #pypy
fotis has quit [Ping timeout: 260 seconds]
fotis has joined #pypy
Atque has quit [Quit: ...]
Atque has joined #pypy
fotis has quit [Ping timeout: 245 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 260 seconds]
fotis has joined #pypy
Olliemath has joined #pypy
Olliemath has quit [Quit: Client closed]
Atque has quit [Quit: ...]
Olliemath has joined #pypy
<
Hodgestar>
cfbolz: That is awesome! So many interesting techniques used.
<
Hodgestar>
I laughed at StackExchanges "Improve this answer" at the bottom. :)
fotis has quit [Ping timeout: 264 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 268 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 265 seconds]
Olliemath has quit [Quit: Client closed]
fotis has joined #pypy
fotis has quit [Ping timeout: 268 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 264 seconds]
<
ctismer>
Hi mattip: I installed the newest PyPy 7.3.7, but wondering:
<
ctismer>
mattip: `PyDescr_NewClassMethod` exists, while `PyDescr_NewMethod`does not.
<
ctismer>
mattip: Is that forgotten, or is there a workaround?
<
cfbolz>
ctismer: ah, that actually seems like a typo maybe
<
cfbolz>
module/cpyext/methodobject.py has a PyDescr_NewMethod
<
cfbolz>
but the line before it gives it the wrong name
fotis has joined #pypy
<
ctismer>
cfbolz: Oink :D
<
ctismer>
cfbolz: I see, for the moment, I can use PyClassMethod and it will do what I want, or does the second statement win?
<
cfbolz>
ctismer: I was wondering that 😂
<
cfbolz>
ctismer: we should definitely fix it though
fotis has quit [Ping timeout: 260 seconds]
<
cfbolz>
ctismer: seems there is also not a single test for PyDescr_NewMethod
<
mattip>
ronan: is there a way to validate in the api.py::CpyextTypeSpace.decl() wrapper that
<
mattip>
the cdef function name is the same as the func name?
<
ctismer>
cfbolz: yes, indeed
fotis has joined #pypy
<
ronan>
mattip: I guess api_func_from_cdef() could do it
<
ronan>
mattip: we could also check that we don't get 2 declarations for the same name
<
mattip>
+1 to both checks
<
ctismer>
cfbolz: mattip: while you are at it, these functions are still missing:
<
ctismer>
Py_GetProgramFullPath Py_Initialize Py_Finalize PyDescr_NewGetSet
fotis has quit [Ping timeout: 264 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 260 seconds]
fotis has joined #pypy
<
mattip>
Py_Initialize Py_Finalize have to do with embedding, and are a big project
<
mattip>
PyDescr_NewGetSet exists internally, is waiting for a test to expose it
<
ctismer>
mattip: and if I simply ignore them? Crashes probably…
<
mattip>
yes, I would imagine pypy would crash if you do not initialize it
<
ctismer>
mattip: PyDescr_NewGetSet fine, that‘s crucial.
<
ctismer>
Py_Initialize is about embedding, fine if that doesn‘t work
fotis has quit [Ping timeout: 260 seconds]
fotis has joined #pypy
<
mattip>
is there a snippet we can compile to show that PyDescr_NewGetSet works?
fotis has quit [Ping timeout: 265 seconds]
fotis has joined #pypy
<
mattip>
or I guess we could create a branch, export the function, build, and you could test it. What platform would you like?
fotis has quit [Ping timeout: 245 seconds]
fotis has joined #pypy
Atque has joined #pypy
<
ctismer>
mattip: for me? MacOS, please :)
fotis has quit [Ping timeout: 260 seconds]
Atque has quit [Quit: ...]
fotis has joined #pypy
Atque has joined #pypy
fotis has quit [Ping timeout: 260 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 258 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 260 seconds]
jacob22_ has joined #pypy
jacob22 has quit [Ping timeout: 268 seconds]
fotis has joined #pypy
cfbolz_ has joined #pypy
cfbolz has quit [*.net *.split]
cfbolz_ is now known as cfbolz
fotis has quit [Ping timeout: 258 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 260 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 264 seconds]
fotis has joined #pypy
Atque has quit [Quit: ...]
<
mattip>
ctismer: I exported PyDescr_NewGetSet into py3.7, it will be part of tonight's nightly build
<
mattip>
also fixed the typo
fotis has quit [Ping timeout: 268 seconds]
fotis has joined #pypy
Atque has joined #pypy
fotis has quit [Ping timeout: 252 seconds]
otisolsen70 has quit [Quit: Leaving]
stkrdknmibalz has joined #pypy
fotis has joined #pypy
<
ctismer>
mattip: oh great, I will test that, tomorrow :)
Atque has quit [Quit: ...]
fotis has quit [Ping timeout: 264 seconds]
fotis has joined #pypy
slav0nic has quit [Ping timeout: 264 seconds]
fotis has quit [Ping timeout: 264 seconds]
stkrdknmibalz has quit [Ping timeout: 260 seconds]
fotis has joined #pypy