[Python-checkins] CVS: python/dist/src/Misc NEWS,1.287,1.288
Guido van Rossum
gvanrossum@users.sourceforge.net
Thu, 18 Oct 2001 19:05:37 -0700
Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv10004
Modified Files:
NEWS
Log Message:
Note the Unicode changes from SF patch #470578.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.287
retrieving revision 1.288
diff -C2 -d -r1.287 -r1.288
*** NEWS 2001/10/19 01:31:59 1.287
--- NEWS 2001/10/19 02:05:35 1.288
***************
*** 1,4 ****
What's New in Python 2.2b1?
! Release date: 28-Sep-2100
===========================
--- 1,4 ----
What's New in Python 2.2b1?
! Release date: 19-Oct-2001
===========================
***************
*** 41,44 ****
--- 41,49 ----
proxy reference has been fixed.
+ - unicode(obj) now behaves more like str(obj), accepting arbitrary
+ objects, and calling a __unicode__ method if it exists.
+ unicode(obj, encoding) and unicode(obj, encoding, errors) still
+ require an 8-bit string argument.
+
Extension modules
***************
*** 131,134 ****
--- 136,142 ----
tested on Linux and Windows; other platforms please beware (and
report any bugs or strange behavior).
+
+ - PyUnicode_FromEncodedObject() no longer accepts Unicode objects as
+ input.
New platforms