Change by Ruairidh MacLeod :
--
nosy: +rkm
___
Python tracker
<https://bugs.python.org/issue40222>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Ruairidh MacLeod :
--
nosy: +rkm
___
Python tracker
<https://bugs.python.org/issue22393>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Ruairidh MacLeod :
--
nosy: +rkm
___
Python tracker
<https://bugs.python.org/issue44307>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Ruairidh MacLeod :
--
nosy: +rkm
___
Python tracker
<https://bugs.python.org/issue43782>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Ruairidh MacLeod :
--
nosy: +rkm
___
Python tracker
<https://bugs.python.org/issue41260>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Ruairidh MacLeod :
--
nosy: +rkm
___
Python tracker
<https://bugs.python.org/issue40805>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ruairidh MacLeod added the comment:
The original code for this was:
```
from typing import List
from unittest.mock import call
def f(n: List[call]): ...
```
Which produces "SyntaxError: Forward reference must be an expression -- got ''".
I think my only query is whether this beha
New submission from Ruairidh MacLeod :
When incorrectly defining a function with a typed List[T] argument where T is a
tuple instance, a TypeError is correctly raised:
t = (1,)
def f(a: List[t]): ...
# => TypeError: Parameters to generic types must be types. Got 1.
When t is an insta
Change by Ruairidh MacLeod :
--
nosy: +rkm
___
Python tracker
<https://bugs.python.org/issue37636>
___
___
Python-bugs-list mailing list
Unsubscribe: