Skip to content

Correct report_callback_exception type from attribute to method#15842

Draft
Jesse205 wants to merge 7 commits into
python:mainfrom
Jesse205:fix/report_callback_exception
Draft

Correct report_callback_exception type from attribute to method#15842
Jesse205 wants to merge 7 commits into
python:mainfrom
Jesse205:fix/report_callback_exception

Conversation

@Jesse205
Copy link
Copy Markdown

Fixes #15840

The update for #15841 is because its source branch is incorrect.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Copy Markdown
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

porcupine (https://github.com/Akuli/porcupine)
+ porcupine/_state.py:66: error: Cannot assign to a method  [method-assign]

@Jesse205 Jesse205 marked this pull request as draft May 28, 2026 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tk.report_callback_exception type annotation breaks subclass override compatibility

1 participant