[issue3772] logging module fails with non-ascii data

2008-09-04 Thread Vinay Sajip
Vinay Sajip <[EMAIL PROTECTED]> added the comment: Changes checked into trunk. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3772] logging module fails with non-ascii data

2008-09-03 Thread Mark Hammond
Changes by Mark Hammond <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file11370/logging_encoding.patch ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3772] logging module fails with non-ascii data

2008-09-03 Thread Mark Hammond
New submission from Mark Hammond <[EMAIL PROTECTED]>: It appears r66103 introduced a regression - file objects are treated as having an encoding, so non-ascii data fails. It was further complicated by the fact that file objects in 2.6 have an 'encoding' attribute, but by default it is None - so