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.5.tar.gz 0000059867 58.5 KB
python-multidict.changes 0000008793 8.59 KB
python-multidict.spec 0000002018 1.97 KB
Revision 43 (latest revision is 44)
Daniel Garcia's avatar Daniel Garcia (dgarcia) accepted request 1155849 from Daniel Garcia's avatar Daniel Garcia (dgarcia) (revision 43)
- Update to 6.0.5 (bsc#1221014):
  * Upgraded the C-API macros that have been deprecated in Python 3.9
    and later removed in 3.13 -- by :user:`iemelyanov`.
  * Related issues and pull requests on GitHub: :issue:`862`,
    :issue:`864`, :issue:`868`, :issue:`898`.
  * Reverted to using the public argument parsing API
    :c:func:`PyArg_ParseTupleAndKeywords` under Python 3.12 -- by
    :user:`charles-dyfis-net` and :user:`webknjaz`.
  * The effect is that this change prevents build failures with clang
    16.9.6 and gcc-14 reported in :issue:`926`. It also fixes a
    segmentation fault crash caused by passing keyword arguments to
    :py:meth:`MultiDict.getall() <multidict.MultiDict.getall>`
    discovered by :user:`jonaslb` and :user:`hroncok` while examining
    the problem.
  * Related issues and pull requests on GitHub: :issue:`862`,
    :issue:`909`, :issue:`926`, :issue:`929`.
  * Fixed a SystemError: null argument to internal routine error on a
    MultiDict.items().isdisjoint() call when using C Extensions.
  * Related issues and pull requests on GitHub: :issue:`927`.
Comments 0
openSUSE Build Service is sponsored by