On 6/20/07, Facundo Batista <facundo at taniquetil.com.ar> wrote: > Guido van Rossum wrote: > > > I've written up a comprehensive status report on Python 3000. Please read: > > > > http://www.artima.com/weblogs/viewpost.jsp?thread=208549 > > One doubt: In Miscellaneus you say: > > Ordering comparisons (<, <=, >, >=) will raise TypeError by default > instead of returning arbitrary results. Equality comparisons (==, !=) > will compare for object identity (is, is not) by default. > > I *guess* that you're talking about comparisons between different > datatypes... but you didn't explicit that in your blog. > > Am I right? No. The *default* comparison always raises an exception. Of course, most types have a comparison that does the right thing for objects of the same type -- but they still raise an exception when compared (for ordering) to objects of different types (except subtypes or related types). -- --Guido van Rossum (home page: http://www.python.org/~guido/)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4