Issue #1680159: unicode coercion during an 'in' operation was masking
commitbe0d14b1b4469380ecbd06f9474d3f856cf45c5d
authorr.david.murray <r.david.murray@6015fed2-1504-0410-9fe1-9d1591cc4771>
Mon, 14 Dec 2009 16:28:26 +0000 (14 16:28 +0000)
committerr.david.murray <r.david.murray@6015fed2-1504-0410-9fe1-9d1591cc4771>
Mon, 14 Dec 2009 16:28:26 +0000 (14 16:28 +0000)
tree7d46f82454bf233f4e81613cc71eda356b78ca4b
parent07af000e867f0b9fbbf4cc357804b0fdf94be2e6
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.

git-svn-id: http://svn.python.org/projects/python/trunk@76831 6015fed2-1504-0410-9fe1-9d1591cc4771
Lib/test/test_unicode.py
Misc/NEWS
Objects/unicodeobject.c