On Wed, Jan 13, 2016 at 7:38 PM, Gregory Ewing <greg.ew...@canterbury.ac.nz> wrote: > Steven D'Aprano wrote: >> >> Quote: >> >> if six.PY2: >> # Python 2 code >> elif six.PY3: >> # Python 3 code >> >> In this case, no code will get executed on Python 4 at all! > > > Which is good, because if no code is executed, it can't exhibit > any bugs. > > Everyone should write their code this way, and then Python 4 > will make *all* bugs in *all* programs disappear! >
And if that is not enough, imagine how faster all tasks will finish. -- Bernardo Sulzbach -- https://mail.python.org/mailman/listinfo/python-list