You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TypeError/SystemError for dataclasses that uses default_factory and is subclassed #1204
Activity
DanielNoord commentedon Jul 28, 2026
Submitted a fix in python/mypy#21785. Using that fix does seem to compile
isortcorrectly, or at least, it avoids the previous crash :)[mypyc] Fix `default_factory` for inherited dataclass (#21785)
[mypyc] Fix `default_factory` for inherited dataclass (#21785)
[mypyc] Fix `default_factory` for inherited dataclass (#21785)