Rewriting to Python 3
Cecil Westerhof
Cecil at decebal.nl
Fri May 1 03:22:54 EDT 2015
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?
--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
More information about the Python-list
mailing list