-
-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid private argument-parsing API on Python 3.12 also
Implemented as an extension of #909, which made this change on Python 3.13 and later. Fixes #926 (build failure observed with clang-16.0.6 and gcc-14). Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
- Loading branch information
1 parent
3589b18
commit f22c3d6
Showing
5 changed files
with
55 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
Revert to using the public argument parsing API | ||
:c:func:`PyArg_ParseTupleAndKeywords` under Python 3.13 | ||
-- :user:`webknjaz`. | ||
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. | ||
|
||
Reversion to public argument parsing API extended to also | ||
apply to Python 3.12 as well to avoid build errors with | ||
clang 16.9.6 and gcc-14 reported in :issue:`926`, via :pr:`929`. | ||
-- :user:`charles-dyfis-net` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
909.bugfix.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,7 @@ eof | |
fallback | ||
fastpath | ||
filename | ||
gcc | ||
getitem | ||
github | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters