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 raghu prasad
Recipients paul.moore, raghu prasad, steve.dower, tim.golden, zach.ware
Date 2015-10-07.10:48:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1444214920.55.0.915956514334.issue25332@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2015-10-07 10:48:40raghu prasadsetrecipients: + raghu prasad, paul.moore, tim.golden, zach.ware, steve.dower
2015-10-07 10:48:40raghu prasadsetmessageid: <1444214920.55.0.915956514334.issue25332@psf.upfronthosting.co.za>
2015-10-07 10:48:40raghu prasadlinkissue25332 messages
2015-10-07 10:48:39raghu prasadcreate