[Python-Dev] Getting an optional parameter instead of creating a socket internally (was: Re: stdlib socket usage and quot; keepalivequot; )

2010-04-12 Thread Jesus Cea
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/13/2010 12:47 AM, Antoine Pitrou wrote: Jesus Cea jcea at jcea.es writes: PS: socket.setdefaulttimeout() is not enough, because it could shutdown a perfectly functional connection, just because it was idle for too long. The socket

Re: [Python-Dev] Getting an optional parameter instead of creating a socket internally (was: Re: stdlib socket usage and quot; keepalivequot; )

2010-04-12 Thread Guido van Rossum
On Mon, Apr 12, 2010 at 4:19 PM, Jesus Cea j...@jcea.es wrote: On 04/13/2010 12:47 AM, Antoine Pitrou wrote: Jesus Cea jcea at jcea.es writes: PS: socket.setdefaulttimeout() is not enough, because it could shutdown a perfectly functional connection, just because it was idle for too long.

Re: [Python-Dev] Getting an optional parameter instead of creating a socket internally (was: Re: stdlib socket usage and quot; keepalivequot; )

2010-04-12 Thread exarkun
On 12 Apr, 11:19 pm, j...@jcea.es wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/13/2010 12:47 AM, Antoine Pitrou wrote: Jesus Cea jcea at jcea.es writes: PS: socket.setdefaulttimeout() is not enough, because it could shutdown a perfectly functional connection, just because it