Skip to content

Conversation

@Kojoley
Copy link
Collaborator

@Kojoley Kojoley commented Dec 4, 2021

As noted in #13282 (comment) the fc57ec9 did not fix all the places.

if hasattr(obj, '__class__'): branches were removed because everything is an object and has a __class__ in Python 3.

@Kojoley Kojoley mentioned this pull request Dec 4, 2021
@Carreau Carreau added this to the 8.0 milestone Dec 6, 2021
@Carreau Carreau merged commit 55ce3d7 into ipython:master Dec 6, 2021
@Kojoley Kojoley deleted the inspect-exception-type branch December 6, 2021 18:05
@Kojoley
Copy link
Collaborator Author

Kojoley commented Dec 6, 2021

I think fc57ec9 + this worth backporting to 7.x branch.

bnavigator added a commit to bnavigator/ipython that referenced this pull request Dec 20, 2021
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