Message5307

Author gz
Recipients gz
Date 2009-11-12.16:11:41
SpamBayes Score 7.5674016e-08
Marked as misclassified No
Message-id <1258042302.69.0.552096013237.issue1502@psf.upfronthosting.co.za>
In-reply-to
Content
The 'string-escape' codec (and its unicode cousin) do not escape the 
escape character, thus fail to roundtrip.

Jython 2.5.1 (Release_2_5_1:6813, Sep 26 2009, 13:47:54)
[Java HotSpot(TM) Client VM (Sun Microsystems Inc.)] on java1.6.0_16
Type "help", "copyright", "credits" or "license" for more information.
>>> "\\x00".encode("string-escape")
'\\x00'
>>> _.decode("string-escape")
'\x00'

One of the issues reported on jython-dev last week pertaining to 
running bazaar on jython.
History
Date User Action Args
2009-11-12 16:11:43gzsetrecipients: + gz
2009-11-12 16:11:42gzsetmessageid: <1258042302.69.0.552096013237.issue1502@psf.upfronthosting.co.za>
2009-11-12 16:11:42gzlinkissue1502 messages
2009-11-12 16:11:42gzcreate