ééã£ã¦ããææãé¡ããã¾ãã ç°å¢ï¼ windows XP Python 2.5.2 http://mail.python.org/pipermail/python-bugs-list/2005-October/030763.html ä¸å¹´åã«è©±ãã¦ããã¨ã¿ãããªãã§ããããã§ã¯urlopen()ããã¨ãã®è©±ããã¦ã¦(è±èªã¯ç´°ãããã¨ããããªãã§ã) urllib2.py:1095 r.recv = r.read ããã§æ¡å¼µãã¦ãã®ãåå ã§addinfourlã®è¦ªã¯ã©ã¹addbaseã®close()ãå¼ãã§ãrecvã解æ¾ããå¦çããªãã®ã§å¾ªç°åç §ããã¾ã¾ã«ãªã£ã¦ãã¾ãã ãã®è§£æ±ºçã« import urllib2 f = urllib2.urlopen('http://www.google.com') text=f.read() f.fp._sock.recv=None # hacky
{{#tags}}- {{label}}
{{/tags}}