Skip to content

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented May 1, 2025

Make them similar to PyArg_Parse error messages, mention None as a possible value, show a wrong type and the string length.

…s of csv.Dialect attributes

Make them similar to PyArg_Parse error messages, mention None as
a possible value, show a wrong type and the string length.
Copy link

@aterrel aterrel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

definitely a lot clearer than before.

@serhiy-storchaka serhiy-storchaka added the needs backport to 3.14 bugs and security fixes label May 21, 2025
@serhiy-storchaka serhiy-storchaka merged commit df98a47 into python:main Jun 2, 2025
41 checks passed
@miss-islington-app
Copy link

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

@serhiy-storchaka serhiy-storchaka deleted the csv-error-messages branch June 2, 2025 20:35
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 2, 2025
…s of csv.Dialog attributes (pythonGH-133241)

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 df98a47)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-app
Copy link

bedevere-app bot commented Jun 2, 2025

GH-135050 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Jun 2, 2025
serhiy-storchaka added a commit that referenced this pull request Jun 2, 2025
…es 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 df98a47)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request Jul 12, 2025
…s of csv.Dialog attributes (pythonGH-133241)

Make them similar to PyArg_Parse error messages, mention None as
a possible value, show a wrong type and the string length.
taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request Aug 4, 2025
…s of csv.Dialog attributes (pythonGH-133241)

Make them similar to PyArg_Parse error messages, mention None as
a possible value, show a wrong type and the string length.
Agent-Hellboy pushed a commit to Agent-Hellboy/cpython that referenced this pull request Aug 19, 2025
…s of csv.Dialog attributes (pythonGH-133241)

Make them similar to PyArg_Parse error messages, mention None as
a possible value, show a wrong type and the string length.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants