Skip to content

Conversation

DanielNoord
Copy link
Collaborator

@DanielNoord DanielNoord commented Aug 23, 2022

Supersedes #1722 as I didn't have commit rights on the branch.

Original post:

Do not require first exception argument to be a string. The word "usually" does not imply an obligation.
https://docs.python.org/3/library/exceptions.html#BaseException.args

Steps

  • For new features or bug fixes, add a ChangeLog entry describing what your PR does.
  • Write a good description on what the PR does.

Description

Type of Changes

Type
🐛 Bug fix

Related Issue

Refs: pylint-dev/pylint#7233

mymedia2 and others added 3 commits July 26, 2022 18:02
Do not require first exception argument to be a string. The word
"usually" does not imply an obligation.

https://docs.python.org/3/library/exceptions.html#BaseException.args
@coveralls
Copy link

Pull Request Test Coverage Report for Build 2910400344

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.002%) to 92.259%

Totals Coverage Status
Change from base Build 2910307976: -0.002%
Covered Lines: 9701
Relevant Lines: 10515

💛 - Coveralls

@Pierre-Sassoulas Pierre-Sassoulas merged commit 64693cd into pylint-dev:main Aug 23, 2022
@DanielNoord DanielNoord deleted the patch-1 branch August 23, 2022 10:46
@Pierre-Sassoulas
Copy link
Member

Last merge request before the release, right ?

@DanielNoord
Copy link
Collaborator Author

@Pierre-Sassoulas Yeah!

Pierre-Sassoulas pushed a commit that referenced this pull request Aug 23, 2022
Do not require first exception argument to be a string. The word
"usually" does not imply an obligation.

https://docs.python.org/3/library/exceptions.html#BaseException.args

Co-authored-by: Nicholas Guriev <[email protected]>
Pierre-Sassoulas pushed a commit that referenced this pull request Aug 23, 2022
Do not require first exception argument to be a string. The word
"usually" does not imply an obligation.

https://docs.python.org/3/library/exceptions.html#BaseException.args

Co-authored-by: Nicholas Guriev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants