[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Saying bye bye to Python 2

> As many know, python 2 was retired. ?
> This means imminent migration to 3 will be a must ?

Not if you don't change anything (update software or hardware). If it ain't
broke, there's no need to fix it. OTOH, if your software, Python itself, or
your operating system have security or other bugs, you may well have to
update something. Even so, that may well not force a switch to Python 3.

> I thought that upgrading is not that simple.

That depends. In my experience, str/bytes were the only frustrating bits.
Other than that, the 2to3 tool does a pretty good job. Also, assuming you
have a decent suite of unit tests, porting from 2 to 3 will be much more