6.6.0
Features
-
Added :meth:
multidict.MultiDict.mergewhich copies all items from arguments if its key
not exist in the dictionary -- by :user:asvetlov.Related issues and pull requests on GitHub:
#292. -
Stopped reallocating memory for the internal
htkeys_tstructure when inserting new items if the
multidict has deleted items and it could be collapsed in-place. Removal of
malloc()/free()improves the performance slightly.The change affects C implementation only, pure Python code is not changed.
Patch by :user:
asvetlov.Related issues and pull requests on GitHub:
#1200. -
C implementation of :class:
multidict.MultiDict.getallnow is slightly faster if it returns nothing -- by :user:asvetlov.Related issues and pull requests on GitHub:
#1212.
Improved documentation
-
Replaced docstring for :meth:
multidict.MultiDict.updateto don't use RST/markdown markup.Related issues and pull requests on GitHub:
#1203. -
Improved documentation for :meth:
multidict.MultiDict.extendand :meth:multidict.MultiDict.update-- by :user:asvetlov.Related issues and pull requests on GitHub:
#1205.
Contributor-facing changes
-
When building wheels, the source distribution is now passed directly
to thecibuildwheelinvocation -- by :user:webknjaz.Related issues and pull requests on GitHub:
#1199. -
Set up
PYTHONHASHSEEDfor benchmarks execution to make measured times stable -- by :user:asvetlov.Related issues and pull requests on GitHub:
#1202.