[Python-Dev] str.strip() enhancement
Jonny Reichwald
kalinda at acc.umu.se
Sun Sep 4 02:19:13 CEST 2005
Raymond Hettinger wrote:
> [Jonny Reichwald]
>> Would this be useful for anyone else besides me?
>
> Probably not.
ok
> Even if an example or two is found, it is worth complicating the API.
> Keep in mind the difficulties that plague str.split() -- that is what
> happens when a function grows beyond a single, clear, unified,
> cohesive
> concept.
I am not aware of these difficulties, any pointers?
From an API pow, I do not think it neccessarily complicates it, but
rather generalizes it in a way that may not be very usable :)
I can understand that it would probably not be worth the effort
though...
--
Jonny Reichwald
More information about the Python-Dev
mailing list