A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-June/025201.html below:

[Python-Dev] textwrap.py

[Python-Dev] textwrap.pyGreg Ward gward@python.net
Fri, 7 Jun 2002 17:33:29 -0400
On 07 June 2002, Guido van Rossum said:
> True, but then there needs to be a way to enable/disable it, since
> even if you never use two spaces after a period, the rule can still
> generate them for you in the output: when an input sentence ends at
> the end of a line but the output sentence doesn't, the rule will
> translate the newline into two spaces instead of one.
> 
> I vote to have it off by default.

Sounds about right to me.  Reading this thread has revealed that 1) I
was correct to add sentence-ending-detection code, 2) I missed a few
subtle details (eg. my code will change "Dr. Frankenstein" to
"Dr.  Frankenstein" -- d'ohh!), and 3) the programmer must be
able to select whether she wants to use it.

        Greg
-- 
Greg Ward - Unix bigot                                  gward@python.net
http://starship.python.net/~gward/
A day for firm decisions!!!!!  Or is it?




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4