]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-132813: Improve error messages for incorrect types and values of csv.Dialog...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 2 Jun 2025 21:01:18 +0000 (23:01 +0200)
committerGitHub <noreply@github.com>
Mon, 2 Jun 2025 21:01:18 +0000 (21:01 +0000)
commit94306f73f0719ef518d552ecb30564b2d78794f0
treedbbf773a1c30d244c5ebaafbaa8749aed88fca09
parent9bbb0c5df871d3326602aa2919d5e20cb53ab0c8
[3.14] gh-132813: Improve error messages for incorrect types and values of csv.Dialog attributes (GH-133241) (GH-135050)

Make them similar to PyArg_Parse error messages, mention None as
a possible value, show a wrong type and the string length.
(cherry picked from commit df98a47a61a274eb7427c6201ddabec9ffd30b0a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_csv.py
Misc/NEWS.d/next/Library/2025-05-01-10-56-44.gh-issue-132813.rKurvp.rst [new file with mode: 0644]
Modules/_csv.c