running python 2 vs 3

Marko Rauhamaa marko at pacujo.net
Thu Mar 20 16:42:41 EDT 2014


Ned Batchelder <ned at nedbatchelder.com>:

> Plenty of people have adopted a dual-support strategy, with one code
> base that supports both Python 2 and Python 3. The six module can help
> a great deal with this.

I wonder how easy the resulting code is to the eyes and how easy it is
for the casual maintainer to accidentally break the delicate balance. In
a word, I wouldn't go there. Stay with Python2 as long as you must and
then, migrate and leave it behind.


Marko



More information about the Python-list mailing list