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

[red-knot] Never is callable and iterable. Arbitrary attributes can be accessed. #16533

Merged
merged 2 commits into from
Mar 6, 2025

Conversation

sharkdp
Copy link
Contributor

@sharkdp sharkdp commented Mar 6, 2025

Summary

  • Never is callable
  • Never is iterable
  • Arbitrary attributes can be accessed on Never

Split out from #16416 that is going to be required.

Test Plan

Tests for all properties above.

@sharkdp sharkdp added the red-knot Multi-file analysis & type inference label Mar 6, 2025
@sharkdp sharkdp enabled auto-merge (squash) March 6, 2025 15:55
@sharkdp sharkdp merged commit 0a627ef into main Mar 6, 2025
20 checks passed
@sharkdp sharkdp deleted the david/never-is-callable branch March 6, 2025 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
red-knot Multi-file analysis & type inference
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants