Martin P. Hellwig
martin.hellwig at dcuktec.org
Fri Apr 9 01:59:31 EDT 2010
On 04/09/10 05:13, Alf P. Steinbach wrote:
<cut socket open/close>
> Second, I'm unable to find documentation of when they're called and what
> they do. It seems that (A) when the connection object's stream is
> exhausted by reading, its close() method is called automatically, and
> (B) that when the text_reader object's close method is called it calls
> the close method of the wrapped stream (i.e. on the connection object).
> But where is this documented?
If nothing else, my guess would be the source somewhere between the
urllib and socket module.
More information about the Python-list