Skip to content

gh-73138 Add strict attribute to csv.Dialect #100333

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

shoeffner
Copy link

#73138 identified that the dialect returned by the csv Sniffer does not have strict attribute. As detailed there, none of the Dialects has it as it was missing in the base definition.

This PR adds the strict attribute the Dialect class.

Please be sure to read my comment on gh-73138: The defaults for a custom Dialect do not match the documentation and I would like to change that as well in a separate PR.

@bedevere-bot
Copy link

Most changes to Python require a NEWS entry.

Please add it using the blurb_it web app or the blurb command-line tool.

@ghost
Copy link

ghost commented Dec 18, 2022

All commit authors signed the Contributor License Agreement.
CLA signed

@shoeffner
Copy link
Author

Thanks @bedevere-bot , I will add the NEWS entry soon!

@shoeffner shoeffner force-pushed the csv-dialect-strict branch 2 times, most recently from 82972c0 to 81b17e6 Compare December 18, 2022 21:02
@shoeffner shoeffner force-pushed the csv-dialect-strict branch from 81b17e6 to 825bb51 Compare June 3, 2024 01:42
@shoeffner shoeffner force-pushed the csv-dialect-strict branch from 825bb51 to d230125 Compare June 3, 2024 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants