Re: Looks like Python 3 files do not confirm to Python 3

2015-05-01 Thread Cecil Westerhof
Op Friday 1 May 2015 10:05 CEST schreef Mark Lawrence: > On 01/05/2015 08:16, Cecil Westerhof wrote: >> Op Friday 1 May 2015 08:27 CEST schreef Cecil Westerhof: >> >>> On my system in: >>> /usr/lib/python3.4/site-packages/ndg/httpsclient/ssl_peer_verification.py >>> >>> it says: >>> try: >>> from

Re: Looks like Python 3 files do not confirm to Python 3

2015-05-01 Thread Mark Lawrence
On 01/05/2015 08:16, Cecil Westerhof wrote: Op Friday 1 May 2015 08:27 CEST schreef Cecil Westerhof: On my system in: /usr/lib/python3.4/site-packages/ndg/httpsclient/ssl_peer_verification.py it says: try: from ndg.httpsclient.subj_alt_name import SubjectAltName from pyasn1.codec.der import de

Re: Looks like Python 3 files do not confirm to Python 3

2015-05-01 Thread Cecil Westerhof
Op Friday 1 May 2015 09:00 CEST schreef Steven D'Aprano: > On Fri, 1 May 2015 04:27 pm, Cecil Westerhof wrote: > >> On my system in: >> /usr/lib/python3.4/site-packages/ndg/httpsclient/ssl_peer_verification.py > > ndg is a third-party package, not part of the Python 3 standard > library. Oops, ba

Re: Looks like Python 3 files do not confirm to Python 3

2015-05-01 Thread Cecil Westerhof
Op Friday 1 May 2015 08:27 CEST schreef Cecil Westerhof: > On my system in: > /usr/lib/python3.4/site-packages/ndg/httpsclient/ssl_peer_verification.py > > it says: > try: > from ndg.httpsclient.subj_alt_name import SubjectAltName > from pyasn1.codec.der import decoder as der_decoder > SUBJ_ALT_NA

Re: Looks like Python 3 files do not confirm to Python 3

2015-05-01 Thread Steven D'Aprano
On Fri, 1 May 2015 04:27 pm, Cecil Westerhof wrote: > On my system in: > /usr/lib/python3.4/site-packages/ndg/httpsclient/ssl_peer_verification.py ndg is a third-party package, not part of the Python 3 standard library. > it says: > try: > from ndg.httpsclient.subj_alt_name import Su

Looks like Python 3 files do not confirm to Python 3

2015-04-30 Thread Cecil Westerhof
On my system in: /usr/lib/python3.4/site-packages/ndg/httpsclient/ssl_peer_verification.py it says: try: from ndg.httpsclient.subj_alt_name import SubjectAltName from pyasn1.codec.der import decoder as der_decoder SUBJ_ALT_NAME_SUPPORT = True except ImportError, e: