Skip to content

__debug__ symbol not recognized #577

@RianKojaASQ

Description

@RianKojaASQ

Summary

Just got this warning on vscode:

Name '__debug__' used when not definedty[unresolved-reference](https://ty.dev/rules#unresolved-reference)

Recalling the docs: https://docs.python.org/3/library/constants.html

__debug__
This constant is true if Python was not started with an -O option. See also the assert statement.

Version

0.0.1a8

Metadata

Metadata

Labels

bugSomething isn't workinghelp wantedContributions especially welcomeruntime semanticsAccurate modeling of how Python's semantics work at runtime

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions