[issue7470] logger.StreamHandler emit encoding fallback is wrong

2010-06-12 Thread Éric Araujo
Éric Araujo added the comment: Only security fixes and documentation fixes are allowed to go into stable branches. -- nosy: +merwok ___ Python tracker ___ __

[issue7470] logger.StreamHandler emit encoding fallback is wrong

2010-06-12 Thread Christian Boos
Christian Boos added the comment: Hello Vinay, I recently installed Python 2.6.5, and I see this buglet is also present there. When I reported the issue, I said 2.6 worked and IIRC it must have been 2.6 or 2.6.1. I don't know if it's worth to backport the fix for 2.6.6, but just in case, I

[issue7470] logger.StreamHandler emit encoding fallback is wrong

2009-12-11 Thread Vinay Sajip
Vinay Sajip added the comment: Never mind my earlier comment, I looked at the change more carefully after a cup of coffee, and it now makes sense to me ;-) Fixed checked into trunk (r76754), thanks. -- resolution: -> fixed status: open -> closed __

[issue7470] logger.StreamHandler emit encoding fallback is wrong

2009-12-10 Thread Vinay Sajip
Vinay Sajip added the comment: Sorry Christian, your patch appears just to rename 'fs' to 'ufs' so I'm not sure if your patch is exactly what you intended. -- assignee: -> vinay.sajip ___ Python tracker __

[issue7470] logger.StreamHandler emit encoding fallback is wrong

2009-12-10 Thread Christian Boos
Christian Boos added the comment: PPS: Ok, links to the Mercurial repo /really/ don't work, and it was not the #l837 part ;-) -- ___ Python tracker ___ _

[issue7470] logger.StreamHandler emit encoding fallback is wrong

2009-12-10 Thread Christian Boos
Christian Boos added the comment: One way to solve the issue. PS: copy/pasting URLs to the Mercurial repo apparently doesn't work, for some reason (probably the line anchor); the URL I gave above was: http://code.python.org/hg/trunk/file/bd98b2c097fe/Lib/logging/__init__.py + #l837 -

[issue7470] logger.StreamHandler emit encoding fallback is wrong

2009-12-10 Thread Christian Boos
New submission from Christian Boos : For a stream with a "poor" encoding, such as sys.stderr on Windows where encoding is cp437, the encoding of an unicode message will fail (expected) and then a fallback encoding to UTF-8 will be done: (in http://code.python.org/hg/trunk/file/bd98b2c097fe/Li