]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-132813: Improve error messages for incorrect types and values of csv.Dialog attrib...
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 2 Jun 2025 20:35:41 +0000 (23:35 +0300)
committerGitHub <noreply@github.com>
Mon, 2 Jun 2025 20:35:41 +0000 (23:35 +0300)
commitdf98a47a61a274eb7427c6201ddabec9ffd30b0a
treeb8fcef6b4712af67794c50457db4d00e8ba65d4d
parente814f43f2c655b931af8ee9e1c128bd1027549fb
gh-132813: Improve error messages for incorrect types and values of csv.Dialog attributes (GH-133241)

Make them similar to PyArg_Parse error messages, mention None as
a possible value, show a wrong type and the string length.
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