[Python-checkins] CVS: python/dist/src/Misc NEWS,1.245,1.246

Martin v. L?wis loewis@users.sourceforge.net
Wed, 19 Sep 2001 06:47:34 -0700


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

Modified Files:
	NEWS 
Log Message:
Patch #462849: Pass Unicode objects to file's .write method.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.245
retrieving revision 1.246
diff -C2 -d -r1.245 -r1.246
*** NEWS	2001/09/19 11:33:31	1.245
--- NEWS	2001/09/19 13:47:32	1.246
***************
*** 4,7 ****
--- 4,12 ----
  Core
  
+ - PyFile_WriteObject now passes Unicode object to the file's write
+   method. As a result, all file-like object which may be the target
+   of a print statement must support Unicode objects, i.e. they must
+   at least convert them into ASCII strings.
+ 
  - The builtin file type can be subclassed now.  In the usual pattern,
    "file" is the name of the builtin type, and file() is a new builtin