2017-12-06 5:07 GMT+01:00 INADA Naoki <songofacandy at gmail.com>:
> And opening binary file without "b" option is very common mistake of new
> developers. If default error handler is surrogateescape, they lose a chance
> to notice their bug.
To come back to your original point, I didn't know that it was a
common mistake to open binary files in text mode.
Honestly, I didn't try recently. How does Python behave when you do that?
Is it possible to write a full binary parser using the text mode? You
should quickly get issues pointing you to your mistake, no?
Victor