bpo-39573: Finish converting to new Py_IS_TYPE() macro (GH-18601)

23 files changed