[Python-checkins] CVS: python/dist/src/Misc NEWS,1.335,1.336
Barry Warsaw
bwarsaw@users.sourceforge.net
Fri, 14 Dec 2001 12:44:34 -0800
Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv17008
Modified Files:
NEWS
Log Message:
Merge last minute 2.2c1 changes from branch to trunk.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.335
retrieving revision 1.336
diff -C2 -d -r1.335 -r1.336
*** NEWS 2001/12/14 17:08:12 1.335
--- NEWS 2001/12/14 20:44:32 1.336
***************
*** 5,8 ****
--- 5,15 ----
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!
***************
*** 74,81 ****
--- 81,105 ----
- 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
***************
*** 105,108 ****
--- 129,138 ----
- 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?