<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/socketmodule.h, branch 2.3</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/socketmodule.h?h=2.3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/socketmodule.h?h=2.3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2003-05-03T09:14:54Z</updated>
<entry>
<title>Patch #708495: Port more stuff to OpenVMS.</title>
<updated>2003-05-03T09:14:54Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2003-05-03T09:14:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c16f3bd8a391a68427a95e15a3c1894198ff0377'/>
<id>urn:sha1:c16f3bd8a391a68427a95e15a3c1894198ff0377</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Major overhaul of timeout sockets:</title>
<updated>2002-06-13T15:07:44Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-06-13T15:07:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=11ba094957ed72d0ecc9e50e79d138a0770df6e3'/>
<id>urn:sha1:11ba094957ed72d0ecc9e50e79d138a0770df6e3</id>
<content type='text'>
- setblocking(0) and settimeout(0) are now equivalent, and ditto for
  setblocking(1) and settimeout(None).

- Don't raise an exception from internal_select(); let the final call
  report the error (this means you will get an EAGAIN error instead of
  an ETIMEDOUT error -- I don't care).

- Move the select to inside the Py_{BEGIN,END}_ALLOW_THREADS brackets,
  so other theads can run (this was a bug in the original code).

- Redid the retry logic in connect() and connect_ex() to avoid masking
  errors.  This probably doesn't work for Windows yet; I'll fix that
  next.  It may also fail on other platforms, depending on what
  retrying a connect does; I need help with this.

- Get rid of the retry logic in accept().  I don't think it was needed
  at all.  But I may be wrong.
</content>
</entry>
<entry>
<title>Repair a comment.</title>
<updated>2002-06-07T02:27:50Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-06-07T02:27:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=be8db07ab587c84e1b9b31696585baa4b5220d6e'/>
<id>urn:sha1:be8db07ab587c84e1b9b31696585baa4b5220d6e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SF patch 555085 (timeout socket implementation) by Michael Gilfix.</title>
<updated>2002-06-06T21:08:16Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-06-06T21:08:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=67f7a388496aec53896a0a5109edf9026bbe5d5b'/>
<id>urn:sha1:67f7a388496aec53896a0a5109edf9026bbe5d5b</id>
<content type='text'>
I've made considerable changes to Michael's code, specifically to use
the select() system call directly and to store the timeout as a C
double instead of a Python object; internally, -1.0 (or anything
negative) represents the None from the API.

I'm not 100% sure that all corner cases are covered correctly, so
please keep an eye on this.  Next I'm going to try it Windows before
Tim complains.

No way is this a bugfix candidate. :-)
</content>
</entry>
<entry>
<title>Patch #520062: Support IPv6 with VC.NET.</title>
<updated>2002-03-01T08:31:07Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2002-03-01T08:31:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=272cb40e31fd2eb194509bcc028998d324ba42c2'/>
<id>urn:sha1:272cb40e31fd2eb194509bcc028998d324ba42c2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add documentation about how the inter-module linking works.</title>
<updated>2002-02-25T14:45:40Z</updated>
<author>
<name>Marc-André Lemburg</name>
<email>mal@egenix.com</email>
</author>
<published>2002-02-25T14:45:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=666e70de251c54ef58a58ba7ef65ed060bce5e16'/>
<id>urn:sha1:666e70de251c54ef58a58ba7ef65ed060bce5e16</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Moved the declaration of PySocketSock_Type from socketmodule.h to</title>
<updated>2002-02-17T04:13:21Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2002-02-17T04:13:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=643a7fc62fd6a9df3325d54ac1ac636d17f3f983'/>
<id>urn:sha1:643a7fc62fd6a9df3325d54ac1ac636d17f3f983</id>
<content type='text'>
socketmodule.c.  No code outside of the .c file references it, so it
doesn't belong the .h file (at least not yet ...), and declaring it
an imported symbol in the .h file can't be made to work on Windows (it's
a cross-DLL symbol then) without substantial code rewriting.  Also
repaired the comment that goes along with the decl, to stop referring
to names and functions that haven't existed for 7 years &lt;wink&gt;.

socketmodule.c compiles cleanly on Windows again.  The test_socket dies
at once, though (later).
</content>
</entry>
<entry>
<title>For readability, switch to tab indents; was using a mix of tab indents,</title>
<updated>2002-02-17T03:58:51Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2002-02-17T03:58:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6f5505aaf9451685336acaba2abff319252f210e'/>
<id>urn:sha1:6f5505aaf9451685336acaba2abff319252f210e</id>
<content type='text'>
4-space indents, and ambiguous space+tab indents.  Added an XXX comment
about a confusing part.  Still doesn't build on Windows.
</content>
</entry>
<entry>
<title>Break SSL support out of _socket module and place it into a new</title>
<updated>2002-02-16T18:23:30Z</updated>
<author>
<name>Marc-André Lemburg</name>
<email>mal@egenix.com</email>
</author>
<published>2002-02-16T18:23:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a5d2b4cb180ec87d006d63f838860fba785bcad0'/>
<id>urn:sha1:a5d2b4cb180ec87d006d63f838860fba785bcad0</id>
<content type='text'>
helper module _ssl.

The support for the RAND_* APIs in _ssl is now only enabled
for OpenSSL 0.9.5 and up since they were added in that
release.

Note that socketmodule.* should really be renamed to _socket.* --
unfortunately, this seems to lose the CVS history of the file.

Please review and test... I was only able to test the header file
chaos in socketmodule.c/h on Linux. The test run through fine
and compiles don't give errors or warnings.

WARNING: This patch does *not* include changes to the various
non-Unix build process files.
</content>
</entry>
</feed>
