Author: bugman Date: Wed Sep 4 10:41:49 2013 New Revision: 20791 URL: http://svn.gna.org/viewcvs/relax?rev=20791&view=rev Log: Restored the Python3 aliased unicode() function accidentally removed in commit r20789. Modified: trunk/compat.py Modified: trunk/compat.py URL: http://svn.gna.org/viewcvs/relax/trunk/compat.py?rev=20791&r1=20790&r2=20791&view=diff ============================================================================== --- trunk/compat.py (original) +++ trunk/compat.py Wed Sep 4 10:41:49 2013 @@ -365,6 +365,9 @@ # Python 3 work-arounds. if PY_VERSION == 3: + # The unicode conversion function - essential for the GUI in Python 2. + builtins.unicode = builtins.str + # Unicode string handling. def u(text): """Create a unicode string for Python 3.