Skip to content

Commit 5dcfd85

Browse files
committed
Merge branch 'maintenance/changelog-consistency'
2 parents 0c42831 + a5b19be commit 5dcfd85

File tree

5 files changed

+19
-13
lines changed

5 files changed

+19
-13
lines changed

CHANGES.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Bug fixes
2828
*Related issues and pull requests on GitHub:*
2929
:issue:`1045`.
3030

31-
- Fix a leak when the last accessed module in ``PyInit__multidict`` init is not released.
31+
- Fixed a leak when the last accessed module in ``PyInit__multidict()`` init is not released.
3232

3333
*Related issues and pull requests on GitHub:*
3434
:issue:`1061`.

CHANGES/1063.misc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Sync ``pythoncapi_compat.h`` with the latest available version.
1+
Synchronized :file:`pythoncapi_compat.h` with the latest available version.

CHANGES/1070.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Implement a custom parser for ``METH_FASTCALL | METH_KEYWORDS`` protocol
1+
Implemented a custom parser for ``METH_FASTCALL | METH_KEYWORDS`` protocol
22
-- by :user:`asvetlov`.
33

4-
The patch enables fast call protocol for ``multidict`` C Extension again.
4+
The patch re-enables fast call protocol in the :py:mod:`multidict` C Extension.
55

6-
Speedup is about 25%-30% for the library benchmarks for Python 3.12+.
6+
Speedup is about 25%-30% for the library benchmarks for Python 3.12+.

CHANGES/1078.feature

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1-
Avoid Python exception creation if *key* is not found but *default* value is provided.
1+
The C-extension no longer pre-allocates a Python exception object in
2+
lookup-related methods of :py:class:`~multidict.MultiDict` when the
3+
passed-in *key* is not found but *default* value is provided.
24

3-
The PR affects ``MultiDict.getone()``, ``MultiDict.getall()``,
4-
``MultiDict.get()``, ``MultiDict.pop()``, ``MultiDict.popone()``, and
5-
``MultiDict.popall()`` methods if the key is messed *and* default is provided.
5+
Namely, this affects :py:meth:`MultiDict.getone()
6+
<multidict.MultiDict.getone>`, :py:meth:`MultiDict.getall()
7+
<multidict.MultiDict.getall>`, :py:meth:`MultiDict.get()
8+
<multidict.MultiDict.get>`, :py:meth:`MultiDict.pop()
9+
<multidict.MultiDict.pop>`, :py:meth:`MultiDict.popone()
10+
<multidict.MultiDict.popone>`, and :py:meth:`MultiDict.popall()
11+
<multidict.MultiDict.popall>`.
612

7-
Additionally, comparison multidicts with straight dictionaries becomes slightly faster
8-
on Python 3.13+.
9-
10-
The speedup gain is about 60% for mentioned cases.
13+
Additionally, the :py:class:`~multidict.MultiDict` comparison with
14+
regular :py:class:`dict`\ ionaries is now about 60% faster
15+
on Python 3.13+ in the fallback-to-default case.

docs/spelling_wordlist.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ gunicorn
4242
Gunicorn
4343
Indices
4444
inplace
45+
ionaries
4546
IP
4647
IPv
4748
ish

0 commit comments

Comments
 (0)