-
Notifications
You must be signed in to change notification settings - Fork 219
Description
I'd like to +1 the
os.namesupport request. I have some code that was usingos.name == "nt"andos.name != "nt"that pyright correctly handles, but ty gives unresolved-attribute errors on.
On finding this thread I've changed it tosys.platformchecks instead, which works correctly.
If its difficult to support at this time maybe adding a mention to the docs and type system feature overview would be helpful?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels