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 erezinman
Recipients erezinman
Date 2021-03-22.13:53:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1616421230.45.0.492887326456.issue43595@roundup.psfhosted.org>
In-reply-to
Content
Related to Issue #43594.

When running the following code

```
from abc import ABCMeta, ABC
from typing import Union

class MetaclassMixin(ABC):
    pass 

class Meta(MetaclassMixin, ABCMeta):
    pass

print(Union[str, Meta])
```

An exception is raised

 >>> TypeError: descriptor '__subclasses__' of 'type' object needs an argument


Tested on v3.6.9
History
Date User Action Args
2021-03-22 13:53:50erezinmansetrecipients: + erezinman
2021-03-22 13:53:50erezinmansetmessageid: <1616421230.45.0.492887326456.issue43595@roundup.psfhosted.org>
2021-03-22 13:53:50erezinmanlinkissue43595 messages
2021-03-22 13:53:50erezinmancreate