This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tav
Recipients tav
Date 2008-08-22.00:19:54
SpamBayes Score 3.6779804e-07
Marked as misclassified No
Message-id <1219364395.89.0.296676765919.issue3641@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2008-08-22 00:19:55tavsetrecipients: + tav
2008-08-22 00:19:55tavsetmessageid: <1219364395.89.0.296676765919.issue3641@psf.upfronthosting.co.za>
2008-08-22 00:19:55tavlinkissue3641 messages
2008-08-22 00:19:54tavcreate