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
I don't know what the right solution here is -- can we just replace the x: List[_T] with x: List[_T_co] and make it covariant? Or doe we need another typevar _U = TypeVar("U", bound=_T) or something?
Activity
JelleZijlstra commentedon Aug 19, 2018
This is close to python/mypy#5492. I found a fix in #2404.
fix list concatenation (#2404)
fix list concatenation (python#2404)
wy193777 commentedon May 28, 2019
#2404 has been reverted. Do we have a solution for this issue?
tamuhey commentedon Apr 20, 2021
+1 from microsoft/pyright#1777