◐ Shell
clean mode source ↗

gh-95987: Fix `repr` of `Any` type subclasses by sobolevn · Pull Request #96412 · python/cpython

Conversation

Fidget-Spinner

Choose a reason for hiding this comment

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

I didn't know you could subclass Any. However, this change LGTM.

@sobolevn

gvanrossum

@gvanrossum

This doesn't qualify for backporting to 3.11.0 during the RC phase, but I would be okay if it was backported to 3.11.1 once 3.11.0 is out -- it is clearly a bugfix, just not important enough to disturb the release process.

hauntsaninja pushed a commit to hauntsaninja/cpython that referenced this pull request

Aug 31, 2022
…96412)

(cherry picked from commit 4217393)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>

ambv pushed a commit that referenced this pull request

Oct 5, 2022
(cherry picked from commit 4217393)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>