Some Python 2.1 ideas

Jay O'Connor joconnor at
Sun Dec 24 00:53:30 CET 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

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

More information about the Python-list mailing list