Re: Rewriting to Python 3

2015-05-01 Thread Cecil Westerhof
Op Friday 1 May 2015 16:41 CEST schreef Cecil Westerhof: > Op Friday 1 May 2015 09:22 CEST schreef Cecil Westerhof: > >> On my system I have: PARSER_RE_STR = '/(%s)=' % >> '|'.join(DN_LUT.keys() + DN_LUT.values()) in: >> /usr/lib/python3.4/site-packages/ndg/httpsclient/ssl_peer_verification.py >>

Re: Rewriting to Python 3

2015-05-01 Thread Cecil Westerhof
Op Friday 1 May 2015 09:22 CEST schreef Cecil Westerhof: > On my system I have: PARSER_RE_STR = '/(%s)=' % > '|'.join(DN_LUT.keys() + DN_LUT.values()) in: > /usr/lib/python3.4/site-packages/ndg/httpsclient/ssl_peer_verification.py > > In Python 3 that gives: TypeError: unsupported operand type(s)

Re: Rewriting to Python 3

2015-05-01 Thread Mark Lawrence
On 01/05/2015 08:22, Cecil Westerhof wrote: On my system I have: PARSER_RE_STR = '/(%s)=' % '|'.join(DN_LUT.keys() + DN_LUT.values()) in: /usr/lib/python3.4/site-packages/ndg/httpsclient/ssl_peer_verification.py In Python 3 that gives: TypeError: unsupported operand type(s) for +:

Re: Rewriting to Python 3

2015-05-01 Thread Chris Angelico
On Fri, May 1, 2015 at 5:22 PM, Cecil Westerhof wrote: > On my system I have: > PARSER_RE_STR = '/(%s)=' % '|'.join(DN_LUT.keys() + DN_LUT.values()) > in: > /usr/lib/python3.4/site-packages/ndg/httpsclient/ssl_peer_verification.py > > In Python 3 that gives: > TypeError: unsupported op

Re: Rewriting to Python 3

2015-05-01 Thread Peter Otten
Cecil Westerhof wrote: > On my system I have: > PARSER_RE_STR = '/(%s)=' % '|'.join(DN_LUT.keys() + DN_LUT.values()) > in: > /usr/lib/python3.4/site- packages/ndg/httpsclient/ssl_peer_verification.py > > In Python 3 that gives: > TypeError: unsupported operand type(s) for +: 'dict_key

Re: Rewriting to Python 3

2015-05-01 Thread Ben Finney
Cecil Westerhof writes: > On my system I have: > PARSER_RE_STR = '/(%s)=' % '|'.join(DN_LUT.keys() + DN_LUT.values()) > in: > /usr/lib/python3.4/site-packages/ndg/httpsclient/ssl_peer_verification.py Are you in contact with the author of that third-party library? Why is it in your Python