python 3.3 repr
robin at reportlab.com
Fri Nov 15 13:16:52 CET 2013
On 15/11/2013 11:38, Ned Batchelder wrote:
> In Python3, repr() will return a Unicode string, and will preserve existing Unicode characters in its arguments. This has been controversial. To get the Python 2 behavior of a pure-ascii representation, there is the new builtin ascii(), and a corresponding %a format string.
thanks for this, edoesn't make the split across python2 - 3 any easier.
More information about the Python-list