Skip to content

Pull Pylance with Pyright 1.1.414 - #11954

Open
Heejae Chang (heejaechang) wants to merge 1 commit into
microsoft:mainfrom
heejaechang:sync-pylance-85a41a71-f854-4f14-b30a-52e674b40d41-11
Open

Heejae Chang (heejaechang) wants to merge 1 commit into
microsoft:mainfrom
heejaechang:sync-pylance-85a41a71-f854-4f14-b30a-52e674b40d41-11

Conversation

@heejaechang

Copy link
Copy Markdown
Collaborator

Synchronizes Pylance compatibility changes with the current Pyright codebase.

Rollup:

  • Preserves evaluator and generated-stub compatibility, runtime-checkable protocols, partial-callable Unknown versus explicit Any, scoped overload variables, enum identity and bounded import-binding recovery.

REVIEWER: Review only Pyright/Pylance synchronization and compatibility changes in this PR; do not leave unrelated feedback.

Co-authored-by: Bill Schnurr <bschnurr@microsoft.com>
Co-authored-by: HeeJae Chang <hechang@microsoft.com>
Co-authored-by: Rich Chiodo <rchiodo@microsoft.com>
Co-authored-by: Stella Huang <stellahuang@microsoft.com>
@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@github-actions

Copy link
Copy Markdown
Contributor

Compared candidate 92331540d956a5a679958d7841f3aece1b3a17d2 against its first parent 74743ab17950a6bd205935e21808102a610d40a1.

View the full release history charts with the base and PR results.

Execution time history

Execution time history

Peak memory history

Peak memory history

Download the chart artifact.

Type checker benchmark

🟢 No performance regressions detected.

Regression threshold: 20.0%
Statistic: median
Variance guard: >1.0s time and >100.0 MB memory

Package Checker Files checked Time Time delta Peak memory Memory delta Status
ansible pyright 583 21.782s -0.7% 1107.3 MB +1.4% 🟢 Pass
click pyright 17 3.154s -3.4% 356.1 MB -0.8% 🟢 Pass
homeassistant pyright 9850 146.610s +1.8% 6094.4 MB -0.6% 🟢 Pass
numpy pyright 356 35.740s -1.2% 1302.2 MB +6.9% 🟢 Pass
pandas pyright 1459 139.108s +3.0% 3514.8 MB -2.2% 🟢 Pass
pytest pyright 243 7.763s +0.7% 869.2 MB +1.6% 🟢 Pass
requests pyright 19 2.537s -0.3% 342.5 MB +0.5% 🟢 Pass
torch pyright 2400 111.229s +3.2% 4704.3 MB -3.0% 🟢 Pass
transformers pyright 2901 122.952s -0.5% 4966.0 MB -0.7% 🟢 Pass

Pyright stats

Package Parsed/bound Checked Find Read Tokenize Parse Imports Bind Check Cycles
ansible 988 583 0.050s 0.090s 0.410s 0.823s 0.230s 1.063s 18.547s 0.000s
click 111 17 0.000s 0.020s 0.123s 0.220s 0.033s 0.267s 2.160s 0.000s
homeassistant 11150 9850 0.723s 0.743s 2.860s 5.003s 2.093s 6.880s 124.870s 0.000s
numpy 606 356 0.010s 0.060s 0.380s 0.733s 0.253s 0.870s 32.923s 0.000s
pandas 1899 1459 0.070s 0.207s 1.203s 2.447s 0.280s 2.490s 131.700s 0.000s
pytest 545 243 0.010s 0.040s 0.230s 0.350s 0.073s 0.467s 6.277s 0.000s
requests 167 19 0.000s 0.017s 0.130s 0.223s 0.070s 0.283s 1.477s 0.000s
torch 3078 2400 0.130s 0.313s 1.647s 3.030s 0.513s 3.957s 100.627s 0.000s
transformers 3536 2901 0.167s 0.383s 2.213s 3.783s 0.887s 8.873s 109.780s 0.000s

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant