Some set operators

Giovanni Bajo noway at sorry.com
Sat Oct 15 20:00:08 EDT 2005


Alex Martelli <aleax at mail.comcast.net> wrote:

> I still vaguely hope that in 3.0, where backwards incompatibilities
> can be introduced, Python may shed some rarely used operators such as
> these (for all types, of course).


I hope there is no serious plan to drop them. There is nothing wrong in having
such operators, and I wouldn't flag bit operations as "rarely used". They are
very common when calling C-based API and other stuff. I know I use them very
often. They have a clear and well-understood meaning, as they appear identical
in other languages, including the widely-spread C and C++.

Giovanni Bajo





More information about the Python-list mailing list