Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: Booleans and comparison results

Thread Tools

Re: Booleans and comparison results

Posts: n/a
Roman Suzi wrote:
> Just a thought. Why cmp() returns -1,0,1 while comparison
> results are False and True? Isn't it logical step to add
> Less, Equal and More? [...]

Yeah. And while we're at it, we might add a module for time constants.

-- Gerhard

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
booleans, hash() and objects having the same value Ryszard Szopa Python 2 01-31-2008 02:26 AM
array of booleans Java 4 10-01-2005 05:29 PM
OLE JET and Booleans Dr. Know ASP General 4 01-07-2005 02:47 AM
Re: Booleans and comparison results Gerrit Holl Python 1 06-25-2003 03:19 AM
Booleans and comparison results Roman Suzi Python 0 06-24-2003 03:19 PM