This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author facundobatista
Recipients facundobatista, jjlee
Date 2008-03-21.23:30:33
SpamBayes Score 0.45915157
Marked as misclassified No
Message-id <1206142234.9.0.668293410508.issue2451@psf.upfronthosting.co.za>
In-reply-to
Content
When the semantics of timout in htmllib (and the other libraries) were
discussed, the community approved the following behaviour:

- setdefaulttimeout() was a hack to allow to set the timeout when
nothing else is available.

- Now that you can pass the timeout when creating the connection, you
shouldn't use the default setting.

So, as to enhance practicality and ease to use, when you pass a timeout
value it will set up the timeout in the socket. When you don't pass
anything, or pass None, it will not set anything. And if you set
previously a default value, you can not override it through this
parameter: you shouldn't been setting the default in first place.

Regards,
History
Date User Action Args
2008-03-21 23:30:35facundobatistasetspambayes_score: 0.459152 -> 0.45915157
recipients: + facundobatista, jjlee
2008-03-21 23:30:34facundobatistasetspambayes_score: 0.459152 -> 0.459152
messageid: <1206142234.9.0.668293410508.issue2451@psf.upfronthosting.co.za>
2008-03-21 23:30:34facundobatistalinkissue2451 messages
2008-03-21 23:30:33facundobatistacreate