Skip to content

[ty] Apply narrowing to walrus values#23687

Merged
charliermarsh merged 1 commit intomainfrom
charlie/value-narrow
Mar 3, 2026
Merged

[ty] Apply narrowing to walrus values#23687
charliermarsh merged 1 commit intomainfrom
charlie/value-narrow

Conversation

@charliermarsh
Copy link
Member

@charliermarsh charliermarsh commented Mar 3, 2026

@charliermarsh charliermarsh force-pushed the charlie/value-narrow branch from 54721bb to 7adb235 Compare March 3, 2026 03:47
@charliermarsh charliermarsh added the ty Multi-file analysis & type inference label Mar 3, 2026
@astral-sh-bot
Copy link

astral-sh-bot bot commented Mar 3, 2026

Typing conformance results

No changes detected ✅

@astral-sh-bot
Copy link

astral-sh-bot bot commented Mar 3, 2026

mypy_primer results

No ecosystem changes detected ✅

@astral-sh-bot
Copy link

astral-sh-bot bot commented Mar 3, 2026

Memory usage report

Memory usage unchanged ✅

Copy link
Contributor

@carljm carljm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thank you!

@charliermarsh charliermarsh merged commit b017564 into main Mar 3, 2026
52 checks passed
@charliermarsh charliermarsh deleted the charlie/value-narrow branch March 3, 2026 17:58
carljm added a commit that referenced this pull request Mar 3, 2026
* main:
  [ty] Apply narrowing to walrus values (#23687)
  [`perflint`] Extend `PERF102` to comprehensions and generators (#23473)
  [ty] Fix GitHub-annotations mdtest output format (#23694)
  [ty] Reduce the number of potentially-flaky projects (#23698)
  [`pydocstyle`] Fix numpy section ordering (`D420`) (#23685)
  [ty] Move method-related types to a submodule (#23691)
  [ty] Avoid the mandatory "ecosystem-analyzer workflow run cancelled" notification every time you make a PR (#23695)
  [ty] Move `Type::subtyping_is_always_reflexive` to `types::relation` (#23692)
  Update conformance suite commit hash (#23693)
  [ty] Add mdtest suite for `typing.Concatenate` (#23554)
  [ty] filter out pre-loop bindings from loop headers (#23536)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

variable on right side of walrus operator is not narrowed

3 participants