PyType::is_subclass, PyErr::is_instance and PyAny::is_instance now take &PyAny instead of &PyType arguments, so that they work with objects that pretend to be types using __subclasscheck__ and __instancecheck__.
PyType::is_subclass
PyErr::is_instance
PyAny::is_instance
&PyAny
&PyType
__subclasscheck__
__instancecheck__