homepage

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 Frank.Ling
Recipients Frank.Ling
Date 2012年06月28日.07:26:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340868379.68.0.473827205648.issue15215@psf.upfronthosting.co.za>
In-reply-to
Content
i use socket such as :
 self.socket.setblocking(1)
 self.socket.settimeout(1)
but this socket is no-block ,i find socketmodule.c sock_settimeout
 s->sock_timeout = timeout;
 internal_setblocking(s, timeout < 0.0);
if timeout >0, so internal_setblocking(s,false=0),so socket is no-block
by the way:
 in sock_settimeout,call internal_setblocking params have error?
init_sockobject:
 if (defaulttimeout >= 0.0)
 internal_setblocking(s, 0);
History
Date User Action Args
2012年06月28日 07:26:19Frank.Lingsetrecipients: + Frank.Ling
2012年06月28日 07:26:19Frank.Lingsetmessageid: <1340868379.68.0.473827205648.issue15215@psf.upfronthosting.co.za>
2012年06月28日 07:26:18Frank.Linglinkissue15215 messages
2012年06月28日 07:26:18Frank.Lingcreate

AltStyle によって変換されたページ (->オリジナル) /