summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2001-12-14 20:47:12 (GMT)
committerBarry Warsaw <barry@python.org>2001-12-14 20:47:12 (GMT)
commit0655745ab02c04f37e3c68d78048be11164b43e5 (patch)
treec4546feee96ee6d8b8257f270cccea72d32db294 /Misc
parent7675097d78999b7087a487b479b388ef7a7aa91e (diff)
downloadcpython-0655745ab02c04f37e3c68d78048be11164b43e5.zip
cpython-0655745ab02c04f37e3c68d78048be11164b43e5.tar.gz
cpython-0655745ab02c04f37e3c68d78048be11164b43e5.tar.bz2
Merge last minute 2.2c1 changes from branch to trunk.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS30
1 files changed, 30 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 903ff37..5c55d2c 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -4,6 +4,13 @@ Release date: 14-Dec-2001
Type/class unification and new-style classes
+- Guido's tutorial introduction to the new type/class features has
+ been extensively updated. See
+
+ http://www.python.org/2.2/descrintro.html
+
+ That remains the primary documentation in this area.
+
- Fixed a leak: instance variables declared with __slots__ were never
deleted!
@@ -73,10 +80,27 @@ Library
- The charset alias windows_1252 has been added.
+- types.StringTypes is a tuple containing the defined string types;
+ usually this will be (str, unicode), but if Python was compiled
+ without Unicode support it will be just (str,).
+
+- The pulldom and minidom modules were synchronized to PyXML.
+
Tools/Demos
+- A new script called Tools/scripts/google.py was added, which fires
+ off a search on Google.
+
Build
+- Note that release builds of Python should arrange to define the
+ preprocessor symbol NDEBUG on the command line (or equivalent).
+ In the 2.2 pre-release series we tried to define this by magic in
+ Python.h instead, but it proved to cause problems for extension
+ authors. The Unix, Windows and Mac builds now all define NDEBUG in
+ release builds via cmdline (or equivalent) instead. Ports to
+ other platforms should do likewise.
+
- It is no longer necessary to use --with-suffix when building on a
case-insensitive file system (such as Mac OS X HFS+). In the build
directory an extension is used, but not in the installed python.
@@ -105,6 +129,12 @@ Mac
- In unix-Python on Mac OS X (and darwin) sys.platform is now "darwin",
without any trailing digits.
+- Changed logic for finding python home in Mac OS X framework Pythons.
+ Now sys.executable points to the executable again, in stead of to
+ the shared library. The latter is used only for locating the python
+ home.
+
+
What's New in Python 2.2b2?
Release date: 16-Nov-2001
===========================