mmw <0xcafef...@gmail.com> added the comment:

First it depends on the socket type but might use a select call, secondable
raise on a socket.error, thirdable you could call the close_handle with the
message and let the guys if he would like to retry, network connection might
be capricious especially for client connected through a wifi network or
behind some firewall blocking port

the asyncchat is a looper if you don't let him catch the exception you just
create an infinite loop, this API needs a stronger model.

On Wed, Aug 25, 2010 at 3:45 PM, Giampaolo Rodola'
<rep...@bugs.python.org>wrote:

>
> Giampaolo Rodola' <g.rod...@gmail.com> added the comment:
>
> Could you provide a code sample which demonstrates the problem?
>
> ----------
>
> _______________________________________
> Python tracker <rep...@bugs.python.org>
> <http://bugs.python.org/issue9686>
> _______________________________________
>

----------
Added file: http://bugs.python.org/file18647/unnamed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9686>
_______________________________________
First it depends on the socket type but might use a select call, secondable 
raise on a socket.error, thirdable you could call the close_handle with the 
message and let the guys if he would like to retry, network connection might be 
capricious especially for client connected through a wifi network or behind 
some firewall blocking port<br>
<br>the asyncchat is a looper if you don&#39;t let him catch the exception you 
just create an infinite loop, this API needs a stronger 
model.<br> <br><br><div class="gmail_quote">On Wed, Aug 25, 2010 at 3:45 PM, 
Giampaolo Rodola&#39; <span dir="ltr">&lt;<a 
href="mailto:rep...@bugs.python.org";>rep...@bugs.python.org</a>&gt;</span> 
wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Giampaolo Rodola&#39; &lt;<a 
href="mailto:g.rod...@gmail.com";>g.rod...@gmail.com</a>&gt; added the 
comment:<br>
<br>
Could you provide a code sample which demonstrates the problem?<br>
<br>
----------<br>
<div><div></div><div class="h5"><br>
_______________________________________<br>
Python tracker &lt;<a 
href="mailto:rep...@bugs.python.org";>rep...@bugs.python.org</a>&gt;<br>
&lt;<a href="http://bugs.python.org/issue9686"; 
target="_blank">http://bugs.python.org/issue9686</a>&gt;<br>
_______________________________________<br>
</div></div></blockquote></div><br>
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to