Issue #17508: Handled out-of-order handler configuration correctly.
Clean up references to the no longer existing PyString_ APIs in our docs.