A bug about unicode string in Python 2.4?

Steve Holden steve at holdenweb.com
Wed Jan 11 02:10:41 EST 2006


Thomas Moore wrote:
> Hi:
> 
> Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)] on
> win32
> Type "help", "copyright", "credits" or "license" for more information.
> 
>>>>u=u'\u9019\u662f\u4e2d\u6587\u5b57\u4e32'
>>>>u.split()
> 
> [u'\u9019\u662f\u4e2d\u6587\u5b57\u4e32']
> 
> 
> I think u should get split.
> 
I think u should use English, and explain in somewhat more detail *what*
you think Python is doing wrong, possibly with some reasoning as to
*why* you believe it's in error.

Without a bit more information your speculations are valueless.

[Clue: when you think there's an error in the Python interpreter there
usually isn't]

regards
 Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC                     www.holdenweb.com
PyCon TX 2006                  www.python.org/pycon/




More information about the Python-list mailing list