New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not add a metclass that inherits both ABCMeta & ABC to a Union #87761
Comments
Related to Issue bpo-43594. When running the following code
An exception is raised >>> TypeError: descriptor '__subclasses__' of 'type' object needs an argument Tested on v3.6.9 |
This is actually a lot worse and unrelated to the aforementioned issue. The code
raises the exception >>> TypeError: descriptor '__subclasses__' of 'type' object needs an argument |
Hi, I tried both code snippets, and they work for me with the output:
For your second code snippet. Tested on 3.7.6 (IPython though) on a Windows machine, can test it on Linux tomorrow. |
Works for me, too - no error (MacOS, 3.9.1) |
I can reproduce the first snippet on 3.6.1, but cannot reproduce either snippet on 3.9+ |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: