Some Python 2.1 ideas

Jay O'Connor joconnor at cybermesa.com
Sat Dec 23 18:53:30 EST 2000


>It's my guess that one reason Python
>doesn't support this is to make "=" illegal inside expressions, thus
>avoiding the "=" vs. "==" errors common in C. A response to that objection
>is to use a different token for embedded assignment 

Another response to that objection would be that languages that support
a proper Boolean type do not exhibit errors based on "=" versus "=="


-- 
Jay O'Connor
joconnor at cybermesa.com
http://www.cybermesa.com/~joconnor

"God himself plays the bass strings first when He tunes the soul"




More information about the Python-list mailing list