Open
Description
Environment
- Pythonnet version: 3.0.1
- Python version: any
- Operating System: any
- .NET Runtime: any
Details
import clr
from System.Collections.Generic import List, IList, IEnumerable
l = List[str]()
IList[int](l)
# Fails with
# -> TypeError: object does not implement IList`1
# Should be
# -> TypeError: object of type List<String> does not implement IList<Int32>
IList[int](IEnumerable[str](l))
# Fails with
# -> SystemError: error return without exception set