<antocuni>
steve_s: you want the low-level C function pointer attached to the python callable, not inside a capsule
<antocuni>
moreover, you need a way to describe the signature
<antocuni>
and possibly, a way to ask the python callable "do you by chance support this C signature?", in case we decide that a python callable can support multiple overloads
<steve_s>
yes, that one I get, it's nicer API
<steve_s>
> attached to the python callable, not inside a capsule
<antocuni>
it's not just a nicer API, it's something which you can't do now
<antocuni>
like, if currently you get an "HPy h" and you want to call it, how would you retrieve the capsule holding the fnptr?
<antocuni>
you don't really have a way
<antocuni>
so yes, maybe when I said "C-to-C" I was a bit ambiguous
<steve_s>
I would have to have a per-package specific knowledge where to get the capsule, which the other package would have to prefill and publish for me? But I get that this would be better. Also if I could ask: do you support this signature, then I wouldn't even have to know whether the other package publishes some signature or not
<antocuni>
what I meant was "C-code-calling-a-Python-function-which-is-implemented-by-C-code,-bypassing-the-Python-wrapper"
<steve_s>
yeah, I think that that may be what Mark did not get and me too
<antocuni>
so for example, if from Cython you do call "cdef long = fn(3, 4)", it might decide to try to call the low-level function "(long)(long, long)" as a fast path, before doing the slow path
<antocuni>
unrelated: my HPy talk @ EuroPython has been accepted, but I'm not going because it clashes with other travels
<antocuni>
ronan: was your talk accepted as well?
<ronan>
antocuni: nope, "still in review" :-|
<antocuni>
maybe I can ask the organizers do give you my slot?
<ronan>
I'm guessing they don't want to have basically the same talk twice, so they picked yours
<antocuni>
do you want me to ask to 1) put you as the speaker of my proposal or 2) pick your proposal instead or 3) just tell them I'm not goind, and we will see whether they pick yours?
<ronan>
I guess asking for 1 or 2 can't hurt. Please do #2 (I'm fine with #1 too, if you think it's more likely to work)