<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/distutils/text_file.py, branch 2.4</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/distutils/text_file.py?h=2.4</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/distutils/text_file.py?h=2.4'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2002-11-14T02:25:42Z</updated>
<entry>
<title>Remove 'created by' lines; people can use CVS for this, and the information is often out of date</title>
<updated>2002-11-14T02:25:42Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2002-11-14T02:25:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a6483d2e9a9d9a69e9823217bf6b6334bb0f0066'/>
<id>urn:sha1:a6483d2e9a9d9a69e9823217bf6b6334bb0f0066</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Whitespace normalization.</title>
<updated>2001-12-06T20:51:35Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2001-12-06T20:51:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b94b849d65af71b4b432a74fdaef8ccd88209cc0'/>
<id>urn:sha1:b94b849d65af71b4b432a74fdaef8ccd88209cc0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Changed so lines that are all comment (or just whitespace + comment)</title>
<updated>2000-09-16T18:33:36Z</updated>
<author>
<name>Greg Ward</name>
<email>gward@python.net</email>
</author>
<published>2000-09-16T18:33:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=acff0b3f3b97584ab9e2da923eb0041f6cc99ed3'/>
<id>urn:sha1:acff0b3f3b97584ab9e2da923eb0041f6cc99ed3</id>
<content type='text'>
are completely skipped, rather than being treated as blank lines
(and then subject to the 'skip_blanks' flag).  This allows us
to process old-style Setup files, which rely on
  hello \\
  # boo!
  there
coming out as "hello there".
</content>
</entry>
<entry>
<title>Andrew Kuchling:</title>
<updated>2000-09-16T18:09:22Z</updated>
<author>
<name>Greg Ward</name>
<email>gward@python.net</email>
</author>
<published>2000-09-16T18:09:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3d05c1600336ad3f09b28cbedc7b31c17dcf51f0'/>
<id>urn:sha1:3d05c1600336ad3f09b28cbedc7b31c17dcf51f0</id>
<content type='text'>
Fixed precendence bug that meant setting skip_blanks to false didn't work
under some circumstances.
</content>
</entry>
<entry>
<title>[change from 2000/08/11, propagating now to distutils copy]</title>
<updated>2000-09-16T18:06:31Z</updated>
<author>
<name>Greg Ward</name>
<email>gward@python.net</email>
</author>
<published>2000-09-16T18:06:31Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f11296bdea61a526713027b6337977941aa48fa7'/>
<id>urn:sha1:f11296bdea61a526713027b6337977941aa48fa7</id>
<content type='text'>
Factored the guts of 'warn()' out to 'gen_error()', and added the
'error()' method (trivial thanks to the refactoring).
</content>
</entry>
<entry>
<title>[change from 2000/04/17, propagating now to distutils copy]</title>
<updated>2000-09-16T18:04:55Z</updated>
<author>
<name>Greg Ward</name>
<email>gward@python.net</email>
</author>
<published>2000-09-16T18:04:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=60cd2864fe1e473f0bfc46b439b33b7864e40f0f'/>
<id>urn:sha1:60cd2864fe1e473f0bfc46b439b33b7864e40f0f</id>
<content type='text'>
Dropped the 'collapse_ws' option and replaced it with 'collapse_join' --
it's *much* faster (no 're.sub()') and this is the reason I really added
'collapse_ws', ie. to remove leading whitespace from a line being joined
to the previous line.
</content>
</entry>
<entry>
<title>Added all documentation.</title>
<updated>1999-09-29T13:03:32Z</updated>
<author>
<name>Greg Ward</name>
<email>gward@python.net</email>
</author>
<published>1999-09-29T13:03:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=274ad9dc81c21708696f617a0df80ad89b7efba7'/>
<id>urn:sha1:274ad9dc81c21708696f617a0df80ad89b7efba7</id>
<content type='text'>
Slightly improved the code for dealing with newline on a comment line,
  and for stripping whitespace.
</content>
</entry>
<entry>
<title>Allow comment characters (#) to be escaped:</title>
<updated>1999-08-10T20:09:38Z</updated>
<author>
<name>Greg Ward</name>
<email>gward@python.net</email>
</author>
<published>1999-08-10T20:09:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=abc2f960d4f38832436db1449bc64803380d55bf'/>
<id>urn:sha1:abc2f960d4f38832436db1449bc64803380d55bf</id>
<content type='text'>
  - did away with 'comment_re' option -- it's just not that simple anymore
  - heavily revised the main logic in 'readline()' to accomodate this
Beefed up 'warn()': 'line' can be list or tuple, and 'msg' is
  automatically converted to a string.
</content>
</entry>
<entry>
<title>'warn()' method now takes an optional line number.</title>
<updated>1999-04-15T17:50:19Z</updated>
<author>
<name>Greg Ward</name>
<email>gward@python.net</email>
</author>
<published>1999-04-15T17:50:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4e5a7c70563eb123e68a29337ef00808f828f1fd'/>
<id>urn:sha1:4e5a7c70563eb123e68a29337ef00808f828f1fd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replaced the last attempt at an "unreadline" with one that actually</title>
<updated>1999-03-29T18:01:49Z</updated>
<author>
<name>Greg Ward</name>
<email>gward@python.net</email>
</author>
<published>1999-03-29T18:01:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=91c488c1fc43024592438b0671c5a7e5b16abe07'/>
<id>urn:sha1:91c488c1fc43024592438b0671c5a7e5b16abe07</id>
<content type='text'>
works on non-seekable file-like objects, such as URLs.  (Oops.)
</content>
</entry>
</feed>
