PyO3 v0.15.1 Release Notes

Release Date: 2021-11-19 // over 2 years ago
  • โž• Added

    • Add implementations for Py::as_ref() and Py::into_ref() for Py<PySequence>, Py<PyIterator> and Py<PyMapping>. #1682
    • โž• Add PyTraceback type to represent and format Python tracebacks. #1977

    ๐Ÿ”„ Changed

    • ๐Ÿ‘• #[classattr] constants with a known magic method name (which is lowercase) no longer trigger lint warnings expecting constants to be uppercase. #1969

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix creating #[classattr] by functions with the name of a known magic method. #1969
    • Fix use of catch_unwind in allow_threads which can cause fatal crashes. #1989
    • ๐Ÿ›  Fix build failure on PyPy when abi3 features are activated. #1991
    • ๐Ÿ›  Fix mingw platform detection. #1993
    • Fix panic in __get__ implementation when accessing descriptor on type object. #1997