Releases
v0.7.0
kngwyu
released this
26 May 09:07
Added
PyPy support by omerbenamram in #393
Have PyModule
generate an index of its members (__all__
list).
Allow slf: PyRef<T>
for pyclass(#419 )
Allow to use lifetime specifiers in pymethods
Add marshal
module. #460
Changed
Python::run
returns PyResult<()>
instead of PyResult<&PyAny>
.
Methods decorated with #[getter]
and #[setter]
can now omit wrapping the
result type in PyResult
if they don't raise exceptions.
Fixed
type_object::PyTypeObject
has been marked unsafe because breaking the contract type_object::PyTypeObject::init_type
can lead to UB.
Fixed automatic derive of PySequenceProtocol
implementation in #423 .
Capitalization & better wording to README.md.
Docstrings of properties is now properly set using the doc of the #[getter]
method.
Fixed issues with pymethods
crashing on doc comments containing double quotes.
PySet::new
and PyFrozenSet::new
now return PyResult<&Py[Frozen]Set>
; exceptions are raised if
the items are not hashable.
Fixed building using venv
on Windows.
PyTuple::new
now returns &PyTuple
instead of Py<PyTuple>
.
You can’t perform that action at this time.