Skip to content

gh-114628: Display csv.Error without context #115005

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

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

terryjreedy
Copy link
Member

@terryjreedy terryjreedy commented Feb 4, 2024

When cvs.Error is raised when TypeError is caught, the TypeError display and 'During handling' note is just noise with duplicate information. Suppress with 'from None'.

When cvs.Error is raised when TypeError is caught,
the TypeError display and 'During handling' note is just noise
with duplicate information.  Suppress with 'from None'.
@terryjreedy terryjreedy added the stdlib Python modules in the Lib dir label Feb 4, 2024
@terryjreedy terryjreedy self-assigned this Feb 4, 2024
@terryjreedy terryjreedy merged commit e207cc1 into python:main Feb 5, 2024
@terryjreedy terryjreedy deleted the csverror branch February 5, 2024 01:58
@python python deleted a comment from bedevere-bot Feb 5, 2024
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
When cvs.Error is raised when TypeError is caught,
the TypeError display and 'During handling' note is just noise
with duplicate information.  Suppress with 'from None'.
fsc-eriker pushed a commit to fsc-eriker/cpython that referenced this pull request Feb 14, 2024
When cvs.Error is raised when TypeError is caught,
the TypeError display and 'During handling' note is just noise
with duplicate information.  Suppress with 'from None'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant