[Patches] string.translate behaviour
Peter Schneider-Kamp
peter@schneider-kamp.de
Sun, 28 May 2000 16:20:16 +0200
Moshe Zadka wrote:
>
> On Sun, 28 May 2000, Peter Schneider-Kamp wrote:
>
> > AMK says: I later proposed a solution that would let us keep
> > string.translate, and would behave naturally, yet doesn't seem likely to
> > break any code. string.translate would have a signature (fromchars,
>
> It looks way, way too DWIM for my tastes. Wouldn't it be better to have a function with a brand new name which works correctly without guessing?
I guess that would indeed be better. I just took up the bit from the
to-do list because I felt it was something worth to be solved in
one or the other way.
If my patch triggers another, better solution, I am just as
happy. How do you think it should be implemented?
Using string.trans as proposed by Guido?
waiting-for-suggestions-ly y'rs
Peter
--
Peter Schneider-Kamp ++47-7388-7331
Herman Krags veg 51-11 mailto:peter@schneider-kamp.de
N-7050 Trondheim http://schneider-kamp.de