Message1460
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'
>>>
|
|
Date |
User |
Action |
Args |
2008-02-20 17:17:43 | admin | link | issue1659819 messages |
2008-02-20 17:17:43 | admin | create | |
|