[Python-checkins] CVS: python/dist/src README,1.132,1.132.2.1
Tim Peters
tim_one@users.sourceforge.net
Fri, 14 Dec 2001 09:46:36 -0800
Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv5926/c1
Modified Files:
Tag: r22rc1-branch
README
Log Message:
Add info about the descr tutorial and the need for new ports to define
NDEBUG in release builds. I'm not sure the descr info really fits here,
though!
Index: README
===================================================================
RCS file: /cvsroot/python/python/dist/src/README,v
retrieving revision 1.132
retrieving revision 1.132.2.1
diff -C2 -d -r1.132 -r1.132.2.1
*** README 2001/12/12 11:46:52 1.132
--- README 2001/12/14 17:46:33 1.132.2.1
***************
*** 86,90 ****
--- 86,95 ----
authors, translators, and people with special formatting requirements.
+ The best documentation for the new (in Python 2.2) type/class unification
+ features is Guido's tutorial introduction, at
+
+ http://www.python.org/2.2/descrintro.html
+
Web sites
---------
***************
*** 395,408 ****
with a SEGV due to the small stack size used by default, if you do
"limit stacksize 2048" before "make test" it should work.
!
On naked Darwin you may want to add the configure option
"--disable-toolbox-glue" to disable the glue code for the Carbon
interface modules. The modules themselves are currently only built
if you add the --enable-framework option, see below.
!
On a clean OSX /usr/local does not exist. Do a "sudo mkdir -m 775 /usr/local"
before you do a make install. Alternatively, do "sudo make install"
which installs everything as superuser.
!
You may want to try the configure option "--enable-framework" which
installs Python as a framework. The location can be set as argument
--- 400,413 ----
with a SEGV due to the small stack size used by default, if you do
"limit stacksize 2048" before "make test" it should work.
!
On naked Darwin you may want to add the configure option
"--disable-toolbox-glue" to disable the glue code for the Carbon
interface modules. The modules themselves are currently only built
if you add the --enable-framework option, see below.
!
On a clean OSX /usr/local does not exist. Do a "sudo mkdir -m 775 /usr/local"
before you do a make install. Alternatively, do "sudo make install"
which installs everything as superuser.
!
You may want to try the configure option "--enable-framework" which
installs Python as a framework. The location can be set as argument
***************
*** 827,830 ****
--- 832,840 ----
of int if they need to be defined at all.
+ For all platforms, it's important that the build arrange to define the
+ preprocessor symbol NDEBUG on the compiler command line in a release
+ build of Python (else assert() calls remain in the code, hurting
+ release-build performance). The Unix, Windows and Mac builds already
+ do this.