new bitwise module [was Re: Discussion: new operators ...]

Neil Hodgson neilh at scintilla.org
Tue Aug 1 20:32:52 EDT 2000


> Proposing to deprecate the shift and bitwise operators in favor of named
> functions has no chance without a PEP.  I counted three people in all with
> favorable reactions on c.l.py (Paul Foley surely was, as Alex detected,
> gently ribbing it by taking the idea to its logical conclusion and
> reinventing Lisp).  That's a start, but not much support yet.

   Its generally considered bad form for everyone to contribute "me too"s
but Tim hasn't seen enough support so:

   Me too - bitwise operations should be functions named with sensible
alphabetic names rather than cryptic "|", "&" and so on.

   But compatibility means we've already lost this one.

   Neil





More information about the Python-list mailing list