summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-10-19 02:05:35 (GMT)
committerGuido van Rossum <guido@python.org>2001-10-19 02:05:35 (GMT)
commit1c486099adb1ec399430971c9215918f3db56d31 (patch)
tree78310d4d395793118e5f83a40ff1aa363aa81357 /Misc
parentb8c65bc27ffc61c659180c351d3cc283abd1be45 (diff)
downloadcpython-1c486099adb1ec399430971c9215918f3db56d31.zip
cpython-1c486099adb1ec399430971c9215918f3db56d31.tar.gz
cpython-1c486099adb1ec399430971c9215918f3db56d31.tar.bz2
Note the Unicode changes from SF patch #470578.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS10
1 files changed, 9 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index a03bb09..18fcde8 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1,5 +1,5 @@
What's New in Python 2.2b1?
-Release date: 28-Sep-2100
+Release date: 19-Oct-2001
===========================
Type/class unification and new-style classes
@@ -40,6 +40,11 @@ Core and builtins
A bug which could allow a core dump when binary operations involved
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
- thread.start_new_thread() now returns the thread ID (previously None).
@@ -131,6 +136,9 @@ C API
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
Tests