We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Feature
I got a TypeError: interpreted classes cannot inherit from compiled when I tried to extend from it. Not sure if this is a bug or not.
TypeError: interpreted classes cannot inherit from compiled
To reproduce:
from mypy.parse import parse from mypy.traverser import ExtendedTraverserVisitor class FooVisitor(ExtendedTraverserVisitor): def visit(self, o: Node) -> bool: print("hello") return True parse("print('foo')", None, None, None, Options()).accept(FooVisitor())
The text was updated successfully, but these errors were encountered:
Oh no, that makes my proposed plugin also pretty much impossible. (I want to subclass stubgen.ASTStubGenerator)
stubgen.ASTStubGenerator
Is there any workaround that doesn’t involve copying hundreds of lines of code like the workaround in dosisod/refurb#309?
Sorry, something went wrong.
No branches or pull requests
Feature
I got a
TypeError: interpreted classes cannot inherit from compiled
when I tried to extend from it. Not sure if this is a bug or not.To reproduce:
The text was updated successfully, but these errors were encountered: