Skip to content

Instantly share code, notes, and snippets.

Avatar

Savinay Nangalia suavesav

View GitHub Profile
View circ_ref.md
foo.py
from bar import x

def y(a,b):
    print x(a,b)


bar.py
@suavesav
suavesav / sav_python_ssl.md
Last active Aug 26, 2016
Sav's adventures in SSL land
View sav_python_ssl.md

Started with me trying to resolve this error:

import requests
requests.get('https://www.salesforce.com')

SSLError('bad handshake', Error([('SSL routines', 'SSL23_GET_SERVER_HELLO', 'sslv3 alert handshake failure')]

And I believe this is the cause as per https://github.com/superfell/Beatbox: