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

Argument Clinic: overriding the return converter of __init__ functions generates incorrect code #116171

Closed
erlend-aasland opened this issue Mar 1, 2024 · 0 comments · Fixed by #116172
Assignees
Labels
topic-argument-clinic type-bug An unexpected behavior, bug, or error

Comments

@erlend-aasland
Copy link
Contributor

erlend-aasland commented Mar 1, 2024

Bug report

Instead of trying to fix this, let's just disallow this like we do for PyGetSet methods.

Linked PRs

@erlend-aasland erlend-aasland added type-bug An unexpected behavior, bug, or error topic-argument-clinic labels Mar 1, 2024
@erlend-aasland erlend-aasland self-assigned this Mar 1, 2024
erlend-aasland added a commit to erlend-aasland/cpython that referenced this issue Mar 1, 2024
woodruffw pushed a commit to woodruffw-forks/cpython that referenced this issue Mar 4, 2024
adorilson pushed a commit to adorilson/cpython that referenced this issue Mar 25, 2024
diegorusso pushed a commit to diegorusso/cpython that referenced this issue Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic-argument-clinic type-bug An unexpected behavior, bug, or error
Projects
None yet
1 participant