[Python-Dev] str.dedent (original) (raw)

Reinhold Birkenfeld reinhold-birkenfeld-nospam at wolke7.net
Thu Sep 15 07:44:10 CEST 2005


Okay. I consider it rejected.

Reinhold

Guido van Rossum wrote:

From the sound of it, it's probably not worth endowing every string object with this method and hardcoding its implementation forever in C code. There are so many corner cases and variations on the functionality of "dedenting" a block that it's better to keep it as Python source code. On 9/14/05, Reinhold Birkenfeld <reinhold-birkenfeld-nospam at wolke7.net> wrote: Hi,

some time ago, I proposed a string method "dedent" (which currently is in the textwrap module). The RFE is at http://python.org/sf/1237680. Any opinions? If I don't get positive comments, I'll reject it. Reinhold

-- Mail address is perfectly valid!



More information about the Python-Dev mailing list