This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ulope
Recipients josnyder, ulope, vinay.sajip, xtreak
Date 2019-02-06.14:24:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1549463099.64.0.87319346235.issue35046@roundup.psfhosted.org>
In-reply-to
Content
This change breaks (probably unsupported) uses of the logging module (esp. in combination with structlog) where non-string objects are passed through the .format() and .emit() calls.

Previously it was possible to set the terminator attribute to None (and then handling that case in a custom 'stream' implementation), which now breaks with a TypeError due to the concatenation.

In case anyone else runs into this (however unlikely that is). A workaround is to set the .terminator to something like this:

    class ConcatenableNothing:
        def __radd__(self, other):
            return other
History
Date User Action Args
2019-02-06 14:25:01ulopesetrecipients: + ulope, vinay.sajip, xtreak, josnyder
2019-02-06 14:24:59ulopesetmessageid: <1549463099.64.0.87319346235.issue35046@roundup.psfhosted.org>
2019-02-06 14:24:59ulopelinkissue35046 messages
2019-02-06 14:24:59ulopecreate