3 ms·
The point of a conversion tool isn't to fix anything. The point is preserving behavior, even if that behavior is buggy.
by im3w1l 7y ago
The point of a conversion tool isn't to fix anything. The point is preserving behavior, even if that behavior is buggy.
- joshuamorton 7y agoGPs point is that strings are handled differently in between versions. Essentially, Py3 introduced two types (text, bytes) where only one existed before (str). You can't preserve the behavior of the old type that magically coerced between them if the new apis expect different types.