Open
Description
Since python2 is now no longer supported, I think it might be a good time to remove special casing of these libraries.
Why?
- None of them are required for python3+ code
- All their features are now (long) supported by python3+
- Their support is clearly a hack
- Code to support them is quite complex:
Lines 1971 to 2018 in 840a310
- There are multiple places where
six.
/ etc special cases are used:mypy/stubgen.py
,mypy/semanal.py
,mypyc/irbuild/for_helpers.py
I don't see much benefit in keeping them.
Related #12237