Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge 1.1.387 #829

Merged
merged 22 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
45da329
Specify return type for createHost (#9295)
ljw1004 Oct 23, 2024
4180fa2
Pull Pylance with Pyright 1.1.386 (#9302)
bschnurr Oct 23, 2024
e7f0d36
Enhanced type narrowing logic for "x == <literal>" type guard pattern…
erictraut Oct 24, 2024
a326745
Fixed bug that leads to a false negative when passing multiple `*args…
erictraut Oct 24, 2024
5537ec9
Fixed issue that results in a false positive "type could not be deter…
erictraut Oct 24, 2024
662ebf5
Switched to a different toml parser to avoid incompatibility with the…
erictraut Oct 25, 2024
1579b06
Changed the evaluated type of an `in` or `not in` operator to be `boo…
erictraut Oct 25, 2024
471f76b
Fixed a bug that results in a false positive when a class parameteriz…
erictraut Oct 28, 2024
901c75f
Fixed bug that results in incorrect type evaluation when performing p…
erictraut Oct 28, 2024
bd766f8
Improved detection of asymmetric descriptors to handle the case where…
erictraut Oct 28, 2024
2ffc5f1
Added protection for an internal call stack overflow when inferring r…
erictraut Oct 28, 2024
84b77b0
Fixed a false positive "incompatible method override" error in a case…
erictraut Oct 29, 2024
d0b4eb5
Added experimental support for draft PEP 764: Inlined typed dictionar…
erictraut Oct 29, 2024
55adfbd
Added test cases for inlined TypedDict definitions that use generics.
erictraut Oct 29, 2024
c723170
Changed check in the pyright VS Code extension for the presence of Py…
erictraut Oct 29, 2024
e7f69ee
Fix hover on `.get()` of `TypedDict` instance (#9357)
debonte Oct 30, 2024
605453f
Fixed a bug that causes a false positive error when a class uses `typ…
erictraut Oct 30, 2024
5006323
Published 1.1.387
erictraut Oct 30, 2024
3e3337d
Merge tag 'refs/tags/1.1.387' into merge-1.1.387
DetachHead Oct 30, 2024
943aa3b
fix duplicated variables from the previous inline `TypedDict` impleme…
DetachHead Oct 30, 2024
699be42
remove some stuff from the docs that now exist upstream
DetachHead Oct 30, 2024
6978ffc
regenerate npm lockfiles
DetachHead Oct 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions docs/benefits-over-pyright/inline-typed-dict.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/installation/ides.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ install the extension from [the vscode extension marketplace](https://marketplac

unless you depend on any pylance-exclusive features that haven't yet been re-implemented in basedpyright, it's recommended to disable/uninstall the pylance extension.

if you do want to continue using pylance, all of the options and commands in basedpyright have been renamed to avoid any conflicts with the pylance extension, and the restriction that prevents both extensions from being enabled at the same time has been removed.
if you do want to continue using pylance, all of the options and commands in basedpyright have been renamed to avoid any conflicts with the pylance extension.

if basedpyright detects that pylance is installed, you will see a popup prompting you to choose whether to uninstall pylance or fix your settings to allow both extensions to work without overlapping functionality:

Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"packages": [
"packages/*"
],
"version": "1.1.386",
"version": "1.1.387",
"command": {
"version": {
"push": false,
Expand Down
70 changes: 56 additions & 14 deletions packages/pyright-internal/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/pyright-internal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "pyright-internal",
"displayName": "pyright",
"description": "Type checker for the Python language",
"version": "1.1.386",
"version": "1.1.387",
"license": "MIT",
"private": true,
"files": [
Expand Down
Loading
Loading