How to drop six support and go to Python 3 only?

Fabio Zadrozny fabiofz at gmail.com
Wed Sep 5 11:30:29 EDT 2018


My scenario is having an app which was on Py 2, ported to Python 2 and 3
(using six) and will become Python 3 only in a few months.

So, my question is: when Python 2 is no longer needed, is there some tool
which helps removing the six compatibility layer (as well as the if
six.PY2/six.PY3 checks) so that the codebase becomes pythonic again?

Thanks,

Fabio



More information about the Python-list mailing list