New submission from tav <[EMAIL PROTECTED]>: 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? ---------- components: Library (Lib) messages: 71708 nosy: tav severity: normal status: open title: Builtin ascii() function from future_builtins includes leading "u" of unicode strings type: behavior versions: Python 2.6 _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3641> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com