Message1460

Author pekka.klarck
Recipients
Date 2007-02-15.22:16:43
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Also replace seems to be affected. Testing with a post alpha snapshot in this time because I don't have beta installed into this machine. I couldn't find other methods implemented by Python string that could have this problem but probably it's better that someone else also goes through them.


Jython 2.2a3005 on java1.5.0_09 (JIT: null)
Type "copyright", "credits" or "license" for more information.
>>> x = 'a b'.replace('b',u'b')
>>> type(x)
<type 'str'>
>>> x
'a b'
>>>


Python 2.4.3 (#1, May 18 2006, 07:40:45) 
[GCC 3.3.3 (cygwin special)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> x = 'a b'.replace('b',u'b')
>>> type(x)
<type 'unicode'>
>>> x
u'a b'
>>> 
History
Date User Action Args
2008-02-20 17:17:43adminlinkissue1659819 messages
2008-02-20 17:17:43admincreate