PyO3 v0.15.1 Release Notes
Release Date: 2021-11-19 // over 2 years ago-
โ Added
- Add implementations for
Py::as_ref()
andPy::into_ref()
forPy<PySequence>
,Py<PyIterator>
andPy<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
inallow_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
- Add implementations for