[issue2342] Comparing between disparate types should raise a Py3K warning

2008-03-18 Thread Steven Bethard

Steven Bethard <[EMAIL PROTECTED]> added the comment:

Resolved in revision 61529.

--
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2342] Comparing between disparate types should raise a Py3K warning

2008-03-17 Thread Steven Bethard

Steven Bethard <[EMAIL PROTECTED]> added the comment:

The code is only invoked when NotImplemented is produced. Take a look at
the attached patch to try_3way_to_rich_compare and see if you think it's
going to be too expensive.

--
keywords: +patch
Added file: http://bugs.python.org/file9712/object_compare.patch

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2342] Comparing between disparate types should raise a Py3K warning

2008-03-17 Thread Raymond Hettinger

Raymond Hettinger <[EMAIL PROTECTED]> added the comment:

Can the be done without making comparisons more expensive across the
board.  It will be bad news for Py2.6 if every single comparison gets
slowed down.

--
nosy: +rhettinger

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2342] Comparing between disparate types should raise a Py3K warning

2008-03-17 Thread Brett Cannon

Changes by Brett Cannon <[EMAIL PROTECTED]>:


--
priority: immediate -> urgent

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2342] Comparing between disparate types should raise a Py3K warning

2008-03-17 Thread Steven Bethard

Steven Bethard <[EMAIL PROTECTED]> added the comment:

I'll start looking at this.

--
nosy: +bethard

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2342] Comparing between disparate types should raise a Py3K warning

2008-03-17 Thread Brett Cannon

New submission from Brett Cannon <[EMAIL PROTECTED]>:

When you compare disparate types through something other than == and !=
a Py3K warning should be raised.

--
components: Interpreter Core
keywords: 26backport
messages: 63702
nosy: brett.cannon
priority: immediate
severity: normal
status: open
title: Comparing between disparate types should raise a Py3K warning
versions: Python 2.6

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com