]> granicus.if.org Git - python/commit
Issue #1680159: unicode coercion during an 'in' operation was masking
authorR. David Murray <rdmurray@bitdance.com>
Mon, 14 Dec 2009 16:28:26 +0000 (16:28 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Mon, 14 Dec 2009 16:28:26 +0000 (16:28 +0000)
commit0a0a1a842c02c87fcb052dec226f591cfe6f988f
tree9b656f294913ab834fed62433fbc0b4dadcb42c7
parent96228739c5a66cb7c5ab82e1e1d179b642e405cb
Issue #1680159: unicode coercion during an 'in' operation was masking
any errors that might occur during coercion of the left operand and
turning them into a TypeError with a message text that was confusing in
the given context.  This patch lets any errors through, as was already
done during coercion of the right hand side.
Lib/test/test_unicode.py
Misc/NEWS
Objects/unicodeobject.c