blob: 595c1129f9f21d25cbbbc01585e93c307c06370f [file] [log] [blame]
Guido van Rossum901454e2000-06-29 22:28:44 +00001This is Python version 2.0
Guido van Rossum91447632000-04-11 17:11:09 +00002==========================
3
Guido van Rossum901454e2000-06-29 22:28:44 +00004There are various beta versions -- these are distinguishable through
5Include/patchlevel.h or by the name of the top-level directory and the
6tar file.
Guido van Rossum79808261997-12-11 18:01:47 +00007
8
Guido van Rossum8d7d4ed1996-07-30 21:41:07 +00009What's new in this release?
10---------------------------
Guido van Rossum3ff96dd1996-07-30 18:05:04 +000011
Guido van Rossum81db1a32000-08-23 19:01:43 +000012See http://www.pythonlabs.com/tech/python2.html .
Guido van Rossum64773801997-11-26 17:07:02 +000013
Guido van Rossum64773801997-11-26 17:07:02 +000014
15If you don't read instructions
16------------------------------
17
18Congratulations on getting this far. :-)
19
20To start building right away (on UNIX): type "./configure" in the
21current directory and when it finishes, type "make". The section
Guido van Rossum7ac11532000-08-29 21:36:40 +000022Build Instructions below is still recommended reading, especially the
23part on customizing Modules/Setup.
Guido van Rossum3ff96dd1996-07-30 18:05:04 +000024
25
Guido van Rossum91cb9d21995-04-10 11:47:38 +000026What is Python anyway?
27----------------------
28
29Python is an interpreted object-oriented programming language, and is
Guido van Rossumc0be2f51997-10-08 05:05:28 +000030often compared to Tcl, Perl, Java or Scheme. To find out more, point
Guido van Rossum973e4dc2000-07-01 00:34:39 +000031your browser to http://www.pythonlabs.com/.
Guido van Rossum91cb9d21995-04-10 11:47:38 +000032
33
Guido van Rossumf501b4e1996-10-25 14:32:48 +000034How do I learn Python?
35----------------------
36
Fred Drake0e6444c1999-05-17 19:35:01 +000037The official tutorial is still a good place to start; see
Guido van Rossumd0a42e22000-03-31 20:16:45 +000038http://www.python.org/doc/ for online and downloadable versions, as
39well as a list of other introductions, and reference documentation.
Guido van Rossumf501b4e1996-10-25 14:32:48 +000040
Guido van Rossumd0a42e22000-03-31 20:16:45 +000041There's a quickly growing set of books on Python. See
42http://www.python.org/psa/bookstore/ for a list.
Guido van Rossum8d90f9d1997-05-22 20:13:25 +000043
Guido van Rossumf501b4e1996-10-25 14:32:48 +000044
Guido van Rossum91cb9d21995-04-10 11:47:38 +000045Copyright issues
46----------------
47
48Python is COPYRIGHTED but free to use for all. See the full copyright
Guido van Rossum64773801997-11-26 17:07:02 +000049notice at the end of this file and in the file Misc/COPYRIGHT.
Guido van Rossum91cb9d21995-04-10 11:47:38 +000050
51The Python distribution is *not* affected by the GNU Public Licence
52(GPL). There are interfaces to some GNU code but these are entirely
Guido van Rossum64773801997-11-26 17:07:02 +000053optional and no GNU code is distributed with Python.
Guido van Rossum91cb9d21995-04-10 11:47:38 +000054
Guido van Rossum627b2d71993-12-24 10:39:16 +000055
Guido van Rossum901454e2000-06-29 22:28:44 +000056
Guido van Rossum433c8ad1994-08-01 12:07:07 +000057Build instructions
Guido van Rossum91cb9d21995-04-10 11:47:38 +000058==================
Guido van Rossum627b2d71993-12-24 10:39:16 +000059
Guido van Rossum6d9cc801996-08-01 17:31:22 +000060Before you can build Python, you must first configure it.
61Fortunately, the configuration and build process has been streamlined
62for most Unix installations, so all you have to do is type a few
63commands, optionally edit one file, and sit back. There are some
64platforms where things are not quite as smooth; see the platform
65specific notes below. If you want to build for multiple platforms
66sharing the same source tree, see the section on VPATH below.
Guido van Rossum627b2d71993-12-24 10:39:16 +000067
Guido van Rossum6d9cc801996-08-01 17:31:22 +000068You start by running the script "./configure", which figures out your
69system configuration and creates several Makefiles. (It takes a
70minute or two -- please be patient!) When it's done, you are ready to
Guido van Rossum7ac11532000-08-29 21:36:40 +000071run make. You may want to pass options to the configure script, or
72edit the Setup file -- see the section below on configuration options
73and variables.
Guido van Rossum6d9cc801996-08-01 17:31:22 +000074
75To build Python, you normally type "make" in the toplevel directory.
76This will recursively run make in each of the subdirectories Parser,
77Objects, Python and Modules, creating a library file in each one. The
78executable of the interpreter is built in the Modules subdirectory and
79moved up here when it is built. If you want or need to, you can also
80chdir into each subdirectory in turn and run make there manually (do
81the Modules subdirectory last!).
82
83Once you have built an interpreter, see the subsections below on
84testing, configuring additional modules, and installation. If you run
85in trouble, see the next section.
Guido van Rossum627b2d71993-12-24 10:39:16 +000086
Guido van Rossum0a516c91994-09-12 10:58:40 +000087
Guido van Rossum91cb9d21995-04-10 11:47:38 +000088Troubleshooting
89---------------
Guido van Rossum627b2d71993-12-24 10:39:16 +000090
Guido van Rossum6d9cc801996-08-01 17:31:22 +000091See also the platform specific notes in the next section.
92
Guido van Rossumfaf681a1996-06-20 14:32:08 +000093If recursive makes fail, try invoking make as "make MAKE=make".
94
Guido van Rossum49523691997-08-15 18:30:14 +000095If you run into other trouble, see section 3 of the FAQ
Guido van Rossum901454e2000-06-29 22:28:44 +000096(http://www.python.org/cgi-bin/faqw.py or
Guido van Rossum49523691997-08-15 18:30:14 +000097http://www.python.org/doc/FAQ.html) for hints on what can go wrong,
98and how to fix it.
Guido van Rossum91cb9d21995-04-10 11:47:38 +000099
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000100If you rerun the configure script with different options, remove all
101object files by running "make clean" before rebuilding. Believe it or
102not, "make clean" sometimes helps to clean up other inexplicable
103problems as well. Try it before sending in a bug report!
104
Guido van Rossumd0fe8451996-08-26 03:02:37 +0000105If the configure script fails or doesn't seem to find things that
Guido van Rossumc0be2f51997-10-08 05:05:28 +0000106should be there, inspect the config.log file. When you fix a
107configure problem, be sure to remove config.cache!
108
109If you get a warning for every file about the -Olimit option being no
110longer supported, you can ignore it. There's no foolproof way to know
111whether this option is needed; all I can do is test whether it is
112accepted without error. On some systems, e.g. older SGI compilers, it
113is essential for performance (specifically when compiling ceval.c,
114which has more basic blocks than the default limit of 1000). If the
115warning bothers you, edit the Makefile to remove "-Olimit 1500" from
116the OPT variable.
Guido van Rossumd0fe8451996-08-26 03:02:37 +0000117
Guido van Rossum7ac11532000-08-29 21:36:40 +0000118If you get failures in test_long, or sys.maxint gets set to -1, you
119are probably experiencing compiler bugs, usually related to
120optimization. This is a common problem with some versions of gcc and
121egcs, and some vendor-supplied compilers, which can sometimes be
122worked around by turning off optimization. Consider switching to
123stable versions (gcc 2.7.2.3, egcs 1.1.2, or contact your vendor.)
124
125From Python 2.0 onward, all Python C code is ANSI C. Compiling using
126old K&R-C-only compilers is no longer possible. ANSI C compilers are
127available for all modern systems, either in the form of updated
128compilers from the vendor, or one of the free compilers (gcc, egcs).
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000129
130Platform specific notes
131-----------------------
132
Guido van Rossum0447a321995-10-08 01:22:33 +0000133(Some of these may no longer apply. If you find you can build Python
134on these platforms without the special directions mentioned here, let
135me know so I can remove them!)
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000136
Guido van Rossumc0be2f51997-10-08 05:05:28 +000013764-bit platforms: The modules audioop, imageop and rgbimg don't work.
138 Don't try to enable them in the Modules/Setup file. They
139 contain code that is quite wordsize sensitive. (If you have a
140 fix, let me know!)
141
Guido van Rossum4462e931997-01-22 21:00:32 +0000142Solaris: When using Sun's C compiler with threads, at least on Solaris
143 2.5.1, you need to add the "-mt" compiler option (the simplest
144 way is probably to specify the compiler with this option as
145 the "CC" environment variable when running the configure
146 script).
147
Guido van Rossum7ac11532000-08-29 21:36:40 +0000148Linux: A problem with threads and fork() was tracked down to a bug in
149 the pthreads code in glibc version 2.0.5; glibc version 2.0.7
150 solves the problem. This causes the popen2 test to fail;
151 problem and solution reported by Pablo Bleyer.
Guido van Rossum4462e931997-01-22 21:00:32 +0000152
Guido van Rossum7ac11532000-08-29 21:36:40 +0000153 Under Linux systems using GNU libc 2 (aka libc6), the crypt
154 module now needs the -lcrypt option. Uncomment this flag in
155 Modules/Setup, or comment out the crypt module in the same
156 file. Most modern Linux systems use glibc2.
Fred Drake61280911997-12-08 14:10:40 +0000157
Guido van Rossum59230501999-06-21 20:51:46 +0000158FreeBSD 3.x and probably platforms with NCurses that use libmytinfo or
159 similar: When using cursesmodule, the linking is not done in
160 the correct order with the defaults. Remove "-ltermcap" from
161 the readline entry in Setup, and use as curses entry: "curses
162 cursesmodule.c -lmytinfo -lncurses -ltermcap" - "mytinfo" (so
163 called on FreeBSD) should be the name of the auxiliary library
164 required on your platform. Normally, it would be linked
165 automatically, but not necessarily in the correct order.
166
Guido van Rossum7ac11532000-08-29 21:36:40 +0000167BSDI: BSDI versions before 4.1 have known problems with threads,
168 which can cause strange errors in a number of modules (for
169 instance, the 'test_signal' test script will hang forever.)
170 Turning off threads (with --with-threads=no) or upgrading to
171 BSDI 4.1 solves this problem.
172
173DEC Unix: Run configure with --with-dec-threads, or with
174 --with-threads=no if no threads are desired (threads are on by
175 default). When using GCC, it is possible to get an internal
176 compiler error if optimization is used. This was reported for
177 GCC 2.7.2.3 on selectmodule.c. Manually compile the affected
178 file without optimization to solve the problem.
Guido van Rossum8eca2c21996-02-14 18:37:46 +0000179
Guido van Rossume1cdb161999-04-10 16:04:07 +0000180DEC Ultrix: compile with GCC to avoid bugs in the native compiler,
181 and pass SHELL=/bin/sh5 to Make when installing.
182
Guido van Rossumd0fe8451996-08-26 03:02:37 +0000183AIX: A complete overhaul of the shared library support is now in
Guido van Rossumcbfcb171997-10-20 22:57:00 +0000184 place. See Misc/AIX-NOTES for some notes on how it's done.
Guido van Rossum9ac9a261998-02-16 22:19:21 +0000185 (The optimizer bug reported at this place in previous releases
186 has been worked around by a minimal code change.)
Guido van Rossumed7f9e21999-11-16 16:03:03 +0000187 In addition, Gary Duzan has a hint for C++ users: to enable
188 full C++ module support, set CC="xlC" (or CC="xlC_r" for thread
189 support in AIX 4.2.1).
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000190
Guido van Rossum59a88f41999-04-12 18:16:09 +0000191HP-UX: Please read the file Misc/HPUX-NOTES for shared libraries.
192 When using threading, you may have to add -D_REENTRANT to the
193 OPT variable in the top-level Makefile; reported by Pat Knight
194 this seems to make a difference (at least for HP-UX 10.20)
195 even though config.h defines it.
Guido van Rossum2094e041998-05-14 15:47:35 +0000196
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000197Minix: When using ack, use "CC=cc AR=aal RANLIB=: ./configure"!
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000198
Guido van Rossuma16e2751998-04-13 20:14:05 +0000199SCO: The following only apply to SCO 3; Python builds out of the box
200 on SCO 5 (or so I've heard).
201
202 1) Everything works much better if you add -U__STDC__ to the
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000203 defs. This is because all the SCO header files are broken.
Guido van Rossum64773801997-11-26 17:07:02 +0000204 Anything that isn't mentioned in the C standard is
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000205 conditionally excluded when __STDC__ is defined.
206
207 2) Due to the U.S. export restrictions, SCO broke the crypt
208 stuff out into a separate library, libcrypt_i.a so the LIBS
209 needed be set to:
210
211 LIBS=' -lsocket -lcrypt_i'
212
Guido van Rossum7ac11532000-08-29 21:36:40 +0000213SunOS 4.x: When using the SunPro C compiler, you may want to use the
Guido van Rossum64773801997-11-26 17:07:02 +0000214 '-Xa' option instead of '-Xc', to enable some needed non-ANSI
215 Sunisms.
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000216
Guido van Rossumcc55c2d1996-10-21 15:14:27 +0000217NeXT: To build fat binaries, use the --with-next-archs switch
218 described below.
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000219
Guido van Rossumb7f454d1997-12-02 19:44:31 +0000220QNX: Chris Herborth (chrish@qnx.com) writes:
221 configure works best if you use GNU bash; a port is available on
222 ftp.qnx.com in /usr/free. I used the following process to build,
Guido van Rossumd4493421998-12-22 16:37:01 +0000223 test and install Python 1.5.x under QNX:
Guido van Rossumb7f454d1997-12-02 19:44:31 +0000224
Guido van Rossumec95c7b1998-08-04 17:59:56 +0000225 1) CONFIG_SHELL=/usr/local/bin/bash CC=cc RANLIB=: \
226 ./configure --verbose --without-gcc --with-libm=""
Guido van Rossumb7f454d1997-12-02 19:44:31 +0000227
228 2) copy Modules/Setup.in to Modules/Setup; edit Modules/Setup to
229 activate everything that makes sense for your system... tested
230 here at QNX with the following modules:
231
Guido van Rossum6fa49e21998-08-11 17:31:39 +0000232 array, audioop, binascii, cPickle, cStringIO, cmath,
233 crypt, curses, errno, fcntl, gdbm, grp, imageop,
234 _locale, math, md5, new, operator, parser, pcre,
235 posix, pwd, readline, regex, reop, rgbimg, rotor,
236 select, signal, socket, soundex, strop, struct,
Guido van Rossumd4493421998-12-22 16:37:01 +0000237 syslog, termios, time, timing, zlib, audioop, imageop, rgbimg
Guido van Rossumb7f454d1997-12-02 19:44:31 +0000238
Guido van Rossumec95c7b1998-08-04 17:59:56 +0000239 3) make SHELL=/usr/local/bin/bash
240
241 or, if you feel the need for speed:
242
243 make SHELL=/usr/local/bin/bash OPT="-5 -Oil+nrt"
Guido van Rossumb7f454d1997-12-02 19:44:31 +0000244
Guido van Rossumec95c7b1998-08-04 17:59:56 +0000245 4) make SHELL=/usr/local/bin/bash test
246
Guido van Rossum6fa49e21998-08-11 17:31:39 +0000247 Using GNU readline 2.2 seems to behave strangely, but I
248 think that's a problem with my readline 2.2 port. :-\
Guido van Rossumec95c7b1998-08-04 17:59:56 +0000249
250 5) make SHELL=/usr/local/bin/bash install
Guido van Rossumb7f454d1997-12-02 19:44:31 +0000251
Guido van Rossum6fa49e21998-08-11 17:31:39 +0000252 If you get SIGSEGVs while running Python (I haven't yet, but
253 I've only run small programs and the test cases), you're
254 probably running out of stack; the default 32k could be a
255 little tight. To increase the stack size, edit the Makefile
256 in the Modules directory to read: LDFLAGS = -N 48k
Guido van Rossum40d63581997-08-14 19:45:30 +0000257
Guido van Rossumec95c7b1998-08-04 17:59:56 +0000258BeOS: Chris Herborth (chrish@qnx.com) writes:
259 See BeOS/README for notes about compiling/installing Python on
Guido van Rossum6fa49e21998-08-11 17:31:39 +0000260 BeOS R3 or later. Note that only the PowerPC platform is
Guido van Rossumd4493421998-12-22 16:37:01 +0000261 supported for R3; both PowerPC and x86 are supported for R4.
Guido van Rossumec95c7b1998-08-04 17:59:56 +0000262
Guido van Rossum1bf0bf41997-08-20 23:50:51 +0000263Cray T3E: Konrad Hinsen writes:
Guido van Rossum6fa49e21998-08-11 17:31:39 +0000264 1) Don't use gcc. It compiles Python/graminit.c into something
265 that the Cray assembler doesn't like. Cray's cc seems to work
266 fine.
Guido van Rossum7ac11532000-08-29 21:36:40 +0000267 2) Comment out modules md5 (won't compile) and audioop (will
Guido van Rossum6fa49e21998-08-11 17:31:39 +0000268 crash the interpreter during the test suite).
269 If you run the test suite, two tests will fail (rotate and
270 binascii), but these are not the modules you'd expect to need
271 on a Cray.
Guido van Rossum1bf0bf41997-08-20 23:50:51 +0000272
Guido van Rossum0078aaf1997-08-21 03:05:11 +0000273SGI: SGI's standard "make" utility (/bin/make or /usr/bin/make)
274 does not check whether a command actually changed the file it
275 is supposed to build. This means that whenever you say "make"
276 it will redo the link step. The remedy is to use SGI's much
Guido van Rossumc0be2f51997-10-08 05:05:28 +0000277 smarter "smake " utility (/usr/sbin/smake), or GNU make. If
278 you set the first line of the Makefile to #!/usr/sbin/smake
279 smake will be invoked by make (likewise for GNU make).
Guido van Rossum0078aaf1997-08-21 03:05:11 +0000280
Guido van Rossum64773801997-11-26 17:07:02 +0000281OS/2: If you are running Warp3 or Warp4 and have IBM's VisualAge C/C++
282 compiler installed, just change into the pc\os2vacpp directory
283 and type NMAKE. Threading and sockets are supported by default
284 in the resulting binaries of PYTHON15.DLL and PYTHON.EXE.
285
Trent Mick635f6fb2000-08-23 21:33:05 +0000286Monterey (64-bit AIX):
287 The current Monterey C compiler (Visual Age) uses the OBJECT_MODE={32|64}
288 environment variable to set the compilation mode to either 32-bit or
289 64-bit (32-bit mode is the default). Presumably you want 64-bit
290 compilation mode for this 64-bit OS. As a result you must first set
291 OBJECT_MODE=64 in you environment before configuring (./configure) or
292 building (make) Python on Monterey.
293
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000294
Guido van Rossumdc8a3cb1998-05-12 15:29:18 +0000295Configuring threads
296-------------------
297
Guido van Rossum7ac11532000-08-29 21:36:40 +0000298As of Python 2.0, threads are enabled by default. If you wish to
299compile without threads, or if your thread support is broken, pass the
300--with-threads=no switch to configure. Unfortunately, on some
301platforms, additional compiler and/or linker options are required for
302threads to work properly. Below is a table of those options,
303collected by Bill Janssen. I would love to automate this process
304more, but the information below is not enough to write a patch for the
305configure.in file, so manual intervention is required. If you patch
306the configure.in file and are confident that the patch works, please
307send me the patch. (Don't bother patching the configure script itself
308-- it is regenerated each the configure.in file changes.)
Guido van Rossumdc8a3cb1998-05-12 15:29:18 +0000309
310Compiler switches for threads
311.............................
312
313 OS/Compiler/threads Switches for use with threads
314 (POSIX is draft 10, DCE is draft 4) (1) compile only (2) compile & link
315
316 SunOS 5.{1-5}/{gcc,SunPro cc}/solaris (1) -D_REENTRANT (2) -mt
317 SunOS 5.5/{gcc,SunPro cc}/POSIX (1) -D_REENTRANT
318 DEC OSF/1 3.x/cc/DCE (1) -D_REENTRANT (2) -threads
319 (butenhof@zko.dec.com)
320 Digital UNIX 4.x/cc/DCE (1) -D_REENTRANT (2) -threads
321 (butenhof@zko.dec.com)
322 Digital UNIX 4.x/cc/POSIX (1) -D_REENTRANT (2) -pthread
323 (butenhof@zko.dec.com)
324 AIX 4.1.4/cc_r/d7 (nothing)
325 (buhrt@iquest.net)
326 AIX 4.1.4/cc_r4/DCE (nothing)
327 (buhrt@iquest.net)
328 IRIX 6.2/cc/POSIX (nothing)
329 (robertl@cwi.nl)
330
331
332Linker (ld) libraries and flags for threads
333...........................................
334
335 OS/threads Libraries/switches for use with threads
336
337 SunOS 5.{1-5}/solaris -lthread
338 SunOS 5.5/POSIX -lpthread
339 DEC OSF/1 3.x/DCE -lpthreads -lmach -lc_r -lc
340 (butenhof@zko.dec.com)
341 Digital UNIX 4.x/DCE -lpthreads -lpthread -lmach -lexc -lc
342 (butenhof@zko.dec.com)
343 Digital UNIX 4.x/POSIX -lpthread -lmach -lexc -lc
344 (butenhof@zko.dec.com)
345 AIX 4.1.4/{draft7,DCE} (nothing)
346 (buhrt@iquest.net)
347 IRIX 6.2/POSIX -lpthread
348 (jph@emilia.engr.sgi.com)
349
350
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000351Configuring additional built-in modules
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000352---------------------------------------
Guido van Rossum19e0c261995-01-17 16:36:34 +0000353
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000354You can configure the interpreter to contain fewer or more built-in
355modules by editing the file Modules/Setup. This file is initially
356copied (when the toplevel Makefile makes Modules/Makefile for the
357first time) from Setup.in; if it does not exist yet, make a copy
358yourself. Never edit Setup.in -- always edit Setup. Read the
359comments in the file for information on what kind of edits you can
360make. When you have edited Setup, Makefile and config.c in Modules
361will automatically be rebuilt the next time you run make in the
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000362toplevel directory. (When working inside the Modules directory, use
363"make Makefile; make".)
Guido van Rossum627b2d71993-12-24 10:39:16 +0000364
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000365The default collection of modules should build on any Unix system, but
366many optional modules should work on all modern Unices (e.g. try dbm,
Guido van Rossumd0fe8451996-08-26 03:02:37 +0000367nis, termios, timing, syslog, curses, new, soundex, parser). Often
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000368the quickest way to determine whether a particular module works or not
369is to see if it will build: enable it in Setup, then if you get
370compilation or link errors, disable it -- you're missing support.
371
372On SGI IRIX, there are modules that interface to many SGI specific
373system libraries, e.g. the GL library and the audio hardware.
374
375For SunOS and Solaris, enable module "sunaudiodev" to support the
Guido van Rossum7ac11532000-08-29 21:36:40 +0000376audio device. Likewise, for Linux systems, enable "linuxaudiodev".
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000377
Guido van Rossum4462e931997-01-22 21:00:32 +0000378In addition to the file Setup, you can also edit the file Setup.local.
379(the makesetup script processes both). You may find it more
380convenient to edit Setup.local and leave Setup alone. Then, when
381installing a new Python version, you can copy your old Setup.local
382file.
383
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000384
385Setting the optimization/debugging options
386------------------------------------------
387
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000388If you want or need to change the optimization/debugging options for
389the C compiler, assign to the OPT variable on the toplevel make
390command; e.g. "make OPT=-g" will build a debugging version of Python
391on most platforms. The default is OPT=-O; a value for OPT in the
392environment when the configure script is run overrides this default
393(likewise for CC; and the initial value for LIBS is used as the base
394set of libraries to link with).
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000395
396
397Testing
398-------
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000399
400To test the interpreter that you have just built, type "make test".
Guido van Rossum6ae5d3d1997-05-14 21:39:05 +0000401This runs the test set twice (once with no compiled files, once with
402the compiled files left by the previous test run). The test set
403produces some output. You can generally ignore the messages about
404skipped tests due to an optional feature that can't be imported (if
405you want to test those modules, edit Modules/Setup to configure them).
406If a messages is printed about a failed test or a traceback or core
Guido van Rossum24df6841997-12-30 04:32:30 +0000407dump is produced, something's wrong. On some Linux systems (those
408that are not yet using glibc 6), test_strftime fails due to a
409non-standard-compliant implementation of strftime() in the C library.
410Please ignore this, or upgrade to glibc version 6.
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000411
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000412IMPORTANT: If the tests fail and you decide to mail a bug report,
413*don't* include the output of "make test". It is useless. Run the
Guido van Rossum6ae5d3d1997-05-14 21:39:05 +0000414test that fails manually, as follows:
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000415
Guido van Rossum6ae5d3d1997-05-14 21:39:05 +0000416 python ../Lib/test/test_whatever.py
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000417
418(substituting the top of the source tree for .. if you built in a
Guido van Rossum6ae5d3d1997-05-14 21:39:05 +0000419different directory). This runs the test in verbose mode.
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000420
421
422Installing
423----------
424
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000425To install the Python binary, library modules, shared library modules
426(see below), include files, configuration files, and the manual page,
Guido van Rossum64773801997-11-26 17:07:02 +0000427just type
428
429 make install
430
431This will install all platform-independent files in subdirectories the
432directory given with the --prefix option to configure or the 'prefix'
433Make variable (default /usr/local), and all binary and other
434platform-specific files in subdirectories if the directory given by
435--exec-prefix or the 'exec_prefix' Make variable (defaults to the
436--prefix directory).
437
438All subdirectories created will have Python's version number in their
439name, e.g. the library modules are installed in
Guido van Rossum901454e2000-06-29 22:28:44 +0000440"/usr/local/lib/python2.0/" by default. The Python binary is
441installed as "python2.0" and a hard link named "python" is created.
Guido van Rossum64773801997-11-26 17:07:02 +0000442The only file not installed with a version number in its name is the
443manual page, installed as "/usr/local/man/man1/python.1" by default.
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000444
Guido van Rossum901454e2000-06-29 22:28:44 +0000445If you have a previous installation of a pre-2.0 Python that you don't
Guido van Rossum64773801997-11-26 17:07:02 +0000446want to replace yet, use
447
448 make altinstall
449
450This installs the same set of files as "make install" except it
Guido van Rossum901454e2000-06-29 22:28:44 +0000451doesn't create the hard link to "python2.0" named "python" and it
Guido van Rossum64773801997-11-26 17:07:02 +0000452doesn't install the manual page at all.
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000453
454The only thing you may have to install manually is the Python mode for
455Emacs. (But then again, more recent versions of Emacs may already
456have it!) This is the file Misc/python-mode.el; follow the
457instructions that came with Emacs for installation of site specific
458files.
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000459
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000460
461Configuration options and variables
462-----------------------------------
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000463
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000464Some special cases are handled by passing options to the configure
465script.
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000466
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000467WARNING: if you rerun the configure script with different options, you
468must run "make clean" before rebuilding. Exceptions to this rule:
469after changing --prefix or --exec-prefix, all you need to do is remove
Guido van Rossumb06df271997-08-05 21:50:20 +0000470Modules/getpath.o.
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000471
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000472--with(out)-gcc: The configure script uses gcc (the GNU C compiler) if
473 it finds it. If you don't want this, or if this compiler is
474 installed but broken on your platform, pass the option
475 --without-gcc. You can also pass "CC=cc" (or whatever the
476 name of the proper C compiler is) in the environment, but the
477 advantage of using --without-gcc is that this option is
478 remembered by the config.status script for its --recheck
479 option.
Guido van Rossum76be6ed1995-01-02 18:33:54 +0000480
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000481--prefix, --exec-prefix: If you want to install the binaries and the
482 Python library somewhere else than in /usr/local/{bin,lib},
483 you can pass the option --prefix=DIRECTORY; the interpreter
484 binary will be installed as DIRECTORY/bin/python and the
485 library files as DIRECTORY/lib/python/*. If you pass
486 --exec-prefix=DIRECTORY (as well) this overrides the
487 installation prefix for architecture-dependent files (like the
488 interpreter binary). Note that --prefix=DIRECTORY also
489 affects the default module search path (sys.path), when
490 Modules/config.c is compiled. Passing make the option
491 prefix=DIRECTORY (and/or exec_prefix=DIRECTORY) overrides the
492 prefix set at configuration time; this may be more convenient
493 than re-running the configure script if you change your mind
494 about the install prefix...
Guido van Rossum76be6ed1995-01-02 18:33:54 +0000495
Guido van Rossumb06df271997-08-05 21:50:20 +0000496--with-readline: This option is no longer supported. To use GNU
497 readline, enable module "readline" in the Modules/Setup file.
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000498
Guido van Rossum7ac11532000-08-29 21:36:40 +0000499--with-threads: On most Unix systems, you can now use multiple
500 threads, and support for this is enabled by default. To
501 disable this, pass --with-threads=no. If the library required
502 for threads lives in a peculiar place, you can use
503 --with-thread=DIRECTORY. IMPORTANT: run "make clean" after
504 changing (either enabling or disabling) this option, or you
505 will get link errors! Note: for DEC Unix use
Guido van Rossum0e13da91998-02-22 04:36:34 +0000506 --with-dec-threads instead.
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000507
508--with-sgi-dl: On SGI IRIX 4, dynamic loading of extension modules is
509 supported by the "dl" library by Jack Jansen, which is
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000510 ftp'able from ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z.
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000511 This is enabled (after you've ftp'ed and compiled the dl
512 library!) by passing --with-sgi-dl=DIRECTORY where DIRECTORY
513 is the absolute pathname of the dl library. (Don't bother on
514 IRIX 5, it already has dynamic linking using SunOS style
515 shared libraries.) Support for this feature is deprecated.
516
517--with-dl-dld: Dynamic loading of modules is rumoured to be supported
518 on some other systems: VAX (Ultrix), Sun3 (SunOS 3.4), Sequent
519 Symmetry (Dynix), and Atari ST. This is done using a
520 combination of the GNU dynamic loading package
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000521 (ftp://ftp.cwi.nl/pub/dynload/dl-dld-1.1.tar.Z) and an
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000522 emulation of the SGI dl library mentioned above (the emulation
523 can be found at
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000524 ftp://ftp.cwi.nl/pub/dynload/dld-3.2.3.tar.Z). To
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000525 enable this, ftp and compile both libraries, then call the
526 configure passing it the option
527 --with-dl-dld=DL_DIRECTORY,DLD_DIRECTORY where DL_DIRECTORY is
528 the absolute pathname of the dl emulation library and
529 DLD_DIRECTORY is the absolute pathname of the GNU dld library.
530 (Don't bother on SunOS 4 or 5, they already have dynamic
531 linking using shared libraries.) Support for this feature is
532 deprecated.
533
534--with-libm, --with-libc: It is possible to specify alternative
535 versions for the Math library (default -lm) and the C library
536 (default the empty string) using the options
537 --with-libm=STRING and --with-libc=STRING, respectively. E.g.
538 if your system requires that you pass -lc_s to the C compiler
539 to use the shared C library, you can pass --with-libc=-lc_s.
540 These libraries are passed after all other libraries, the C
541 library last.
Guido van Rossum3ff96dd1996-07-30 18:05:04 +0000542
543--with-next-archs='arch1 arch2': Under NEXTSTEP, this will build
544 all compiled binaries with the architectures listed. Includes
545 correctly setting the target architecture specific resource
Guido van Rossumcc55c2d1996-10-21 15:14:27 +0000546 directory. (This option is not supported on other platforms.)
Guido van Rossum76be6ed1995-01-02 18:33:54 +0000547
Guido van Rossumd02ba451996-07-31 17:36:01 +0000548--with-libs='libs': Add 'libs' to the LIBS that the python
549 linked against.
550
Guido van Rossum76be6ed1995-01-02 18:33:54 +0000551
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000552Building for multiple architectures (using the VPATH feature)
553-------------------------------------------------------------
554
555If your file system is shared between multiple architectures, it
556usually is not necessary to make copies of the sources for each
557architecture you want to support. If the make program supports the
558VPATH feature, you can create an empty build directory for each
559architecture, and in each directory run the configure script (on the
560appropriate machine with the appropriate options). This creates the
561necessary subdirectories and the Makefiles therein. The Makefiles
562contain a line VPATH=... which points to directory containing the
Guido van Rossumd0fe8451996-08-26 03:02:37 +0000563actual sources. (On SGI systems, use "smake -J1" instead of "make" if
564you use VPATH -- don't try gnumake.)
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000565
566For example, the following is all you need to build a minimal Python
567in /usr/tmp/python (assuming ~guido/src/python is the toplevel
568directory and you want to build in /usr/tmp/python):
569
570 $ mkdir /usr/tmp/python
571 $ cd /usr/tmp/python
572 $ ~guido/src/python/configure
573 [...]
574 $ make
575 [...]
576 $
577
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000578Note that Modules/Makefile copies the original Setup file to the build
579directory if it finds no Setup file there. This means that you can
580edit the Setup file for each architecture independently. For this
581reason, subsequent changes to the original Setup file are not tracked
582automatically, as they might overwrite local changes. To force a copy
583of a changed original Setup file, delete the target Setup file. (The
584makesetup script supports multiple input files, so if you want to be
585fancy you can change the rules to create an empty Setup.local if it
586doesn't exist and run it with arguments $(srcdir)/Setup Setup.local;
587however this assumes that you only need to add modules.)
588
589
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000590Building on non-UNIX systems
591----------------------------
592
Guido van Rossum31ae2071999-04-12 14:47:30 +0000593For Windows 95/98 or NT, assuming you have MS VC++ 5.0 or 6.0, the
594project files are in PCbuild, the workspace is pcbuild.dsw. (The
595project files are for VC++ 5.0, but VC++ 6.0 will convert them for
596you -- start VC++ and then use Open Workspace.)
Guido van Rossum8d7d4ed1996-07-30 21:41:07 +0000597
Guido van Rossum31ae2071999-04-12 14:47:30 +0000598For other non-Unix Windows compilers, in particular Windows 3.1 and
599for OS/2, enter the directory "PC" and read the file "readme.txt".
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000600
601For the Mac, a separate source distribution will be made available,
602for use with the CodeWarrior compiler. If you are interested in Mac
603development, join the PythonMac Special Interest Group
604(http://www.python.org/sigs/pythonmac-sig/, or send email to
605pythonmac-sig-request@python.org).
606
607Of course, there are also binary distributions available for these
Guido van Rossum973e4dc2000-07-01 00:34:39 +0000608platforms -- see http://www.pythonlabs.com/downloads.html
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000609
610To port Python to a new non-UNIX system, you will have to fake the
611effect of running the configure script manually (for Mac and PC, this
612has already been done for you). A good start is to copy the file
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000613config.h.in to config.h and edit the latter to reflect the actual
614configuration of your system. Most symbols must simply be defined as
6151 only if the corresponding feature is present and can be left alone
Tim Peters4f1b2082000-07-23 21:18:09 +0000616otherwise; however the *_t type symbols must be defined as some variant
617of int if they need to be defined at all.
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000618
619
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000620
621Miscellaneous issues
622====================
623
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000624Documentation
625-------------
626
Fred Drake0e6444c1999-05-17 19:35:01 +0000627All documentation is provided online in a variety of formats. In
628order of importance for new users: Tutorial, Library Reference,
629Language Reference, Extending & Embedding, and the Python/C API.
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000630Especially the Library Reference is of immense value since much of
631Python's power (including the built-in data types and functions!) is
Fred Drake0e6444c1999-05-17 19:35:01 +0000632described there.
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000633
Fred Drake0e6444c1999-05-17 19:35:01 +0000634All documentation is also available online via the Python web site
Guido van Rossum973e4dc2000-07-01 00:34:39 +0000635(http://www.python.org/doc/, see below). It is available online for
Fred Drake0e6444c1999-05-17 19:35:01 +0000636occaissional reference, or can be downloaded in many formats for
637faster access. The documents are available in HTML, PostScript, PDF,
638HTML Help, and LaTeX; the LaTeX version is primarily for documentation
639authors or people with special formatting requirements.
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000640
641
642Emacs mode
643----------
644
Guido van Rossumc0be2f51997-10-08 05:05:28 +0000645There's an excellent Emacs editing mode for Python code; see the file
646Misc/python-mode.el. Originally written by the famous Tim Peters, it
647is now maintained by the equally famous Barry Warsaw
Guido van Rossum973e4dc2000-07-01 00:34:39 +0000648<bwarsaw@python.org>. The latest version, along with various other
649contributed Python-related Emacs goodies, is online at
Barry Warsawfe216b71998-05-29 20:56:34 +0000650<http://www.python.org/emacs/python-mode>. And if you are planning to
651edit the Python C code, please pick up the latest version of CC Mode
652<http://www.python.org/emacs/cc-mode>; it contains a "python" style
Guido van Rossum973e4dc2000-07-01 00:34:39 +0000653used throughout most of the Python C source files. (Newer versions of
654Emacs or XEmacs may already come with the latest version of
655python-mode.)
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000656
657
Guido van Rossum8d7d4ed1996-07-30 21:41:07 +0000658Web site
659--------
660
Guido van Rossum81db1a32000-08-23 19:01:43 +0000661Python's web site is at http://www.python.org/. The Python core
662development team at BeOpen has its own website at
663http://www.pythonlabs.com/. Come visit us!
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000664
665
Guido van Rossuma16e2751998-04-13 20:14:05 +0000666Newsgroups
667----------
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000668
Guido van Rossuma16e2751998-04-13 20:14:05 +0000669Read comp.lang.python, a high-volume discussion newsgroup about
670Python, or comp.lang.python.announce, a low-volume moderated newsgroup
671for Python-related announcements. These are also accessible as
672mailing lists, see the next item.
Guido van Rossumd0fe8451996-08-26 03:02:37 +0000673
Guido van Rossuma16e2751998-04-13 20:14:05 +0000674Archives are accessible via Deja News; the Python website has a
675query form for the archives at http://www.python.org/search/.
676
677
678Mailing lists
679-------------
680
681See http://www.python.org/psa/MailingLists.html for an overview of the
682many Python related mailing lists.
Guido van Rossumd0fe8451996-08-26 03:02:37 +0000683
684
685Bug reports
686-----------
687
Guido van Rossum81db1a32000-08-23 19:01:43 +0000688To report or search for bugs, please use the SourceForge Bugs
689Tracker at http://sourceforge.net/bugs/?group_id=5470 .
690
691
692Patches and contributions
693-------------------------
694
695To submit a patch or other contribution, please use the SourceForge
696Patch Manager at http://sourceforge.net/patch/?group_id=5470 .
697
698If you have a proposal to change Python, it's best to submit a Python
699Enhancement Proposal (PEP) first. All current PEPs, as well as
700guidelines for submitting a new PEP, are here:
701http://python.sourceforge.net/peps/.
Guido van Rossumd0fe8451996-08-26 03:02:37 +0000702
703
704Questions
705---------
706
Guido van Rossum49523691997-08-15 18:30:14 +0000707For help, if you can't find it in the manuals or on the web site, it's
708best to post to the comp.lang.python or the Python mailing list (see
709above). If you specifically don't want to involve the newsgroup or
Guido van Rossum973e4dc2000-07-01 00:34:39 +0000710mailing list, send questions to <help@python.org> (a group of
Guido van Rossumc0be2f51997-10-08 05:05:28 +0000711volunteers which does *not* include me). Because of my work and email
712volume, I'm often be slow in answering questions sent to me directly;
713I prefer to answer questions posted to the newsgroup.
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000714
715
716The Tk interface
717----------------
718
719Tk (the user interface component of John Ousterhout's Tcl language) is
720also usable from Python. Since this requires that you first build and
Guido van Rossumc0be2f51997-10-08 05:05:28 +0000721install Tcl/Tk, the Tk interface is not enabled by default. Python
Guido van Rossum973e4dc2000-07-01 00:34:39 +0000722supports Tcl/Tk starting with version 8.0.
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000723
Guido van Rossum973e4dc2000-07-01 00:34:39 +0000724See http://dev.ajubasolutions.com/ for more info on Tcl/Tk, including
725the on-line manual pages.
Guido van Rossum64773801997-11-26 17:07:02 +0000726
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000727
728To enable the Python/Tk interface, once you've built and installed
Guido van Rossum64773801997-11-26 17:07:02 +0000729Tcl/Tk, load the file Modules/Setup in your favorite text editor and
730search for the string "_tkinter". Then follow the instructions found
731there. If you have installed Tcl/Tk or X11 in unusual places, you
732will have to edit the first line to fix or add -I and -L options.
733(Also see the general instructions at the top of that file.)
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000734
Guido van Rossum973e4dc2000-07-01 00:34:39 +0000735For more Tkinter information, see the Tkinter Resource page:
736http://www.python.org/topics/tkinter/
Guido van Rossumc0be2f51997-10-08 05:05:28 +0000737
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000738There are demos in the Demo/tkinter directory, in the subdirectories
739guido, matt and www (the matt and guido subdirectories have been
740overhauled to use more recent Tkinter coding conventions).
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000741
742Note that there's a Python module called "Tkinter" (capital T) which
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000743lives in Lib/tkinter/Tkinter.py, and a C module called "_tkinter"
744(lower case t and leading underscore) which lives in
745Modules/_tkinter.c. Demos and normal Tk applications only import the
746Python Tkinter module -- only the latter uses the C _tkinter module
747directly. In order to find the C _tkinter module, it must be compiled
748and linked into the Python interpreter -- the _tkinter line in the
749Setup file does this. In order to find the Python Tkinter module,
750sys.path must be set correctly -- the TKPATH assignment in the Setup
751file takes care of this, but only if you install Python properly
752("make install libinstall"). (You can also use dynamic loading for
753the C _tkinter module, in which case you must manually fix up sys.path
754or set $PYTHONPATH for the Python Tkinter module.)
Guido van Rossum84c8c7f1995-08-28 02:44:24 +0000755
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000756
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000757Distribution structure
758----------------------
759
760Most subdirectories have their own README file. Most files have
761comments.
762
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000763Demo/ Demonstration scripts, modules and programs
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000764Grammar/ Input for the parser generator
765Include/ Public header files
766Lib/ Python library modules
767Makefile.in Source from which config.status creates Makefile
Guido van Rossumc0be2f51997-10-08 05:05:28 +0000768Misc/ Miscellaneous useful files
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000769Modules/ Implementation of most built-in modules
770Objects/ Implementation of most built-in object types
Guido van Rossum64773801997-11-26 17:07:02 +0000771PC/ PC porting files (DOS, Windows, OS/2)
772PCbuild/ Directory where you should build for Windows NT/95
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000773Parser/ The parser and tokenizer and their input handling
774Python/ The "compiler" and interpreter
775README The file you're reading now
776Tools/ Some useful programs written in Python
777acconfig.h Additional input for the autoheader program
778config.h.in Source from which config.status creates config.h
779configure Configuration shell script (GNU autoconf output)
780configure.in Configuration specification (GNU autoconf input)
781install-sh Shell script used to install files
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000782
783The following files will (may) be created in the toplevel directory by
784the configuration and build processes:
785
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000786Makefile Build rules
787config.cache cache of configuration variables
788config.h Configuration header
Guido van Rossumc0be2f51997-10-08 05:05:28 +0000789config.log Log from last configure run
790config.status Status from last run of configure script
Guido van Rossum901454e2000-06-29 22:28:44 +0000791libpython2.0.a The library archive
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000792python The executable interpreter
793tags, TAGS Tags files for vi and Emacs
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000794
795
Guido van Rossum901454e2000-06-29 22:28:44 +0000796
797How to reach the author
798=======================
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000799
800Guido van Rossum
Guido van Rossum901454e2000-06-29 22:28:44 +0000801BeOpen.com
802160 Saratoga Avenue, Suite 46
803Santa Clara, CA 95051
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000804
Guido van Rossum901454e2000-06-29 22:28:44 +0000805E-mail: guido@beopen.com or guido@python.org
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000806
807
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000808
Guido van Rossumfaf681a1996-06-20 14:32:08 +0000809--Guido van Rossum (home page: http://www.python.org/~guido/)