github microsoft/pyright 1.1.405
Published 1.1.405

12 hours ago

Changes:

  • 7ee3058 Published 1.1.405.
  • bb13689 Fixed bug that results in false positive "reportPossiblyUnboundVariable" error on keyword argument names. This addresses #10811. (#10876)
  • 539aabd Updated error message for NewType used in isinstance check. I don't think this makes things clearer, but it is technically more correct. Addresses #10601.
  • ce16aa1 Changed the evaluated type of __class__ from type[Self] to type[<Enclosing class]. This addresses #10685. (#10874)
  • 099954d Added optimization that reduces the number of Uri objects that need to be created during type evaluation. This is an attempt to address #10832. (#10872)
  • 93c98d7 Fixed bug that causes a false negative when using unquoted types in a TypedDict functional class definition if the types are forward declared. This addresses #10612. (#10869)
  • 29bb1b0 Fixed bug that resulted in false negative when backslash followed by line feed occurs at end of file. This addresses #10814. (#10867)
  • f3ab90b Fixed false negative when a keyword parameter in a child class method overrides a method with a **kwargs in the parent and the type is incompatible. This addresses #10815. (#10866)
  • c407ded Fixed regression introduced in 1.1.343 that results in nondeterministic (order-dependent) type evaluation under certain circumstances involving recursive type aliases. This addresses #10850. (#10865)
  • d97565a Revert "Added support for tracking multiple constraint sets when performing protocol matching. This allows protocols with overloaded methods to contribute independent constraint sets. This addresses #9835. (#9864)" (#10863) [ #10849 ]
See More
  • aff9b4f Fixed bug that contributes to out-of-memory crashes under certain circumstances where a module's transitive import graph is very large and may not fit within the available heap space. (#10862)
  • 7395f59 Bump tmp from 0.2.3 to 0.2.5 in /packages/vscode-pyright (#10824)
  • 769a124 Added support for match_args dataclass parameter. This addresses #10858. (#10861)
  • 464bc01 Fixed bug that results in false negative when a closed=False is used in TypedDict that subclasses from a non-open TypedDict base class. This addresses #10859. (#10860)
  • eccd633 Revert "Reverted a recent change that appears to have affected performance on some projects. This attempts to address #10832. (#10841)"
  • b85f7ff Improved performance of import resolution when there are large number… (#10855)
  • b45deb0 Document editable installs with uv (#10854)
  • cd980e2 Fixed a bug that results in spurious errors if a class decorator is a… (#10846) [ #10836 ]
  • 30068aa Fixed a bug that results in false positive errors when using object methods (like __eq__) on a Sentinel instance. This addresses #10773. (#10844)
  • 1ce3e78 Fixed bug that results in incorrect literal math results for bitwise negation. This addresses #10834. (#10842)
  • fe7aaf2 Reverted a recent change that appears to have affected performance on some projects. This attempts to address #10832. (#10841)
  • d639324 pull-pylance-with-pyright-1.1.403-20250820-201137 (#10831)

This list of changes was auto generated.

Don't miss a new pyright release

NewReleases is sending notifications on new releases.