29 Jan
2020
29 Jan
'20
9:25 p.m.
The PEP says that list == list[str]. This currently returns false in my branch (apparently this doesn't use __getattribute__ to get the __eq__ operation), and I think I like that better. It also matches the behavior of typing.List.
I aggree, I also like this better. In a lot of my code I find I need to compare the equality of different parametrized types and it would be too bad to have to hand code this logic.