Dear Daniel Johnson, I've encountered a problem with current python2.7 in fink. For me following error occurs:
---8<--- andreas@andreas-mbp % /sw/bin/python2.7 Python 2.7.3 (default, Apr 14 2012, 18:25:48) [GCC 4.2.1 Compatible Apple Clang 3.1 (tags/Apple/clang-318.0.58)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import urllib2 >>> html = urllib2.urlopen("https://banking.postbank.de/rai/login") Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/sw/lib/python2.7/urllib2.py", line 126, in urlopen return _opener.open(url, data, timeout) File "/sw/lib/python2.7/urllib2.py", line 400, in open response = self._open(req, data) File "/sw/lib/python2.7/urllib2.py", line 418, in _open '_open', req) File "/sw/lib/python2.7/urllib2.py", line 378, in _call_chain result = func(*args) File "/sw/lib/python2.7/urllib2.py", line 1215, in https_open return self.do_open(httplib.HTTPSConnection, req) File "/sw/lib/python2.7/urllib2.py", line 1177, in do_open raise URLError(err) urllib2.URLError: <urlopen error [Errno 54] Connection reset by peer> >>> --->8--- But with a fresh build python2.7 from python.org (unpatched) and the version provided by apple it works like a charm: ---8<--- andreas@andreas-mbp % /tmp/fooo/usr/local/python27/bin/python2.7 Python 2.7.3 (default, May 9 2012, 08:25:38) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import urllib2 >>> html = urllib2.urlopen("https://banking.postbank.de/rai/login") >>> html.read() '\r\n<!DOCTYPE html>\r\n\r\n\r\n\r\n\r\n<html class="no-js" lang="de">\r\n<head>\r\n<title>Postbank Online-Banking</title>\r\n\r\n <meta charset="utf-8"/>\r\n\r\n\r\n\r\n\n \n <meta http-equiv="X-UA-Compatible" content="IE=edge" />\n \n <link type="text/css" rel="stylesheet" href="/rai/rai/css/rai.css"/>\n <!--[if lte IE 6]>\n ... >>> --->8--- Can anyone else confirm this? BTW: Other https connections work. I guess it has something to do with this specific server, but I rate this an error 'cause vanilla source and apple's version behave in another way. What do you think about? best regards Andreas Bießmann ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel