Source Code Analysis
Many of Wing's features rely on a powerful source code analysis engine that runs in the background as you work. This inspects all the Python code in your project, and all the code that it uses, as found through import statements.
The source code analysis engine inspects code using type inference, type annotations, and user-provided interface description files. It also makes use of live runtime state whenever available, by loading and inspecting extension modules, and by introspecting symbols in the context of an active debug process or the integrated Python Shell.
Section Contents
16.0.
How Analysis Works
16.1. Helping Wing Analyze Code
16.1.0. Setting the Correct Python Environment
16.1.1. Using Live Runtime State
16.1.2. Adding Type Hints
16.1.3. Defining Interface Files
16.1.4. Helping Wing Analyze Cython Code
16.2. Analysis Disk Cache
16.1. Helping Wing Analyze Code
16.1.0. Setting the Correct Python Environment
16.1.1. Using Live Runtime State
16.1.2. Adding Type Hints
16.1.3. Defining Interface Files
16.1.4. Helping Wing Analyze Cython Code
16.2. Analysis Disk Cache