[Python-Dev] Re: Where to put wrap_text()?

Guido van Rossum guido@python.org
Sun, 02 Jun 2002 09:22:53 -0400


> > Do you have a reference for this algorithm apart from GNU fmt's
> > source code?

Can we focus on getting the module/package structure and a basic
algorithm first?  It's fine to design the structure for easy
extensibility with other algorithms, but implementing Knuth's
algorithm seems hopelessly out of scope.  Even Emacs' fill-paragraph
is too fancy-schmancy for my taste (for inclusion as a Python standard
library).  Simply breaking lines at a certain limit is all that's
needed.

--Guido van Rossum (home page: http://www.python.org/~guido/)