Comments (2)
Thanks for the bug report. Which version of pyright were you running when you saw this? There was a bug in versions prior to 1.0.4 that would have resulted in this behavior. I'm not aware of any causes in 1.0.4 or newer.
from pyright.
In version 1.0.6 (just published), I added even more resiliency to protect against this case. Please let me know if you ever see this again.
from pyright.
Related Issues (20)
- Narrowing does not take shared variables into account HOT 1
- Different behavior when switching arguments using same generic type?
- Function defined in __init__.py is unknown HOT 1
- pyright doesn't understand collection is not None (hence iterable) after condition check HOT 1
- no error when using generic in `except` block HOT 6
- Enum type matching issues in pyright `1.1.363` HOT 1
- Enum Nonmember Attribute Access Regression HOT 4
- list,tuple type assign to protocol type with warning HOT 1
- Enum Literal Handling Regression HOT 2
- TypeVars for implicit lambdas can be tricked based on a single Callable HOT 11
- Type ignore inside comment block disables complete file type checking HOT 4
- PEP 695 variance inference for covariant type params HOT 2
- Pyright not seeing the latest stubs for pandas.DataFrame HOT 2
- reportArgumentType when passing `type` annotated parameter to `super()`
- Allow field specifier functions to overload `default` default values HOT 1
- Debug failure for invalid type alias statement
- Pyright understands narrowing with `==` tests but not with `in` tests. HOT 1
- Cast not applied for Coroutine and generic class HOT 1
- Overload is not reported as inconsistend when positional or keyword arguments are missing in implementation
- isssuse with kears.model
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyright.