<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/codecs.py, branch 2.4</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/codecs.py?h=2.4</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/codecs.py?h=2.4'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-03-23T19:07:46Z</updated>
<entry>
<title>Mechanical whitespace normalization.</title>
<updated>2006-03-23T19:07:46Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2006-03-23T19:07:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a6c0c202f55e25f03d9427cab229a196f92715a6'/>
<id>urn:sha1:a6c0c202f55e25f03d9427cab229a196f92715a6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Backport revision 42872:</title>
<updated>2006-03-06T22:44:03Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2006-03-06T22:44:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a4b4dc328f0769f90c3ebb743280b48d4eae7b7c'/>
<id>urn:sha1:a4b4dc328f0769f90c3ebb743280b48d4eae7b7c</id>
<content type='text'>
If size is specified, try to read at least size characters.
This is a alternative version of patch #1379332.
</content>
</entry>
<entry>
<title>Patch #1268314: Cache lines in StreamReader.readlines for performance.</title>
<updated>2005-09-18T08:45:35Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2005-09-18T08:45:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=91926ad477ee8ddf57020f181a2aa72b7de8cb49'/>
<id>urn:sha1:91926ad477ee8ddf57020f181a2aa72b7de8cb49</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Backport checkin:</title>
<updated>2005-09-01T12:03:14Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2005-09-01T12:03:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=81e2d6b60a3a767eedb2f7882ffea8bdfb01f73f'/>
<id>urn:sha1:81e2d6b60a3a767eedb2f7882ffea8bdfb01f73f</id>
<content type='text'>
SF bug #1235646: codecs.StreamRecoder.next() now reencodes the data it reads
from the input stream, so that the output is a byte string in the correct
encoding instead of a unicode string.
</content>
</entry>
<entry>
<title>Return complete lines from codec stream readers</title>
<updated>2005-08-24T07:38:36Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2005-08-24T07:38:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=674c1882fe59c5d8d8ee33d404dcdaa7d848cbe0'/>
<id>urn:sha1:674c1882fe59c5d8d8ee33d404dcdaa7d848cbe0</id>
<content type='text'>
even if there is an exception in later lines, resulting in
correct line numbers for decoding errors in source code. Fixes #1178484.
</content>
</entry>
<entry>
<title>Backport checkin:</title>
<updated>2005-07-20T22:52:09Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2005-07-20T22:52:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ba72589680bfc59bc699ca0051be617bb82758b8'/>
<id>urn:sha1:ba72589680bfc59bc699ca0051be617bb82758b8</id>
<content type='text'>
Make attributes and local variables in the StreamReader str objects instead
of unicode objects, so that codecs that do a str-&gt;str decoding won't promote
the result to unicode. This fixes SF bug #1241507.
</content>
</entry>
<entry>
<title>Backport checkin (and the appropriate fix to the test):</title>
<updated>2005-04-21T21:53:43Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2005-04-21T21:53:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4d3fec604dadbffe5211c6ca21fa05c72cbceefd'/>
<id>urn:sha1:4d3fec604dadbffe5211c6ca21fa05c72cbceefd</id>
<content type='text'>
If the data read from the bytestream in readline() ends in a '\r' read one more
byte, even if the user has passed a size parameter. This extra byte shouldn't
cause a buffer overflow in the tokenizer. The original plan was to return a line
ending in '\r', which might be recognizable as a complete line and skip any '\n'
that was read afterwards. Unfortunately this didn't work, as the tokenizer only
recognizes '\n' as line ends, which in turn lead to joined lines and
SyntaxErrors, so this special treatment of a split '\r\n' has been dropped. (It
can only happen with a temporarily exhausted bytestream now anyway.)
Fixes parts of SF bugs #1163244 and #1175396.
</content>
</entry>
<entry>
<title>Backport checkin:</title>
<updated>2005-04-04T21:56:28Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2005-04-04T21:56:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=67e4ecd451fb7d675603b93e035883b4a2bdf277'/>
<id>urn:sha1:67e4ecd451fb7d675603b93e035883b4a2bdf277</id>
<content type='text'>
Fix for SF bug #1175396: readline() will now read one more character, if
the last character read is "\r" (and size is None, i.e. we're allowed to
call read() multiple times), so that we can return the correct line ending
(this additional character might be a "\n").

If the stream is temporarily exhausted, we might return the wrong line ending
(if the last character read is "\r" and the next one (after the byte stream
provides more data) is "\n", but at least the atcr member ensures that we
get the correct number of lines (i.e. this "\n" will not be treated as
another line ending).
</content>
</entry>
<entry>
<title>Backport checkin:</title>
<updated>2005-03-14T19:26:47Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2005-03-14T19:26:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2a20d4bd31167d43331921833cb54b93d5423f83'/>
<id>urn:sha1:2a20d4bd31167d43331921833cb54b93d5423f83</id>
<content type='text'>
Add default value for "whence" argument.
</content>
</entry>
<entry>
<title>Backport checkin:</title>
<updated>2005-03-14T19:20:19Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2005-03-14T19:20:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=96aeafbfbcd1fe6a6f5703d030560a133f7baf1f'/>
<id>urn:sha1:96aeafbfbcd1fe6a6f5703d030560a133f7baf1f</id>
<content type='text'>
Reset internal buffers when seek() is called. This fixes SF bug #1156259.
</content>
</entry>
</feed>
