3 ms·
> The only thing that works is actively breaking people's programs when they try to intermix bytes and strings. Um, this is exactly what I proposed above! "th
by int_19h 10y ago
> The only thing that works is actively breaking people's programs when they try to intermix bytes and strings.
Um, this is exactly what I proposed above!
"this should be a hard error, immediately reported as such, and not just a silent behavior change."
What I'm asking for is that csv writer raises an exception if it sees bytes anywhere by default. The problem is that right now, it doesn't! It just gives you "incorrect" output, that might go undetected for a long time.