osdir.com


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

What is your experience porting Python 2.7.x scripts to Python 3.x?


On 2019-01-22, Schachner, Joseph <Joseph.Schachner at Teledyne.com> wrote:

> For anyone who has moved a substantial bunch of Python 2 to Python
> 3, can you please reply with your experience?

If you used bytes (or raw binary strings) at all (e.g. for doing
things like network or serial protocols) you're in for a lot of pain.

Everything else is pretty minor.

-- 
Grant Edwards               grant.b.edwards        Yow! Are we live or on
                                  at               tape?
                              gmail.com