<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/socket.py, branch 2.6</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/socket.py?h=2.6</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/socket.py?h=2.6'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2010-08-12T17:29:24Z</updated>
<entry>
<title>#9543: Fix regression introduced in r83624.</title>
<updated>2010-08-12T17:29:24Z</updated>
<author>
<name>Ezio Melotti</name>
<email>ezio.melotti@gmail.com</email>
</author>
<published>2010-08-12T17:29:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b833fa88d339e9d8bbfe2f9a16567e50348202d2'/>
<id>urn:sha1:b833fa88d339e9d8bbfe2f9a16567e50348202d2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merged revisions 75407,75409-75413,75415,75419-75421 via svnmerge from</title>
<updated>2010-08-03T03:19:00Z</updated>
<author>
<name>Ezio Melotti</name>
<email>ezio.melotti@gmail.com</email>
</author>
<published>2010-08-03T03:19:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=262a47d2b987f8ce88964a6383576c4f5be8e79b'/>
<id>urn:sha1:262a47d2b987f8ce88964a6383576c4f5be8e79b</id>
<content type='text'>
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75407 | antoine.pitrou | 2009-10-14 20:30:52 +0300 (Wed, 14 Oct 2009) | 3 lines

  Fix py3k warnings in the aifc module
........
  r75409 | antoine.pitrou | 2009-10-14 21:01:33 +0300 (Wed, 14 Oct 2009) | 3 lines

  Fix py3k warnings in bsddb
........
  r75410 | antoine.pitrou | 2009-10-14 21:09:45 +0300 (Wed, 14 Oct 2009) | 3 lines

  Silence a py3k warning claiming to affect Lib/calendar.py
........
  r75411 | antoine.pitrou | 2009-10-14 21:12:54 +0300 (Wed, 14 Oct 2009) | 3 lines

  Fix a py3k warning in the StringIO module (exhibited in test_codecencodings_cn)
........
  r75412 | antoine.pitrou | 2009-10-14 21:27:32 +0300 (Wed, 14 Oct 2009) | 3 lines

  Fix py3k warnings in the socket module
........
  r75413 | antoine.pitrou | 2009-10-14 21:31:05 +0300 (Wed, 14 Oct 2009) | 3 lines

  Fix a py3k warning in the sndhdr module (found with test_email)
........
  r75415 | antoine.pitrou | 2009-10-14 21:39:46 +0300 (Wed, 14 Oct 2009) | 3 lines

  Silence some py3k warnings claiming to affect _pyio
........
  r75419 | antoine.pitrou | 2009-10-14 21:56:11 +0300 (Wed, 14 Oct 2009) | 3 lines

  Silence py3k warning claiming to affect the random module
........
  r75420 | antoine.pitrou | 2009-10-14 22:04:48 +0300 (Wed, 14 Oct 2009) | 3 lines

  Fix py3k warnings in httplib
........
  r75421 | antoine.pitrou | 2009-10-14 22:09:48 +0300 (Wed, 14 Oct 2009) | 3 lines

  Fix py3k warnings in the uuid module
........
</content>
</entry>
<entry>
<title>Merged revisions 74426 via svnmerge from</title>
<updated>2010-05-23T15:22:08Z</updated>
<author>
<name>Jean-Paul Calderone</name>
<email>exarkun@divmod.com</email>
</author>
<published>2010-05-23T15:22:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c28d554db8278d7346ff28da2defb59d413f857e'/>
<id>urn:sha1:c28d554db8278d7346ff28da2defb59d413f857e</id>
<content type='text'>
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74426 | gregory.p.smith | 2009-08-13 14:54:50 -0400 (Thu, 13 Aug 2009) | 4 lines

  Fix issue1628205: Socket file objects returned by socket.socket.makefile() now
  properly handles EINTR within the read, readline, write &amp; flush methods.
  The socket.sendall() method now properly handles interrupted system calls.
........
</content>
</entry>
<entry>
<title>Merged revisions 73145 via svnmerge from</title>
<updated>2009-08-15T06:40:49Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@mad-scientist.com</email>
</author>
<published>2009-08-15T06:40:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1cfc9c0ef334a3add718a5e01d9658bdf3c9da6d'/>
<id>urn:sha1:1cfc9c0ef334a3add718a5e01d9658bdf3c9da6d</id>
<content type='text'>
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73145 | kristjan.jonsson | 2009-06-02 06:14:08 -0700 (Tue, 02 Jun 2009) | 2 lines

  http://bugs.python.org/issue6117
  Fix O(n**2) performance problem in socket._fileobject
........
</content>
</entry>
<entry>
<title>Merged revisions 73138 via svnmerge from</title>
<updated>2009-06-02T07:40:15Z</updated>
<author>
<name>Mark Dickinson</name>
<email>dickinsm@gmail.com</email>
</author>
<published>2009-06-02T07:40:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=36c8084233116a998a756aa91a7f65a6f498b1c1'/>
<id>urn:sha1:36c8084233116a998a756aa91a7f65a6f498b1c1</id>
<content type='text'>
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73138 | mark.dickinson | 2009-06-02 08:39:26 +0100 (Tue, 02 Jun 2009) | 1 line

  Typo in socket.py.  Thanks Pablo Torres Navarrete.
........
</content>
</entry>
<entry>
<title>Merged revisions 71329 via svnmerge from</title>
<updated>2009-04-06T22:11:57Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2009-04-06T22:11:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2b4857379412492b9a830d75cb289ec74188e530'/>
<id>urn:sha1:2b4857379412492b9a830d75cb289ec74188e530</id>
<content type='text'>
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71329 | benjamin.peterson | 2009-04-06 16:53:33 -0500 (Mon, 06 Apr 2009) | 1 line

  add create_connection to __all__ #5711
........
</content>
</entry>
<entry>
<title>Remove buffer() usage in the socket module by just slicing directly on the</title>
<updated>2008-08-08T04:27:28Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2008-08-08T04:27:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3f92bc6f4811241ac68ec2681895d22ba8c68bf0'/>
<id>urn:sha1:3f92bc6f4811241ac68ec2681895d22ba8c68bf0</id>
<content type='text'>
object. This removes all warnings for the module caused by running under -3.
</content>
</entry>
<entry>
<title>Fixed the semantic of timeout for socket.create_connection and</title>
<updated>2008-05-29T16:39:26Z</updated>
<author>
<name>Facundo Batista</name>
<email>facundobatista@gmail.com</email>
</author>
<published>2008-05-29T16:39:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4f1b1ed975fe25170d00559e63f992c9bf8e9b8a'/>
<id>urn:sha1:4f1b1ed975fe25170d00559e63f992c9bf8e9b8a</id>
<content type='text'>
all the upper level libraries that use it, including urllib2.
Added and fixed some tests, and changed docs correspondingly.
Thanks to John J Lee for the patch and the pusing, :)
</content>
</entry>
<entry>
<title>Fix a bug introduced in r62627.  see issue2760 and issue2632.</title>
<updated>2008-05-05T21:53:45Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@mad-scientist.com</email>
</author>
<published>2008-05-05T21:53:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=24237ea8a128d145d00397bd79eba06db471bcdb'/>
<id>urn:sha1:24237ea8a128d145d00397bd79eba06db471bcdb</id>
<content type='text'>
An assertion in readline() would fail as data was already in the
internal buffer even though the socket was in unbuffered read mode.
That case is now handled.  More importantly, read() has been fixed to
not over-recv() and leave newly recv()d data in the _fileobject buffer.

The max() vs min() issue in read() is now gone.  Neither was correct.
On bounded reads, always ask recv() for the exact amount of data we
still need.

Candidate for backporting to release25-maint along with r62627.
</content>
</entry>
<entry>
<title>This should fix issue2632.  A long description of the two competing</title>
<updated>2008-05-02T07:26:52Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@mad-scientist.com</email>
</author>
<published>2008-05-02T07:26:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f8cc64017ca0f33b1e21b1c9c9f5f30ebdc4da31'/>
<id>urn:sha1:f8cc64017ca0f33b1e21b1c9c9f5f30ebdc4da31</id>
<content type='text'>
problems is in the bug report (one old, one recently introduced trying
to fix the old one).  In short:

buffer data during socket._fileobject.read() and readlines() within a
cStringIO object instead of a [] of str()s returned from the recv()
call.

This prevents excessive memory use due to the size parameter being
passed to recv() being grossly larger than the actual size of the data
returned *and* prevents excessive cpu usage due to looping in python
calling recv() with a very tiny size value if min() is used as the
previous memory-use bug "fix" did.

It also documents what the socket._fileobject._rbufsize member is
actually used for.

This is a candidate for back porting to 2.5.
</content>
</entry>
</feed>
