[New-bugs-announce] [issue3641] Builtin ascii() function from future_builtins includes leading "u" of unicode strings
report at bugs.python.org
Fri Aug 22 02:19:55 CEST 2008
New submission from tav <tav at espians.com>:
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'
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)
title: Builtin ascii() function from future_builtins includes leading "u" of unicode strings
versions: Python 2.6
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce