PyO3 v0.17.2 Release Notes
Release Date: 2022-10-04 // almost 2 years ago-
Packaging
- โ Added optional
chrono
feature to convertchrono
types into types in thedatetime
module. #2612
โ Added
- โ Add support for
num-bigint
feature onPyPy
. #2626
๐ Fixed
- Correctly implement
__richcmp__
for enums, fixing__ne__
returning always returningTrue
. #2622 - ๐ Fix compile error since 0.17.0 with
Option<&SomePyClass>
argument with a default. #2630 - ๐ Fix regression of
impl FromPyObject for Vec<T>
no longer accepting types passingPySequence_Check
, e.g. NumPy arrays, since 0.17.0. #2631
- โ Added optional
Previous changes from v0.17.1
-
๐ Fixed
- ๐ Fix visibility of
PyDictItems
,PyDictKeys
, andPyDictValues
types added in PyO3 0.17.0. - Fix compile failure when using
#[pyo3(from_py_with = "...")]
attribute on an argument of typeOption<T>
. #2592 - ๐ Fix clippy
redundant-closure
lint on**kwargs
arguments for#[pyfunction]
and#[pymethods]
. #2595
- ๐ Fix visibility of