[Python-checkins] python/dist/src/Misc NEWS,1.408,1.409
gvanrossum@users.sourceforge.net
gvanrossum@users.sourceforge.net
Fri, 24 May 2002 12:02:00 -0700
Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv24325/Misc
Modified Files:
NEWS
Log Message:
- A new type object, 'string', is added. This is a common base type
for 'str' and 'unicode', and can be used instead of
types.StringTypes, e.g. to test whether something is "a string":
isinstance(x, string) is True for Unicode and 8-bit strings. This
is an abstract base class and cannot be instantiated directly.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.408
retrieving revision 1.409
diff -C2 -d -r1.408 -r1.409
*** NEWS 20 May 2002 00:14:24 -0000 1.408
--- NEWS 24 May 2002 19:01:58 -0000 1.409
***************
*** 7,10 ****
--- 7,16 ----
Core and builtins
+ - A new type object, 'string', is added. This is a common base type
+ for 'str' and 'unicode', and can be used instead of
+ types.StringTypes, e.g. to test whether something is "a string":
+ isinstance(x, string) is True for Unicode and 8-bit strings. This
+ is an abstract base class and cannot be instantiated directly.
+
- Deprecated features of xrange objects have been removed as
promised. The start, stop, and step attributes and the tolist()