multidict implementation

Edit Package python-multidict

HTTP Headers and URL query string require specific data structure: multidict. It behaves mostly like a regular dict but it may have several values for the same key.

multidict has four multidict classes: MultiDict, MultiDictProxy, CIMultiDict and CIMultiDictProxy.

Immutable proxies (MultiDictProxy and CIMultiDictProxy) provide a dynamic view for the proxied multidict, the view reflects underlying collection changes. They implement the collections.abc.Mapping interface.

Regular mutable (MultiDict and CIMultiDict) classes implement collections.abc.MutableMapping and allows to change their own content.

Refresh
Refresh
Source Files
Filename Size Changed
multidict-6.0.2.tar.gz 0000050334 49.2 KB
python-multidict.changes 0000006601 6.45 KB
python-multidict.spec 0000001805 1.76 KB
Revision 36 (latest revision is 44)
Dirk Mueller's avatar Dirk Mueller (dirkmueller) accepted request 957229 from Adrian Schröter's avatar Adrian Schröter (adrianSuSE) (revision 36)
- update to 6.0.2:
  - Use ``METH_FASTCALL`` where it makes sense.
    ``MultiDict.add()`` is 2.2 times faster now, ``CIMultiDict.add()`` is 1.5 times faster.
    The same boost is applied to ``get*()``, ``setdefault()``, and ``pop*()`` methods. (:issue:`681`)
  - Fixed type annotations for keys of multidict mapping classes. (:issue:`644`)
  - Support Multidict[int] for pure-python version.
    ``__class_getitem__`` is already provided by C Extension, making it work with the pure-extension too. (:issue:`678`)
  - Dropped Python 3.6 support (:issue:`680`)
Comments 0
openSUSE Build Service is sponsored by