Skip to content

Commit e77793a

Browse files
authored
Release 6.4.4 (#1164)
1 parent b5a24b7 commit e77793a

File tree

7 files changed

+55
-18
lines changed

7 files changed

+55
-18
lines changed

CHANGES.rst

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,60 @@ Changelog
1414

1515
.. towncrier release notes start
1616
17+
6.4.4
18+
=====
19+
20+
*(2025-05-19)*
21+
22+
23+
Bug fixes
24+
---------
25+
26+
- Fixed a segmentation fault when calling :py:meth:`multidict.MultiDict.setdefault` with a single argument -- by :user:`bdraco`.
27+
28+
*Related issues and pull requests on GitHub:*
29+
:issue:`1160`.
30+
31+
- Fixed a segmentation fault when attempting to directly instantiate view objects
32+
(``multidict._ItemsView``, ``multidict._KeysView``, ``multidict._ValuesView``) -- by :user:`bdraco`.
33+
34+
View objects now raise a proper :exc:`TypeError` with the message "cannot create '...' instances directly"
35+
when direct instantiation is attempted.
36+
37+
View objects should only be created through the proper methods: :py:meth:`multidict.MultiDict.items`,
38+
:py:meth:`multidict.MultiDict.keys`, and :py:meth:`multidict.MultiDict.values`.
39+
40+
*Related issues and pull requests on GitHub:*
41+
:issue:`1164`.
42+
43+
44+
Miscellaneous internal changes
45+
------------------------------
46+
47+
- :class:`multidict.MultiDictProxy` was refactored to rely only on
48+
:class:`multidict.MultiDict` public interface and don't touch any implementation
49+
details.
50+
51+
*Related issues and pull requests on GitHub:*
52+
:issue:`1150`.
53+
54+
- Multidict views were refactored to rely only on
55+
:class:`multidict.MultiDict` API and don't touch any implementation
56+
details.
57+
58+
*Related issues and pull requests on GitHub:*
59+
:issue:`1152`.
60+
61+
- Dropped internal ``_Impl`` class from pure Python implementation, both pure Python and C
62+
Extension follows the same design internally now.
63+
64+
*Related issues and pull requests on GitHub:*
65+
:issue:`1153`.
66+
67+
68+
----
69+
70+
1771
6.4.3
1872
=====
1973

CHANGES/1150.misc.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

CHANGES/1152.misc.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

CHANGES/1153.misc.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

CHANGES/1160.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGES/1164.bugfix.rst

Lines changed: 0 additions & 8 deletions
This file was deleted.

multidict/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"getversion",
2323
)
2424

25-
__version__ = "6.4.4.dev0"
25+
__version__ = "6.4.4"
2626

2727

2828
if TYPE_CHECKING or not USE_EXTENSIONS:

0 commit comments

Comments
 (0)