[Python-checkins] CVS: python/dist/src/Misc NEWS,1.334.2.2,1.334.2.3

Tim Peters tim_one@users.sourceforge.net
Fri, 14 Dec 2001 09:55:54 -0800


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

Modified Files:
      Tag: r22rc1-branch
	NEWS 
Log Message:
NDEBUG news.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.334.2.2
retrieving revision 1.334.2.3
diff -C2 -d -r1.334.2.2 -r1.334.2.3
*** NEWS	2001/12/14 17:48:58	1.334.2.2
--- NEWS	2001/12/14 17:55:51	1.334.2.3
***************
*** 85,88 ****
--- 85,96 ----
  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 caused 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
***************
*** 112,115 ****
--- 120,124 ----
  - In unix-Python on Mac OS X (and darwin) sys.platform is now "darwin",
    without any trailing digits.
+ 
  
  What's New in Python 2.2b2?