[Python-Dev] Possible change to logging.handlers.SysLogHandler (original) (raw)
Vinay Sajip vinay_sajip at yahoo.co.uk
Wed Apr 11 15:16:09 CEST 2012
- Previous message: [Python-Dev] Possible change to logging.handlers.SysLogHandler
- Next message: [Python-Dev] PEP-419: Protecting cleanup statements from interruptions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Gregory P. Smith <greg krypto.org> writes:
Given the existing brokenness I personally think that removing the BOM insertion (because it is incorrect) in 2.7 and 3.2 is fine if you cannot find a way to make it correct in 2.7 and 3.2 without breaking existing APIs.
I have an idea for a change which won't require changing any public APIs; though it does change the behaviour so that BOM insertion doesn't happen any more, anyone who needs a BOM can have it by a simple update to their format string. The idea is outlined here:
http://bugs.python.org/issue14452#msg158030
Comments would be appreciated.
Regards,
Vinay Sajip
- Previous message: [Python-Dev] Possible change to logging.handlers.SysLogHandler
- Next message: [Python-Dev] PEP-419: Protecting cleanup statements from interruptions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]