urllib.urlopen not working in 1.1.3 release
Is anyone else having the same problem?
Thanks,
Anthony
Connected.
Python 2.2.2 (#0, Jun 14 2005, 11:39:41)
[GCC 2.9-psion-98r2 (Symbian build 546)] on symbian_s60
Type "copyright", "credits" or "license" for more information.
Type "commands" to see the commands available in this simple line editor.
>>> import urllib
>>> site = urllib.urlopen(r'http://www.dslreports.com/rss.xml')
>>> site.readlines()
Traceback (most recent call last):
File "<console>", line 1, in ?
File "C:\system\libs\socket.py", line 466, in readlines
line = self.readline()
File "C:\system\libs\socket.py", line 451, in readline
new = self._sock.recv(self._rbufsize)
error: Attempt to use a closed socket
>>>
Re: urllib.urlopen not working in 1.1.3 release
[QUOTE][i]Originally posted by tarlano [/i]
[B]Is anyone else having the same problem? [/B][/QUOTE]
Well, I am :) The new socket code apparently isn't as stable as I thought. Will take a look at that ASAP. Thanks for the report.
Thanks for looking into this
Jukka :-D
Thanks for looking into this and thanks again for the select module..
Anthony
HTTPSConnections still not working
More code that doesn't work for no apparent reason:
[code]
import httplib
conn = httplib.HTTPSConnection("www.thawte.com")
conn.connect()
conn.request("GET","/cert-swap-offer.html")
r = conn.getresponse()
[/code]
Python interpreter will exit after the last line. Can't get a working SSL connection whichever way I try. Anyone?
Re: Re: urllib.urlopen not working in 1.1.3 release
[QUOTE][i]Originally posted by jplauril [/i]
[B]Well, I am :) The new socket code apparently isn't as stable as I thought. Will take a look at that ASAP. Thanks for the report. [/B][/QUOTE]
Okay, this bug is now fixed and will appear in the next release, which should be posted within a few days.