2.7.7 Built-in OpenSSL Library?

David Andrzejewski david at davidandrzejewski.com
Thu Jun 26 17:17:41 EDT 2014


On Thursday, June 26, 2014 5:09:10 PM UTC-4, Zachary Ware wrote:
> On Thu, Jun 26, 2014 at 3:41 PM, David Andrzejewski
> 
> <david.andrzejewski at gmail.com> wrote:
> 
> > Taking a look at:
> 
> >
> 
> > http://bugs.python.org/issue21462
> 
> >
> 
> > It looks like the OpenSSL library in Python 2.7.7 on Windows should be 1.0.1.
> 
> >
> 
> > However, when I install Python 2.7.7 on my system,
> 
> >
> 
> >
> 
> > C:\Python27>python
> 
> > Python 2.7.7 (default, Jun  1 2014, 14:17:13) [MSC v.1500 32 bit (Intel)] on win32
> 
> > Type "help", "copyright", "credits" or "license" for more information.
> 
> >>>> import ssl
> 
> >>>> ssl.OPENSSL_VERSION
> 
> > 'OpenSSL 0.9.8y 5 Feb 2013'
> 
> >>>>
> 
> >
> 
> >
> 
> > Which is the previous version.
> 
> >
> 
> > Did I miss something, or did this not make it into 2.7.7?
> 
> 
> 
> No, it did make it into 2.7.7:
> 
> 
> 
>    P:\tmp>py -2
> 
>    Python 2.7.7 (default, Jun  1 2014, 14:17:13) [MSC v.1500 32 bit
> 
> (Intel)] on win32
> 
>    Type "help", "copyright", "credits" or "license" for more information.
> 
>    >>> import ssl
> 
>    >>> ssl.OPENSSL_VERSION
> 
>    'OpenSSL 1.0.1g 7 Apr 2014'
> 
>    >>>
> 
> 
> 
> I'm not sure why it's different for you.  Could you check what values
> 
> you get for ssl.__file__, _ssl.__file__, and sys.path?  I was
> 
> concerned that perhaps you installed 2.7.7 over an existing 2.7.<=6
> 
> and _ssl.pyd just didn't get overwritten due to an installer bug, but
> 
> I just ruled that out by installing 2.7.7 over 2.7.6.
> 
> 
> 
> -- 
> 
> Zach

Ah! My PYTHONPATH environment variable was pointing to... somewhere else.  I unset it, and now I'm seeing what I expect!

Thanks very much!



More information about the Python-list mailing list