On Wed., 13 Nov. 2019, 8:06 am Victor Stinner, <vstinner@python.org> wrote:
Hi,

Are you ok to modify internal C functions to pass explicitly tstate?

I'll join the chorus of +1's.

With the work you've already done to clearly separate the public APIs from the internal ones, it's now much clearer which functions should be accepting an explicit thread state, and which ones should be looking it up implicitly.

Cheers,
Nick.