This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients AllanDaemon, BTaskaya, docs@python, gvanrossum
Date 2020-09-15.17:51:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The forwarding of `__class__`, and the resulting difference between `type(list[int])` and `list[int].__class__` are intentional.

I think overriding `__dir__` along the lines suggested by Allan (but in C of course) would be the best solution.
Date User Action Args
2020-09-15 17:51:17gvanrossumsetrecipients: + gvanrossum, docs@python, BTaskaya, AllanDaemon
2020-09-15 17:51:16gvanrossumsetmessageid: <>
2020-09-15 17:51:16gvanrossumlinkissue41780 messages
2020-09-15 17:51:16gvanrossumcreate