Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.86.MISMATCH!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.035 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'raises': 0.07; 'python': 0.09; 'language': 0.14; 'subject:between': 0.16; 'subject:non': 0.16; 'thanks,': 0.18; 'seems': 0.23; 'received:209.85.160.46': 0.32; 'to:addr:python-list': 0.33; 'another': 0.33; 'received:google.com': 0.34; 'built-in': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'smaller': 0.36; 'does': 0.37; 'received:209': 0.37; 'object': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'subject:-': 0.40 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:subject:from:to:date:content-type:x-mailer :mime-version:content-transfer-encoding; bh=Mro/xihTPH0FKh2wAODwL23UMsouQBDMzIIhVVOVY6g=; b=fNzpZOEuCYt7R0yXxeAydnvf66F4JlaVkdX1UM3O+zXHQEfLkwywqD0p0Bafk4UH1W ++H2rlf5xGgK0TZGyBuwX1Sl13sYkcGLlo5ZnrVrzLDhZqHvdVT7eLdWxkq2/NFcK6AR hEBv1i5x2v9YiXp1af4r3OAgOP4DKfiMlS3vweHaAE31Oe3MHaebjT/cBOK3yYg1OtV2 1gkaAZWcunWVv6UETVc2gmtbc72KjpBeSigmgTQoNBv5jvxOCamSkcHLmn5g/rjUwTLv ENsObnNnwfeh/DPQVAXC+ZGx+twxaa+aLoIdlb79TSkKKLLXehrcta5/YbnksSVn3pXY hX/Q== X-Received: by 10.68.231.10 with SMTP id tc10mr192412918pbc.81.1357622885756; Mon, 07 Jan 2013 21:28:05 -0800 (PST) Subject: comparison between non-comparable objects From: Kelvin Li To: python-list@python.org Date: Mon, 07 Jan 2013 21:28:07 -0800 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.4.4-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1357622895 news.xs4all.nl 6913 [2001:888:2000:d::a6]:56512 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:36413 The language reference says: "...the choice whether one object [of built-in type] is considered smaller or larger than another one is made arbitrarily..." but that seems to be Python 2 behavior; Python 3 apparently raises a TypeError. Does the documentation need updating? Thanks, Kelvin