Skip to content

Conversation

@MichaReiser
Copy link
Member

@MichaReiser MichaReiser commented Oct 19, 2025

Summary

Add cycle handling to lazy_default.

Test Plan

Added regression test

@MichaReiser MichaReiser added bug Something isn't working ty Multi-file analysis & type inference labels Oct 19, 2025
@MichaReiser MichaReiser force-pushed the micha/add-cycle-handling-to-lazy-defualt branch from 77c70c0 to ef58a8e Compare October 19, 2025 08:54
@github-actions
Copy link
Contributor

github-actions bot commented Oct 19, 2025

Diagnostic diff on typing conformance tests

No changes detected when running ty on typing conformance tests ✅

@github-actions
Copy link
Contributor

github-actions bot commented Oct 19, 2025

mypy_primer results

No ecosystem changes detected ✅
No memory usage changes detected ✅

@github-actions
Copy link
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Formatter (stable)

✅ ecosystem check detected no format changes.

Formatter (preview)

✅ ecosystem check detected no format changes.

@@ -1,2 +1,2 @@
spark # too many iterations (in `exported_names` query), `should not be able to access instance member `spark` of type variable IndexOpsLike@astype in inferable position`
Copy link
Member

Choose a reason for hiding this comment

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

The second of the two panics mentioned here is presumably gone after Doug's recent work in #20677?

@MichaReiser MichaReiser force-pushed the micha/add-cycle-handling-to-lazy-defualt branch from ef58a8e to b2235db Compare October 23, 2025 06:46
```


### Cyclic defaults
Copy link
Member Author

@MichaReiser MichaReiser Oct 23, 2025

Choose a reason for hiding this comment

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

This is a bit too advanced Python typing for me 😅

I think it would be good to have some reveal_type or other assertion in this test but I need some help with what that assertion could be.

@MichaReiser MichaReiser marked this pull request as ready for review October 23, 2025 06:49
Copy link
Contributor

@sharkdp sharkdp left a comment

Choose a reason for hiding this comment

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

Thank you!

@MichaReiser MichaReiser force-pushed the micha/add-cycle-handling-to-lazy-defualt branch from 71093fa to 3a52106 Compare October 23, 2025 07:38
@MichaReiser MichaReiser force-pushed the micha/add-cycle-handling-to-lazy-defualt branch from 3a52106 to 365b12b Compare October 23, 2025 07:47
@MichaReiser MichaReiser merged commit e92fd51 into main Oct 23, 2025
40 checks passed
@MichaReiser MichaReiser deleted the micha/add-cycle-handling-to-lazy-defualt branch October 23, 2025 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants