Python C extension using the Limited API: how to get the value of __debug__? I’m coding a C extension for Python.