multidict implementation
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.
- Sources inherited from project devel:languages:python
- Devel package for openSUSE:Factory
-
9
derived packages
- Links to openSUSE:Factory / python-multidict
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:Tomcat42/python-multidict && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
_link | 0000000124 124 Bytes | |
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 (dirkmueller)
accepted
request 957229
from
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