Re-introducing TString/python string compatiblity hack
Changelog: Re-introducing some code making TStrings and python strings more compatible with each other
Changelog: Re-introducing some code making TStrings and python strings more compatible with each other