Stephen Hansen <me+pyt...@ixokai.io> added the comment:

The attached patch wraps all the calls to the internet in 
support.transient_internet; I ran it against 3.x and it passed, and then I ran 
it for quite awhile with the -F option, and encountered one event that I 
believe would previously had resulted in one of these sporadic failures, and it 
resulted in a skipped 'resource not available' message. 

I left in the previous 'retry' code, just by virtue of changing as little as 
possible. I can adjust if its desired.

I believe that transient_internet won't capture EBADF: so if that particular 
sporadic failure happens again, I'll post up a new issue about it.

----------
keywords: +patch
Added file: http://bugs.python.org/file19390/issue10116.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10116>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to