Message1471
types.UnicodeType seems to contain string type and not unicode type. See example below.
Jython 2.2b1 on java1.5.0_10 (JIT: null)
Type "copyright", "credits" or "license" for more information.
>>> import types
>>> types.UnicodeType
<type 'str'>
1
>>> type(u'xxx') is types.UnicodeType
0
>>> types.StringType
<type 'str'>
>>> types.StringTypes
(<type 'str'>, <type 'unicode'>)
>>> type(u'xxx') in types.StringTypes
1
|
|
Date |
User |
Action |
Args |
2008-02-20 17:17:44 | admin | link | issue1661679 messages |
2008-02-20 17:17:44 | admin | create | |
|