[Python-checkins] python/dist/src/Misc NEWS,1.411,1.412

nnorwitz@users.sourceforge.net nnorwitz@users.sourceforge.net
Fri, 31 May 2002 12:58:03 -0700


Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv24025/Misc

Modified Files:
	NEWS 
Log Message:
Change name from string to basestring

Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.411
retrieving revision 1.412
diff -C2 -d -r1.411 -r1.412
*** NEWS	29 May 2002 15:54:54 -0000	1.411
--- NEWS	31 May 2002 19:58:00 -0000	1.412
***************
*** 13,20 ****
    as a command line option or warnings.filterwarnings() in code.
  
! - 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.
  
--- 13,20 ----
    as a command line option or warnings.filterwarnings() in code.
  
! - A new type object, 'basestring', 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, basestring) is True for Unicode and 8-bit strings.  This
    is an abstract base class and cannot be instantiated directly.