[issue5768] logging don't encode Unicode message correctly.

2009-04-16 Thread Vinay Sajip
Vinay Sajip added the comment: Fix checked into trunk and release26-maint. -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue5768] logging don't encode Unicode message correctly.

2009-04-16 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I think that in r69448, the test does not match the code: codecs.getwriter('cp1251') has no attribute 'encoding', and no function in test_logging ever pass a stream with an explicit encoding. Also, the test in emit() should be reversed, otherwise msg.enco

[issue5768] logging don't encode Unicode message correctly.

2009-04-15 Thread Naoki INADA
Changes by Naoki INADA : Added file: http://bugs.python.org/file13698/logging_init.diff ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue5768] logging don't encode Unicode message correctly.

2009-04-15 Thread Naoki INADA
Changes by Naoki INADA : Removed file: http://bugs.python.org/file13697/logging_init.diff ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue5768] logging don't encode Unicode message correctly.

2009-04-15 Thread Naoki INADA
New submission from Naoki INADA : >>> logging.error(u'あ') ERROR:root:縺・ >>> sys.stderr.encoding 'cp932' This bug is introduced by following commit. http://svn.python.org/view/python/branches/release26- maint/Lib/logging/__init__.py?r1=68830&r2=69448 -- components: Library (Lib) files: l