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
Fix daemon crashes related to ParamSpec and TypeVarTuple (#13381)
* Fix daemon crashes related to ParamSpec and TypeVarTuple
Fix daemon crash when using fine-grained caching and ParamSpec, with
traceback like this (when using a compiled mypy):
```
Traceback (most recent call last):
File "mypy/dmypy_server.py", line 230, in serve
File "mypy/dmypy_server.py", line 273, in run_command
File "mypy/dmypy_server.py", line 372, in cmd_recheck
File "mypy/dmypy_server.py", line 529, in fine_grained_increment
File "mypy/server/update.py", line 245, in update
File "mypy/server/update.py", line 328, in update_one
File "mypy/server/update.py", line 387, in update_module
File "mypy/server/astdiff.py", line 158, in snapshot_symbol_table
File "mypy/server/astdiff.py", line 236, in snapshot_type
File "mypy/types.py", line 1173, in accept
File "mypy/server/astdiff.py", line 300, in visit_instance
File "mypy/nodes.py", line 2764, in fullname
AttributeError: attribute 'TypeInfo' of '_fullname' undefined
```
Also fix TypeVarTuple crashes when using daemon.
Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com>
0 commit comments