Hi Robin,
seeing that no one replied to your question, I'd suggest to ask this
on the Python C-API ML:
https://mail.python.org/mailman3/lists/capi-sig.python.org/
That's where the experts are, including the ones who implemented
the mutli-phase logic.
Cheers,
--
Marc-Andre Lemburg
eGenix.com
Professional Python Services directly from the Experts (#1, Sep 27 2021)
>>> Python Projects, Coaching and Support ...
https://www.egenix.com/
>>> Python Product Development ...
https://consulting.egenix.com/
________________________________________________________________________
::: We implement business ideas - efficiently in both time and costs :::
eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
Registered at Amtsgericht Duesseldorf: HRB 46611
https://www.egenix.com/company/contact/
https://www.malemburg.com/