logging.FileHandler diff Py2 v Py3
skip.montanaro at gmail.com
Tue Apr 3 17:07:29 EDT 2018
> >> I think the culprit is io.open() rather than the logging module. Why
Thanks, Peter. It never even occurred to me to look at the source code
around the call. I saw open() and thought "built-in open". I forgot that
the io package supplanted a bunch of lower level i/o.
I'll poke around a little and maybe open a bug report if I can't find any
explanation for the change in behavior.
More information about the Python-list