SIP: fix PyString/Unicode vs. std::string conversion
Some C++ strings where still returned as PyUnicode
objects in Python 2.7
.
Note:
the mapping std::list<const char *>, used in CtConfig
,
requires persistent storage of strings. Conversion from PyUnicode
objects
requires a temporary PyString
object. A global (static) set of std::string
copies
is kept for implementing the required persistence.