Eric Traut
Eric Traut
We've had reports of similar behaviors, but no one has been able to provide a repro case. If you have a set of steps that we can follow to repro...
Are you using a multi-root workspace? We recently fixed a bug that could explain this behavior for multi-root workspaces.
Since this is related to language server features, I'd appreciate it if the pylance team could take this issue. Feel free to transfer to pylance-release and prioritize as you see...
I'm not able to repro this issue with the latest version of pyright (1.1.351). To try to repro, I manually applied the change in `relativedelta.pyi` and then verified that the...
I don't think that any runtime changes are required to address the problem you're talking about here. We simply need a protocol defined somewhere in typeshed (e.g. in the `_typeshed`...
The classes defined in `types` are runtime details. Unless you're writing tooling-related code that needs access to these details (e.g. a runtime type checker or debugger), you should not use...
@AlexWaygood, I agree with your observation that `type` is an instance of `type`, but it's also a subclass of `object`. The `object` class already provides a type declaration for the...
I think this PR is now ready for review. FWIW, this change is blocking the consideration of a [change to the typing spec](https://github.com/python/typing-council/issues/11).
Is there a concrete reason for doing this now, or is this this just theoretical? If it's just theoretical, I'd prefer to hold off until there's a proven need for...
OK, makes sense. I've added provisional support for the above proposal in pyright. If we end up modifying the proposal, I will adjust accordingly. I presume that if there are...