Some set operators

Giovanni Bajo noway at
Sun Oct 16 02:00:08 CEST 2005

Alex Martelli <aleax at> 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