[issue13356] test_logging warning on 2.7

2011-11-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8726ad774cf0 by Vinay Sajip in branch '2.7': Closes #13356. Thanks to Florent Xicluna for the patch. http://hg.python.org/cpython/rev/8726ad774cf0 -- nosy: +python-dev resolution: -> fixed stage: patch review -> committed/rejected status:

[issue13356] test_logging warning on 2.7

2011-11-06 Thread Florent Xicluna
Florent Xicluna added the comment: I suggest to use encoded string as keys in loggerDict. It should solve both issue #8201 and this one. Moreover, it seems in line with msg147191 from Martin on issue #13360. Patch attached. -- components: +Unicode dependencies: -UnicodeWarning raised

[issue13356] test_logging warning on 2.7

2011-11-06 Thread Vinay Sajip
Vinay Sajip added the comment: Thanks, Florent. This patch was by you in response to issue #8201 - do you have any suggestion as to the best way to resolve this? I tried changing the non-ASCII logger to '\xc3\xb4\xc3\xbc', which decodes cleanly to u'\xf4\xfc' (o-circumflex u-umlaut), but it a

[issue13356] test_logging warning on 2.7

2011-11-06 Thread Florent Xicluna
Florent Xicluna added the comment: This is the expression which raises the warning. >>> u'compiler.parser' in ['\xab\xd7\xbb', u'\u013f\xd6G'] __main__:1: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal False See also

[issue13356] test_logging warning on 2.7

2011-11-06 Thread Florent Xicluna
Changes by Florent Xicluna : -- dependencies: +UnicodeWarning raised on dict() and set() nosy: +flox ___ Python tracker ___ ___ Python

[issue13356] test_logging warning on 2.7

2011-11-06 Thread Ezio Melotti
New submission from Ezio Melotti : $ ./python -Wd -3 -m test.regrtest -v test_logging == CPython 2.7.2+ (2.7:39573be48b4a, Nov 6 2011, 17:13:44) [GCC 4.6.1] == Linux-3.0.0-12-generic-i686-with-debian-wheezy-sid little-endian == /home/wolf/dev/py/wide-2.7/build/test_python_6508 Testing with fl