Github user sctincman commented on the issue: https://github.com/apache/zeppelin/pull/2555 As it turns out, we do need to inherit from `object` in order to keep the class a new-style python class in python 2. I had mistakenly thought `StringIO.StringIO` was a new-style class, but turns out it is not. There was another python2 problem I came across (`StringIO.StringIO` is missing the `encoding` attribute, which was needed). I had attempted to have `Logger` extend `TextIOWrapper`, but this caused a lot of problems with python2's byte-based `str` class, and extending `BytesIO` caused problems in python3 due to their unicode-based strings.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---