Message399162
| Author | iritkatriel |
|---|---|
| Recipients | Jeffrey.Kintscher, donovick, emanspeaks, iritkatriel, levkivskyi, myungsekyo, rhettinger, stutzbach |
| Date | 2021-08-07.00:53:04 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1628297584.14.0.0408888100425.issue36881@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
PR27648 fixes this, but it also breaks test_abc.test_issubclass_bad_arguments so it's not quite right. I don't know this area, but I think the problem is in the place the PR changes, and that the issue is due to this difference in the type of __subclasses__ between C and Meta2: >>> class C: pass ... >>> from abc import ABCMeta >>> class AbstractMeta(type, metaclass=ABCMeta): pass ... >>> class Meta2(AbstractMeta): pass ... >>> C.__subclasses__ <built-in method __subclasses__ of type object at 0x7f96bf5040b0> >>> Meta2.__subclasses__ <method '__subclasses__' of 'type' objects> |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2021-08-07 00:53:04 | iritkatriel | set | recipients: + iritkatriel, rhettinger, stutzbach, levkivskyi, donovick, Jeffrey.Kintscher, emanspeaks, myungsekyo |
| 2021-08-07 00:53:04 | iritkatriel | set | messageid: <1628297584.14.0.0408888100425.issue36881@roundup.psfhosted.org> |
| 2021-08-07 00:53:04 | iritkatriel | link | issue36881 messages |
| 2021-08-07 00:53:04 | iritkatriel | create | |