[Python-Dev] textwrap.py

Greg Ward gward@python.net
Thu, 6 Jun 2002 16:49:01 -0400

On 06 June 2002, Aahz said:
> It should fix neither.  However, it should preserve sentence endings:

Actually, what it does fix is this:

  blah blah blah here's the end of sentence at the end of a line.
  And here's the next sentence.

Which, after whitespace-mangling, becomes

  ... end of a line. And here's ...

which is incorrect (sentences should be separated by two spaces in
fixed-width fonts).  The catch is that single-space-separated sentences
elsewhere in the text are also fixed, which *I* think is a good thing,
but should be optional.

Whatever -- minor detail.  I'll check it in first and then worry about
making more features optional.

Greg Ward - Unix geek                                   gward@python.net
Budget's in the red?  Let's tax religion!
    -- Dead Kennedys