Message334938
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 |
|
Date |
User |
Action |
Args |
2019-02-06 14:25:01 | ulope | set | recipients:
+ ulope, vinay.sajip, xtreak, josnyder |
2019-02-06 14:24:59 | ulope | set | messageid: <1549463099.64.0.87319346235.issue35046@roundup.psfhosted.org> |
2019-02-06 14:24:59 | ulope | link | issue35046 messages |
2019-02-06 14:24:59 | ulope | create | |
|