<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/textwrap.py, branch v2.3.6</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/textwrap.py?h=v2.3.6</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/textwrap.py?h=v2.3.6'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2004-06-03T01:53:13Z</updated>
<entry>
<title>SF #965425: fix wordsep_re so hyphenated words are handled correctly</title>
<updated>2004-06-03T01:53:13Z</updated>
<author>
<name>Greg Ward</name>
<email>gward@python.net</email>
</author>
<published>2004-06-03T01:53:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5bb405002d9c88be8d2110b2fda5b23bad7dc3b8'/>
<id>urn:sha1:5bb405002d9c88be8d2110b2fda5b23bad7dc3b8</id>
<content type='text'>
when preceded by any punctuation, not just a sequence of more hyphens.
(That was a special case so Optik and Docutils could wrap long options
like --foo-bar correctly; this change generalizes the special-case.)

Comment fix.
</content>
</entry>
<entry>
<title>SF #847346: remove misguided optimization for short input from</title>
<updated>2004-05-13T01:48:15Z</updated>
<author>
<name>Greg Ward</name>
<email>gward@python.net</email>
</author>
<published>2004-05-13T01:48:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=27262316fbd97d83910fbc3c73851fd94f29be55'/>
<id>urn:sha1:27262316fbd97d83910fbc3c73851fd94f29be55</id>
<content type='text'>
wrap() method.  Premature optimization is indeed the root of all evil.
Whitespace fix.
</content>
</entry>
<entry>
<title>SF bug 797650: Infinite loop in textwrap.py</title>
<updated>2003-08-30T14:52:35Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-08-30T14:52:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=48ced318cd01e332c1bde56b3575d531d61046cc'/>
<id>urn:sha1:48ced318cd01e332c1bde56b3575d531d61046cc</id>
<content type='text'>
When the indents were set to longer than the width and long word breaking
was enabled, an infinite loop would result because the inner loop did not
assure that at least one character was stripped off on every pass.
</content>
</entry>
<entry>
<title>Update copyright dates.</title>
<updated>2003-06-15T15:37:18Z</updated>
<author>
<name>Greg Ward</name>
<email>gward@python.net</email>
</author>
<published>2003-06-15T15:37:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=523008c6cf569983f3f0fb3cbf7456ab6b8e209d'/>
<id>urn:sha1:523008c6cf569983f3f0fb3cbf7456ab6b8e209d</id>
<content type='text'>
Define True and False (if necessary) so this module can be copied as-is
to other projects (eg. Optik, Docutils) that don't depend on Python 2.3.
</content>
</entry>
<entry>
<title>Remove comment about Unicode: SF #622831 was fixed loooong ago!</title>
<updated>2003-06-14T00:26:39Z</updated>
<author>
<name>Greg Ward</name>
<email>gward@python.net</email>
</author>
<published>2003-06-14T00:26:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=52ae0a596ff1879d00a2c441b7e042bee5be97d2'/>
<id>urn:sha1:52ae0a596ff1879d00a2c441b7e042bee5be97d2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Whitespace normalization.</title>
<updated>2003-05-12T20:19:37Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2003-05-12T20:19:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c2659cff5d88b81b6d9cc739ecc457a9ed357c58'/>
<id>urn:sha1:c2659cff5d88b81b6d9cc739ecc457a9ed357c58</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Clarify the dedent() example a bit by indenting the input lines unevenly.</title>
<updated>2003-05-08T02:12:35Z</updated>
<author>
<name>Greg Ward</name>
<email>gward@python.net</email>
</author>
<published>2003-05-08T02:12:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=86e1790cad8bb85faad5e91e1a46dc7c6373d20a'/>
<id>urn:sha1:86e1790cad8bb85faad5e91e1a46dc7c6373d20a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Minor clarification of dedent().</title>
<updated>2003-05-08T02:02:50Z</updated>
<author>
<name>Greg Ward</name>
<email>gward@python.net</email>
</author>
<published>2003-05-08T02:02:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2557100b9ef3b75d05fd85534b4d75792fd68ab3'/>
<id>urn:sha1:2557100b9ef3b75d05fd85534b4d75792fd68ab3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SF patch #598163 (Ville Vainio, vvainio@users.sourceforge.net):</title>
<updated>2003-05-08T01:58:05Z</updated>
<author>
<name>Greg Ward</name>
<email>gward@python.net</email>
</author>
<published>2003-05-08T01:58:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=478cd48dee2e40fe009d07c73360c9abbed2ffe4'/>
<id>urn:sha1:478cd48dee2e40fe009d07c73360c9abbed2ffe4</id>
<content type='text'>
add dedent() function, to remove indentation from multiline strings
(eg. triple-quoted strings).  Differs from inspect.getdoc() by not
special-casing the first line (often a sensible approach for
non-docstring multiline strings).  This should make this function more
general (symmetric 'indent' also possible), and more fitting for the
textwrap module.
</content>
</entry>
<entry>
<title>SF #596434: tweak wordsep_re so the definition of an em-dash is</title>
<updated>2003-05-07T01:20:58Z</updated>
<author>
<name>Greg Ward</name>
<email>gward@python.net</email>
</author>
<published>2003-05-07T01:20:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a409f7c491647fe0c256c944d6fe4e9593d15760'/>
<id>urn:sha1:a409f7c491647fe0c256c944d6fe4e9593d15760</id>
<content type='text'>
stricter: specifically, "--" must be preceded by a limited set of
characters, not by any non-whitespace character.
</content>
</entry>
</feed>
