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 gvanrossum
Recipients benjamin.peterson, gvanrossum, lemburg
Date 2008-04-07.18:07:49
SpamBayes Score 0.22968344
Marked as misclassified No
Message-id <1207591671.99.0.0507714457711.issue2557@psf.upfronthosting.co.za>
In-reply-to
Content
We went over this before.  *I* consider the 2.x behavior a mistake, and
a decision was made to change in 3.0.  It got much worse in 3.0 because
all literals are Unicode (except byte literals).

To add a unicode value to a raw string, just concatenate a raw string
and a non-raw string, e.g.

r'whatever' '\u1234' r'whatever'

I don't understand what you meant by '\x1234' -- the \x escape only
accepts 2 hex digits.
History
Date User Action Args
2008-04-07 18:07:52gvanrossumsetspambayes_score: 0.229683 -> 0.22968344
recipients: + gvanrossum, lemburg, benjamin.peterson
2008-04-07 18:07:52gvanrossumsetspambayes_score: 0.229683 -> 0.229683
messageid: <1207591671.99.0.0507714457711.issue2557@psf.upfronthosting.co.za>
2008-04-07 18:07:50gvanrossumlinkissue2557 messages
2008-04-07 18:07:49gvanrossumcreate