Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.1k
gh-132813: Improve error messages for incorrect types and values of csv.Dialog attributes#133241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
…s of csv.Dialect attributesMake them similar to PyArg_Parse error messages, mention None asa possible value, show a wrong type and the string length.
a43c931
toa0ca9e7
Compare
aterrel left a comment
There was a problem hiding this 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.
df98a47
intopython:mainUh oh!
There was an error while loading.Please reload this page.
Thanks@serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14. |
…s of csv.Dialog attributes (pythonGH-133241)Make them similar to PyArg_Parse error messages, mention None asa possible value, show a wrong type and the string length.(cherry picked from commitdf98a47)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
GH-135050 is a backport of this pull request to the3.14 branch. |
Uh oh!
There was an error while loading.Please reload this page.
Make them similar to PyArg_Parse error messages, mention None as a possible value, show a wrong type and the string length.
csv.writer
withQUOTE_NONE
still requires non-emtpyquotechar
andescapechar
#132813