[New-bugs-announce] [issue25332] [Errno 10035] A non-blocking socket operation could not be completed immediately on python 3.1.2

raghu prasad report at bugs.python.org
Wed Oct 7 12:48:40 CEST 2015


New submission from raghu prasad:

On one machine we are facing this issue 

[Errno 10035] A non-blocking socket operation could not be completed immediately

We are using urllib.request.urlopen with some timeout value

sample code 

getRequest = urllib.request.Request(getUrl)
                   getRequest.add_header("SessionID", sessID)
                   if (compName != None):
                       getRequest.add_header("ServerContent",compName)
                       getRequest.add_header("Content-
                   getReqResp = urllib.request.urlopen(getRequest, xmlContent , TIME_OUT)

every time we do urlopen for get and post operations we are receiving this 10035 error 

i have searched a lot over the web for any work arounds 

i found one place where the issue got fixed in python 2.7 
https://hg.python.org/cpython/rev/8ec39bfd1f01

i have checked the changes , but the same chages are not visible in the python 3.1.2

so is it a bug or is there any workaround

we are having an issue based in this in our project

so any input / resolution will be greatly helpful

----------
components: Windows
messages: 252463
nosy: paul.moore, raghu prasad, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: [Errno 10035] A non-blocking socket operation could not be completed immediately  on python 3.1.2
type: behavior
versions: Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25332>
_______________________________________


More information about the New-bugs-announce mailing list