bytes vs. characters
bytes vs. characters
Posted Apr 15, 2015 18:35 UTC (Wed) by HelloWorld (guest, #56129)In reply to: bytes vs. characters by david.a.wheeler
Parent article: Report from the Python Language Summit
> But the world isn't perfect. In particular, data sources routinely lie about their encoding, and Python 3 interferes with handling the real world instead of helping with it.
The world is a messy place because we make it one. It's the idiotic “be liberal in what you accept” doctrine that led us here, and the only way out is to not create more crap that tries to cope with bad input in “helpful” ways rather than simply rejecting bad input.
The world is a messy place because we make it one. It's the idiotic “be liberal in what you accept” doctrine that led us here, and the only way out is to not create more crap that tries to cope with bad input in “helpful” ways rather than simply rejecting bad input.
