Before I upgraded to python 3.6 from python 3.5 this worked:

```
import typing
issubclass(list, typing.List[int])  # returns True
isinstance([1, 2 ,3], typing.List[int]) # returns True

```

now in python 3.6 both of these raise the following exception:

```
TypeError: Parameterized generics cannot be used with class or instance checks

```

Is this new intended behavior or a bug? If it is intended how can I perform the checks the code above is doing in python 3.6?