Skip to content

Conversation

iritkatriel
Copy link
Member

@iritkatriel iritkatriel commented Nov 26, 2020

…ances of this type

Currently there are no tests for comparison between non-equal instances of traceback.TracebackException, so changing it's eq to return True instead of self.dict == other.dict would not break any tests.

https://bugs.python.org/issue42474

iritkatriel and others added 2 commits November 27, 2020 08:55
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

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

Looks like a good fix. Thanks!

@miss-islington
Copy link
Contributor

Thanks @iritkatriel for the PR, and @gvanrossum for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Thanks @iritkatriel for the PR, and @gvanrossum for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Sorry, @iritkatriel and @gvanrossum, I could not cleanly backport this to 3.8 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 44ca05afc89c9967f5dbc6c3ad89fc298c460e93 3.8

@miss-islington
Copy link
Contributor

Sorry @iritkatriel and @gvanrossum, I had trouble checking out the 3.9 backport branch.
Please backport using cherry_picker on command line.
cherry_picker 44ca05afc89c9967f5dbc6c3ad89fc298c460e93 3.9

@bedevere-bot
Copy link

GH-23557 is a backport of this pull request to the 3.9 branch.

@bedevere-bot
Copy link

GH-23558 is a backport of this pull request to the 3.8 branch.

iritkatriel added a commit to iritkatriel/cpython that referenced this pull request Nov 29, 2020
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
@iritkatriel iritkatriel deleted the bpo-42474 branch March 16, 2021 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants