4 ms·
Generally projects that suffer from the str/bytes/unicode mess is the hardest to port in my experience as 2to3 can't really help. Also relative/absolute import
by tempay 10y ago
Generally projects that suffer from the str/bytes/unicode mess is the hardest to port in my experience as 2to3 can't really help.
Also relative/absolute imports can cause some confusing bugs.
- xapata 10y agoThat's because the programmer needs to make the choice of whether the data is text or just bytes. I suppose you could write a tool to infer that choice, but it wouldn't be perfectly accurate.
- tyingq 10y agoAnd see if that choice lines up with the v3 compatible version of any libraries they are using. Ones that touch the data anyway.