On Sat, Mar 1, 2014 at 10:28 PM, Marko Rauhamaa <ma...@pacujo.net> wrote:
> Ben Finney <ben+pyt...@benfinney.id.au>:
>
>> Use ‘==’, since that's all that matters for getting a value that will
>> work fine.
>
> You are telling me to use '==' if I choose string objects and 'is' if I
> choose some other objects.
>
> I prefer a solution that works regardless of what objects I choose for
> identifiers.
>
> There really is no taboo against string object identity if you know what
> you are doing.

And, as proven here in this thread, you do not know what you are doing.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to