Rewriting to Python 3
Cecil Westerhof
Cecil at decebal.nl
Fri May 1 10:41:28 EDT 2015
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) for
> +: 'dict_keys' and 'dict_values'
>
> How should I rewrite this?
I am not the only person that has a problem:
https://github.com/cedadev/ndg_httpsclient/issues/1
--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
More information about the Python-list
mailing list