Hi,

On Thu, Aug 10, 2006 at 02:36:16PM -0700, Guido van Rossum wrote:
> > On Thu, Aug 10, 2006 at 09:11:42PM +0200, "Martin v. L?wis" wrote:
> > > I'm in favour of having this __eq__ just return False. I don't think
> > > the warning is necessary, (...)
> >
> > +1
> 
> Can you explain why you believe that no warning is necessary?

Ah... mostly out of ignorance, I fear.  I did not realize there were
strange cases like u"\xff" == "\xff".  I will leave this to more
unicode-minded people to decide, but I'm still definitely of the idea
that the __eq__ should not raise an exception.


A bientot,

Armin
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to