pyo3/newsfragments/2914.changed.md

175 B

FFI definition PyIter_Check on CPython 3.7 now does the equivalent for hasattr(type(obj), "__next__"), which works correctly on all platforms and adds support for abi3.