Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #45850
| References | <683480d3-9b36-40f3-af61-e767178ceb87@googlegroups.com> <mailman.2019.1369324579.3114.python-list@python.org> <77525aba-65fc-41c3-aeb5-428d66719bee@googlegroups.com> <mailman.2021.1369325893.3114.python-list@python.org> <f90d099d-e794-4164-b796-4db3a9f95cc5@googlegroups.com> |
|---|---|
| Date | 2013-05-24 08:23 +1000 |
| Subject | Re: Error with python 3.3.2 and https |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2041.1369347839.3114.python-list@python.org> (permalink) |
On Fri, May 24, 2013 at 3:49 AM, <asianavatar@gmail.com> wrote:
>
> Yeah that is the case. Once I change the f = opener.open('website') line to a link that has a https I get that socket error. Nothing else changes. I was reading online and came across this site which shows you how if the version of python installed supports ssl.
>
> http://morlockhq.blogspot.ca/2008/05/python-tip-checking-to-see-if-your.html
>
> When I followed the instructions I got that it wasn't supported, although the ssl.py is in the lib directory. Python was installed from the official python page using the windows installer. Is somehow ssl disabled by default? Do I need to get a third party ssl module?
Hrm. Unfortunately those instructions don't work for Python 3... or at
least, if they do, then both of my handy installations (one Windows,
one Linux) don't have SSL. However, I *can* do 'import ssl' and
'import _ssl', the latter of which is what Lib/socket.py checks for.
In Python 3.3's Lib/socket.py there's no mention of ssl anywhere, so
I'd be inclined to look elsewhere for support checks.
ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Error with python 3.3.2 and https asianavatar@gmail.com - 2013-05-23 08:48 -0700
Re: Error with python 3.3.2 and https Chris Angelico <rosuav@gmail.com> - 2013-05-24 01:56 +1000
Re: Error with python 3.3.2 and https asianavatar@gmail.com - 2013-05-23 09:12 -0700
Re: Error with python 3.3.2 and https Chris Angelico <rosuav@gmail.com> - 2013-05-24 02:18 +1000
Re: Error with python 3.3.2 and https asianavatar@gmail.com - 2013-05-23 10:49 -0700
Re: Error with python 3.3.2 and https Chris Angelico <rosuav@gmail.com> - 2013-05-24 08:23 +1000
Re: Error with python 3.3.2 and https asianavatar@gmail.com - 2013-05-24 11:08 -0700
csiph-web