Message71708
Perhaps I misunderstood the intended behaviour of the ascii() builtin in
the future_builtins module, but the following behaviour is unexpected:
>>> from __future__ import unicode_literals
>>> from future_builtins import ascii
>>> test = 'hello'
>>> ascii(test)
"u'hello'"
Surely the leading 'u' should not be there?
After all, this is a future builtin we are importing -- when all
'strings' are unicode by default? |
|
Date |
User |
Action |
Args |
2008-08-22 00:19:55 | tav | set | recipients:
+ tav |
2008-08-22 00:19:55 | tav | set | messageid: <1219364395.89.0.296676765919.issue3641@psf.upfronthosting.co.za> |
2008-08-22 00:19:55 | tav | link | issue3641 messages |
2008-08-22 00:19:54 | tav | create | |
|