SIGN IN SIGN UP

Fix crashes on variadic unpacking in synthetic types (#21555)

Fixes https://github.com/python/mypy/issues/21237 (and similar crashes).

The problem is that we cannot do some of the type argument normalization
early in `typeanal.py` (since that will cause crashes on some
pathological recursive aliases), so we do it in `semanal_typeargs.py`
later. However, the mixed traverser visitor is somewhat incomplete (most
notably w.r.t. generated methods). I add (most of) the missing parts.
I
Ivan Levkivskyi committed
49ccd26eb29e8937b70e4991cd2fe41835dc2ad7
Parent: 94838b0
Committed by GitHub <noreply@github.com> on 5/29/2026, 6:17:13 PM