Message115402
Attaching UTFFixedSysLogHandler, which is a sub-class of logging.handlers.SysLogHandler. The sub-class re-implements the emit() code to put the BOM in the right place (a re-implementation of r84218 and r84222). Can be used with existing Python codebases as a bug-fixed drop-in-replacement for logging.handlers.SysLogHandler without having to edit the core python module. Just use UTFFixedSysLogHandler instead of logging.handlers.SysLogHandler.
Online necessary until such time as the bug-fixes are pulled into stable versions of python. |
|
Date |
User |
Action |
Args |
2010-09-02 20:19:42 | Remi.Broemeling | set | recipients:
+ Remi.Broemeling, georg.brandl, vinay.sajip, vstinner, rszefler |
2010-09-02 20:19:41 | Remi.Broemeling | set | messageid: <1283458781.99.0.358053128744.issue7077@psf.upfronthosting.co.za> |
2010-09-02 20:19:40 | Remi.Broemeling | link | issue7077 messages |
2010-09-02 20:19:39 | Remi.Broemeling | create | |
|