This release fixes a rare ref-counting race condition when a PyObject
is cloned inside of closure passed to Python::allow_threads
. It is advised to update to this release if possible.
Conversions for Cell<T>
and Cow<[u8]>
have been added, as well as PyList::to_tuple
and PyTuple::to_list
as the most efficient way to convert between those types.
This release also contains some other minor performance optimisations and bugfixes.
Thank you to the following users for the improvements:
@adamreichold
@AdilZouitine
@adriangb
@AntoineRR
@davidhewitt
@Enyium
@iajoiner
@kngwyu
@lycantropos
@mattip
@mejrs
@messense
@OliverBalfour
@samuelcolvin