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

Paul Foley see at below
Wed Aug 2 22:11:20 EDT 2000


On Wed, 02 Aug 2000 08:02:59 +0200, Christian Tanzer wrote:

> But Python had bitwise operators for years (probably from day 1) and
> they are used in tons of code. Contrary to naive expectations, it is
> impossible to use a simple sed script to rewrite the existing code to
> use named functions instead of bitwise operators.

No it isn't; sed is Turing-complete...but surely it'd be better to
write such a script in Python.

[Oh, OK, I missed the "simple" on first reading...]

-- 
When C++ is your hammer, everything looks like a thumb.
                                                   -- Steven M. Haflich
(setq reply-to
  (concatenate 'string "Paul Foley " "<mycroft" '(#\@) "actrix.gen.nz>"))



More information about the Python-list mailing list