The goal is to store &'static PySharedState in $leaked struct, which allows
us to move the $leaked struct out of the macro. Currently, it depends on
$inner.py_shared_state(py).
I think PySharedState is Sync because any mutation is synchronized by the
Python GIL, but I'm not pretty sure. I want to know if that's correct before
moving forward.