Skip to content

Support several more constructs in stubgen's AliasPrinter #18888

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

Merged
merged 3 commits into from
May 19, 2025

Conversation

sterliakov
Copy link
Collaborator

Fixes #18886. Added implementations for UnaryExpr, SetExpr and SliceExpr, and also fallback to _Incomplete for several other constructs that can sensibly appear in a dataclass field definition.

@sterliakov sterliakov requested a review from cdce8p April 5, 2025 18:55
@KapJI
Copy link
Contributor

KapJI commented Apr 9, 2025

@cdce8p Can you please take a look?

@KapJI
Copy link
Contributor

KapJI commented May 1, 2025

Can we get this merged?

Copy link
Member

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

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

Thanks! I will keep this open for a bit, so other can also comment. Ping me in a couple of days.

@sterliakov
Copy link
Collaborator Author

@sobolevn ping as you asked:)

@sobolevn sobolevn merged commit 93ff49d into python:master May 19, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stubgen crashes on dataclass field
3 participants