blob: 12f3e52b1df49f6e35ac7c6ce46e6cfa5eb7e671 [file] [log] [blame]
Guido van Rossum64773801997-11-26 17:07:02 +00001This is Python release 1.5 beta 1
Guido van Rossumf501b4e1996-10-25 14:32:48 +00002==================================
Guido van Rossumfaf681a1996-06-20 14:32:08 +00003
Guido van Rossum8d7d4ed1996-07-30 21:41:07 +00004What's new in this release?
5---------------------------
Guido van Rossum3ff96dd1996-07-30 18:05:04 +00006
Guido van Rossumc0be2f51997-10-08 05:05:28 +00007Too much has changed to list it all here. There's a loooong list of
Guido van Rossum64773801997-11-26 17:07:02 +00008changes since release 1.4 in the file Misc/NEWS. If you were an alpha
9tester, the list of changes since 1.5a4 is presented at the end of
10that file.
Guido van Rossum33fde571997-05-09 02:40:09 +000011
Guido van Rossum64773801997-11-26 17:07:02 +000012Most relevant changes since 1.5a4 (of course all known bugs have been
13fixed, leaks plugged, and documentation has been added):
Guido van Rossumb06df271997-08-05 21:50:20 +000014
Guido van Rossum64773801997-11-26 17:07:02 +000015 - Package directories now *require* the presence of __init__.py.
16 Packages can now contain shared libraries.
Guido van Rossumb06df271997-08-05 21:50:20 +000017
Guido van Rossum64773801997-11-26 17:07:02 +000018 - New module 'fileinput' to iterate over the lines of a list of files.
Guido van Rossumb06df271997-08-05 21:50:20 +000019
Guido van Rossum64773801997-11-26 17:07:02 +000020 - New module 'locale' for localized number formatting and string case
21 sensitivity.
Guido van Rossumb06df271997-08-05 21:50:20 +000022
Guido van Rossum64773801997-11-26 17:07:02 +000023 - New module 'xmllib' to parse XML files.
Guido van Rossumb06df271997-08-05 21:50:20 +000024
Guido van Rossum64773801997-11-26 17:07:02 +000025 - Some more support for Tk extensions (PIL, TIX, BLT, TOGL).
26
27 - Fixed address list parsing in module 'rfc822'.
28
29 - More deployment (and only one fix) for the 're' module.
30
31 - New Python mode for Emacs.
32
33 - OS/2 support.
34
35Other important changes, if this is the first release you see since
361.4:
37
38 - It's much faster (almost twice for the Lib/test/pystone.py
39 benchmark.)
40
41 - There's an assert statement: assert <condition> or
42 assert <condition>, <errormessage>. It raises AssertionError if the
43 condition evaluates to false.
Guido van Rossumb06df271997-08-05 21:50:20 +000044
Guido van Rossumc0be2f51997-10-08 05:05:28 +000045 - There is now built-in support for importing hierarchical module
46 names (e.g. "import spam.ham.eggs"); ni is declared obsolete. Note
47 that the built-in package support is somewhat simpler (no __ and
48 __domain__) and differs in one crucial aspect: __init__.py is loaded
49 in the package's namespace instead of as a submodule. See
50 http://grail.cnri.reston.va.us/python/essays/packages.html
51 for more info.
Guido van Rossumb06df271997-08-05 21:50:20 +000052
Guido van Rossum64773801997-11-26 17:07:02 +000053 - The new "re" module (Perl style regular expressions) is here. It
54 is based on Philip Hazel's pcre code; the Python interfaces were put
55 together by Andrew Kuchling. The regex module is declared obsolete.
Guido van Rossum49523691997-08-15 18:30:14 +000056
Guido van Rossumc0be2f51997-10-08 05:05:28 +000057 - In support of the re module, a new form of string literals is
58 introduced, "raw strings": e.g. r"\n" is equal to "\\n".
59
Guido van Rossum64773801997-11-26 17:07:02 +000060 - All standard exceptions and most exceptions defined in standard
61 extension modules are now classes. Use python -X to revert back to
62 string exceptions. See
63 http://grail.cnri.reston.va.us/python/essays/stdexceptions.html
64 for more info.
65
Guido van Rossumc0be2f51997-10-08 05:05:28 +000066 - Comparisons can now raise exceptions.
67
Guido van Rossum64773801997-11-26 17:07:02 +000068 - New dictionary methods: .clear(), .update(), .copy(), .get().
69
70 - New regression test harness tests more.
Guido van Rossum49523691997-08-15 18:30:14 +000071
72 - It's much smarter about the initial value for sys.path; you can
73 control it easier using $PYTHONHOME (see the usage message, e.g. try
74 ``python -h''). In most situations, the interpreter can be
75 installed at an arbitrary location without having to recompile.
76
Guido van Rossumc0be2f51997-10-08 05:05:28 +000077 - The build process now builds a single library (libpython1.5.a)
78 which contains everything except for the main() entry point. This
79 makes life much easier for applications that embed Python.
80
81 - Much better support for embedding, including threads, multiple
82 interpreters(!), uninitialization, and access to the global
83 interpreter lock.
84
85 - There's a -O option that removes SET_LINENO instructions, assert
86 statements and code prefixed with ``if __debug__: ...''. (It still
87 only makes a few percent difference, so don't get all worked up
88 about this.)
89
Guido van Rossum49523691997-08-15 18:30:14 +000090 - The Grand Renaming is completed: all linker-visible symbols
91 defined by Python now have a "Py" or "_Py" prefix, and the same is
92 true for most macros and typedefs.
93
Guido van Rossum64773801997-11-26 17:07:02 +000094
95If you don't read instructions
96------------------------------
97
98Congratulations on getting this far. :-)
99
100To start building right away (on UNIX): type "./configure" in the
101current directory and when it finishes, type "make". The section
102Build Instructions below is still recommended reading. :-)
Guido van Rossum3ff96dd1996-07-30 18:05:04 +0000103
104
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000105What is Python anyway?
106----------------------
107
108Python is an interpreted object-oriented programming language, and is
Guido van Rossumc0be2f51997-10-08 05:05:28 +0000109often compared to Tcl, Perl, Java or Scheme. To find out more, point
110your browser to http://www.python.org/.
111
112
113A modest plug
114-------------
115
116************************************************************************
117* Without your support, I won't be able to continue to work on Python! *
118************************************************************************
119
120If you use Python, please consider joining the Python Software
121Activity (PSA). See http://www.python.org/psa/.
122
123Organizations that make heavy use of Python are especially encouraged
124to become corporate members!
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000125
126
Guido van Rossumf501b4e1996-10-25 14:32:48 +0000127How do I learn Python?
128----------------------
129
130The official tutorial is still a good place to start (in the Doc
131directory as tut.tex; and http://www.python.org/doc/tut/tut.html).
132Aaron Watters wrote a second tutorial, that may be more accessible for
Guido van Rossumc0be2f51997-10-08 05:05:28 +0000133some: http://www.wcmh.com/uworld/archives/95/tutorial/005.html. Both
134tutorials (as well as most other sources) assume that you already know
135how to program -- if you'd like to write "Python for Dummies", I know
136a publisher who would like to talk to you...
Guido van Rossumf501b4e1996-10-25 14:32:48 +0000137
Guido van Rossum8d90f9d1997-05-22 20:13:25 +0000138There are now also several books on Python. While these are still
Guido van Rossumc0be2f51997-10-08 05:05:28 +0000139based on Python 1.3 or 1.4, the information in them is still 99%
140correct. The first two books, both first published in October 1996
141and both including a CD-ROM, form excellent companions to each other:
Guido van Rossumf501b4e1996-10-25 14:32:48 +0000142
143 Internet Programming with Python
144 by Aaron Watters, Guido van Rossum, and James Ahlstrom
145 MIS Press/Henry Holt publishers
146 ISBN: 1-55851-484-8
147
148 Programming Python
149 by Mark Lutz
150 O'Reilly & Associates
151 ISBN: 1-56592-197-6
152
Guido van Rossumc0be2f51997-10-08 05:05:28 +0000153If you can read German, try:
Guido van Rossum8d90f9d1997-05-22 20:13:25 +0000154
155 Das Python-Buch
156 by Martin von Loewis and Nils Fischbeck
157 Addison-Wesley-Longman, 1997
158 ISBN: 3-8273-1110-1
159
Guido van Rossumf501b4e1996-10-25 14:32:48 +0000160
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000161Copyright issues
162----------------
163
164Python is COPYRIGHTED but free to use for all. See the full copyright
Guido van Rossum64773801997-11-26 17:07:02 +0000165notice at the end of this file and in the file Misc/COPYRIGHT.
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000166
167The Python distribution is *not* affected by the GNU Public Licence
168(GPL). There are interfaces to some GNU code but these are entirely
Guido van Rossum64773801997-11-26 17:07:02 +0000169optional and no GNU code is distributed with Python.
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000170
Guido van Rossum627b2d71993-12-24 10:39:16 +0000171
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000172Build instructions
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000173==================
Guido van Rossum627b2d71993-12-24 10:39:16 +0000174
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000175Before you can build Python, you must first configure it.
176Fortunately, the configuration and build process has been streamlined
177for most Unix installations, so all you have to do is type a few
178commands, optionally edit one file, and sit back. There are some
179platforms where things are not quite as smooth; see the platform
180specific notes below. If you want to build for multiple platforms
181sharing the same source tree, see the section on VPATH below.
Guido van Rossum627b2d71993-12-24 10:39:16 +0000182
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000183You start by running the script "./configure", which figures out your
184system configuration and creates several Makefiles. (It takes a
185minute or two -- please be patient!) When it's done, you are ready to
186run make. You may want to pass options to the configure script -- see
187the section below on configuration options and variables.
188
189To build Python, you normally type "make" in the toplevel directory.
190This will recursively run make in each of the subdirectories Parser,
191Objects, Python and Modules, creating a library file in each one. The
192executable of the interpreter is built in the Modules subdirectory and
193moved up here when it is built. If you want or need to, you can also
194chdir into each subdirectory in turn and run make there manually (do
195the Modules subdirectory last!).
196
197Once you have built an interpreter, see the subsections below on
198testing, configuring additional modules, and installation. If you run
199in trouble, see the next section.
Guido van Rossum627b2d71993-12-24 10:39:16 +0000200
Guido van Rossum0a516c91994-09-12 10:58:40 +0000201
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000202Troubleshooting
203---------------
Guido van Rossum627b2d71993-12-24 10:39:16 +0000204
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000205See also the platform specific notes in the next section.
206
Guido van Rossumfaf681a1996-06-20 14:32:08 +0000207If recursive makes fail, try invoking make as "make MAKE=make".
208
Guido van Rossum49523691997-08-15 18:30:14 +0000209If you run into other trouble, see section 3 of the FAQ
210(http://grail.cnri.reston.va.us/cgi-bin/faqw.py or
211http://www.python.org/doc/FAQ.html) for hints on what can go wrong,
212and how to fix it.
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000213
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000214If you rerun the configure script with different options, remove all
215object files by running "make clean" before rebuilding. Believe it or
216not, "make clean" sometimes helps to clean up other inexplicable
217problems as well. Try it before sending in a bug report!
218
Guido van Rossumd0fe8451996-08-26 03:02:37 +0000219If the configure script fails or doesn't seem to find things that
Guido van Rossumc0be2f51997-10-08 05:05:28 +0000220should be there, inspect the config.log file. When you fix a
221configure problem, be sure to remove config.cache!
222
223If you get a warning for every file about the -Olimit option being no
224longer supported, you can ignore it. There's no foolproof way to know
225whether this option is needed; all I can do is test whether it is
226accepted without error. On some systems, e.g. older SGI compilers, it
227is essential for performance (specifically when compiling ceval.c,
228which has more basic blocks than the default limit of 1000). If the
229warning bothers you, edit the Makefile to remove "-Olimit 1500" from
230the OPT variable.
Guido van Rossumd0fe8451996-08-26 03:02:37 +0000231
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000232
233Platform specific notes
234-----------------------
235
Guido van Rossum0447a321995-10-08 01:22:33 +0000236(Some of these may no longer apply. If you find you can build Python
237on these platforms without the special directions mentioned here, let
238me know so I can remove them!)
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000239
Guido van Rossumc0be2f51997-10-08 05:05:28 +000024064-bit platforms: The modules audioop, imageop and rgbimg don't work.
241 Don't try to enable them in the Modules/Setup file. They
242 contain code that is quite wordsize sensitive. (If you have a
243 fix, let me know!)
244
Guido van Rossum4462e931997-01-22 21:00:32 +0000245Solaris: When using Sun's C compiler with threads, at least on Solaris
246 2.5.1, you need to add the "-mt" compiler option (the simplest
247 way is probably to specify the compiler with this option as
248 the "CC" environment variable when running the configure
249 script).
250
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000251Linux: On Linux version 1.x, once you've built Python, use it to run
252 the regen script in the Lib/linux1 directory. Apparently
253 the files as distributed don't match the system headers on
254 some Linux versions. (The "h2py" command refers to
255 Tools/scripts/h2py.py.) The modules distributed for Linux 2.x
Guido van Rossumd0fe8451996-08-26 03:02:37 +0000256 should be okay. Shared library support now works by default
Guido van Rossum4462e931997-01-22 21:00:32 +0000257 on ELF-based x86 Linux systems. (Note: when you change the
258 status of a module from static to shared, you must remove its
259 .o file or do a "make clean".)
260
Guido van Rossum6ae5d3d1997-05-14 21:39:05 +0000261DEC Unix: When enabling threads, use --with-dec-threads, not
Guido van Rossum4462e931997-01-22 21:00:32 +0000262 --with-thread.
Guido van Rossum8eca2c21996-02-14 18:37:46 +0000263
Guido van Rossumd0fe8451996-08-26 03:02:37 +0000264AIX: A complete overhaul of the shared library support is now in
Guido van Rossumcbfcb171997-10-20 22:57:00 +0000265 place. See Misc/AIX-NOTES for some notes on how it's done.
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000266
Guido van Rossum6ae5d3d1997-05-14 21:39:05 +0000267 WARNING! In some versions of AIX, you get errors about
Guido van Rossuma3b4b611996-07-21 02:48:16 +0000268 Invalid Indent when running the Python test set. This appears
269 to be a bug in the AIX compiler. Rebuild Parser/tokenizer.c
Guido van Rossum6ae5d3d1997-05-14 21:39:05 +0000270 using OPT="" or OPT=-g, or use gcc. According to the latest
271 reports, it seems this compiler bug is still present in 4.2.1.
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000272
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000273Minix: When using ack, use "CC=cc AR=aal RANLIB=: ./configure"!
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000274
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000275SCO: 1) Everything works much better if you add -U__STDC__ to the
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000276 defs. This is because all the SCO header files are broken.
Guido van Rossum64773801997-11-26 17:07:02 +0000277 Anything that isn't mentioned in the C standard is
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000278 conditionally excluded when __STDC__ is defined.
279
280 2) Due to the U.S. export restrictions, SCO broke the crypt
281 stuff out into a separate library, libcrypt_i.a so the LIBS
282 needed be set to:
283
284 LIBS=' -lsocket -lcrypt_i'
285
Guido van Rossuma3b4b611996-07-21 02:48:16 +0000286 3) According to at least one report, the above apply only to
287 SCO 3 -- Python builds out of the box on SCO 5.
288
Guido van Rossum64773801997-11-26 17:07:02 +0000289SunOS 4.x: When using the standard "cc" compiler, certain modules may
290
291 not be compilable because they use non-K&R syntax. You should
292 be able to get a basic Python interpreter by commenting out
293 such modules in the Modules/Setup file, but I really recommend
294 using gcc.
295
296 When using the SunPro C compiler, you may want to use the
297 '-Xa' option instead of '-Xc', to enable some needed non-ANSI
298 Sunisms.
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000299
Guido van Rossumcc55c2d1996-10-21 15:14:27 +0000300NeXT: To build fat binaries, use the --with-next-archs switch
301 described below.
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000302
Guido van Rossum40d63581997-08-14 19:45:30 +0000303QNX: Edit the top level Makefile to use the following compile options:
304 OPT = -Ox -Q -U_M_IX86 -U__WATCOMC__
305 Edit the Makefile in the Modules directory to read:
306 LDFLAGS = -N 48k
307
Guido van Rossum1bf0bf41997-08-20 23:50:51 +0000308Cray T3E: Konrad Hinsen writes:
309 1) Don't use gcc. It compiles Python/graminit.c into something that
310 the Cray assembler doesn't like. Cray's cc seems to work fine.
311 2) Uncomment modules md5 (won't compile) and audioop (will crash
312 the interpreter during the test suite).
313 If you run the test suite, two tests will fail (rotate and binascii),
314 but these are not the modules you'd expect to need on a Cray.
315
Guido van Rossum0078aaf1997-08-21 03:05:11 +0000316SGI: SGI's standard "make" utility (/bin/make or /usr/bin/make)
317 does not check whether a command actually changed the file it
318 is supposed to build. This means that whenever you say "make"
319 it will redo the link step. The remedy is to use SGI's much
Guido van Rossumc0be2f51997-10-08 05:05:28 +0000320 smarter "smake " utility (/usr/sbin/smake), or GNU make. If
321 you set the first line of the Makefile to #!/usr/sbin/smake
322 smake will be invoked by make (likewise for GNU make).
Guido van Rossum0078aaf1997-08-21 03:05:11 +0000323
Guido van Rossum64773801997-11-26 17:07:02 +0000324OS/2: If you are running Warp3 or Warp4 and have IBM's VisualAge C/C++
325 compiler installed, just change into the pc\os2vacpp directory
326 and type NMAKE. Threading and sockets are supported by default
327 in the resulting binaries of PYTHON15.DLL and PYTHON.EXE.
328
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000329
330Configuring additional built-in modules
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000331---------------------------------------
Guido van Rossum19e0c261995-01-17 16:36:34 +0000332
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000333You can configure the interpreter to contain fewer or more built-in
334modules by editing the file Modules/Setup. This file is initially
335copied (when the toplevel Makefile makes Modules/Makefile for the
336first time) from Setup.in; if it does not exist yet, make a copy
337yourself. Never edit Setup.in -- always edit Setup. Read the
338comments in the file for information on what kind of edits you can
339make. When you have edited Setup, Makefile and config.c in Modules
340will automatically be rebuilt the next time you run make in the
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000341toplevel directory. (When working inside the Modules directory, use
342"make Makefile; make".)
Guido van Rossum627b2d71993-12-24 10:39:16 +0000343
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000344The default collection of modules should build on any Unix system, but
345many optional modules should work on all modern Unices (e.g. try dbm,
Guido van Rossumd0fe8451996-08-26 03:02:37 +0000346nis, termios, timing, syslog, curses, new, soundex, parser). Often
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000347the quickest way to determine whether a particular module works or not
348is to see if it will build: enable it in Setup, then if you get
349compilation or link errors, disable it -- you're missing support.
350
351On SGI IRIX, there are modules that interface to many SGI specific
352system libraries, e.g. the GL library and the audio hardware.
353
354For SunOS and Solaris, enable module "sunaudiodev" to support the
355audio device.
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000356
Guido van Rossum4462e931997-01-22 21:00:32 +0000357In addition to the file Setup, you can also edit the file Setup.local.
358(the makesetup script processes both). You may find it more
359convenient to edit Setup.local and leave Setup alone. Then, when
360installing a new Python version, you can copy your old Setup.local
361file.
362
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000363
364Setting the optimization/debugging options
365------------------------------------------
366
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000367If you want or need to change the optimization/debugging options for
368the C compiler, assign to the OPT variable on the toplevel make
369command; e.g. "make OPT=-g" will build a debugging version of Python
370on most platforms. The default is OPT=-O; a value for OPT in the
371environment when the configure script is run overrides this default
372(likewise for CC; and the initial value for LIBS is used as the base
373set of libraries to link with).
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000374
375
376Testing
377-------
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000378
379To test the interpreter that you have just built, type "make test".
Guido van Rossum6ae5d3d1997-05-14 21:39:05 +0000380This runs the test set twice (once with no compiled files, once with
381the compiled files left by the previous test run). The test set
382produces some output. You can generally ignore the messages about
383skipped tests due to an optional feature that can't be imported (if
384you want to test those modules, edit Modules/Setup to configure them).
385If a messages is printed about a failed test or a traceback or core
386dump is produced, something's wrong. On some systems, test_strftime
387fails due to a non-standard implementation of strftime() in the C
388library. This can be ignored (or you can complain to your vendor).
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000389
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000390IMPORTANT: If the tests fail and you decide to mail a bug report,
391*don't* include the output of "make test". It is useless. Run the
Guido van Rossum6ae5d3d1997-05-14 21:39:05 +0000392test that fails manually, as follows:
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000393
Guido van Rossum6ae5d3d1997-05-14 21:39:05 +0000394 python ../Lib/test/test_whatever.py
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000395
396(substituting the top of the source tree for .. if you built in a
Guido van Rossum6ae5d3d1997-05-14 21:39:05 +0000397different directory). This runs the test in verbose mode.
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000398
399
400Installing
401----------
402
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000403To install the Python binary, library modules, shared library modules
404(see below), include files, configuration files, and the manual page,
Guido van Rossum64773801997-11-26 17:07:02 +0000405just type
406
407 make install
408
409This will install all platform-independent files in subdirectories the
410directory given with the --prefix option to configure or the 'prefix'
411Make variable (default /usr/local), and all binary and other
412platform-specific files in subdirectories if the directory given by
413--exec-prefix or the 'exec_prefix' Make variable (defaults to the
414--prefix directory).
415
416All subdirectories created will have Python's version number in their
417name, e.g. the library modules are installed in
418"/usr/local/lib/python1.5/" by default. The Python binary is
419installed as "python1.5" and a hard link named "python" is created.
420The only file not installed with a version number in its name is the
421manual page, installed as "/usr/local/man/man1/python.1" by default.
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000422
Guido van Rossum49523691997-08-15 18:30:14 +0000423If you have a previous installation of a pre-1.5 Python that you don't
Guido van Rossum64773801997-11-26 17:07:02 +0000424want to replace yet, use
425
426 make altinstall
427
428This installs the same set of files as "make install" except it
429doesn't create the hard link to "python1.5" named "python" and it
430doesn't install the manual page at all.
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000431
432The only thing you may have to install manually is the Python mode for
433Emacs. (But then again, more recent versions of Emacs may already
434have it!) This is the file Misc/python-mode.el; follow the
435instructions that came with Emacs for installation of site specific
436files.
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000437
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000438
439Configuration options and variables
440-----------------------------------
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000441
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000442Some special cases are handled by passing options to the configure
443script.
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000444
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000445WARNING: if you rerun the configure script with different options, you
446must run "make clean" before rebuilding. Exceptions to this rule:
447after changing --prefix or --exec-prefix, all you need to do is remove
Guido van Rossumb06df271997-08-05 21:50:20 +0000448Modules/getpath.o.
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000449
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000450--with(out)-gcc: The configure script uses gcc (the GNU C compiler) if
451 it finds it. If you don't want this, or if this compiler is
452 installed but broken on your platform, pass the option
453 --without-gcc. You can also pass "CC=cc" (or whatever the
454 name of the proper C compiler is) in the environment, but the
455 advantage of using --without-gcc is that this option is
456 remembered by the config.status script for its --recheck
457 option.
Guido van Rossum76be6ed1995-01-02 18:33:54 +0000458
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000459--prefix, --exec-prefix: If you want to install the binaries and the
460 Python library somewhere else than in /usr/local/{bin,lib},
461 you can pass the option --prefix=DIRECTORY; the interpreter
462 binary will be installed as DIRECTORY/bin/python and the
463 library files as DIRECTORY/lib/python/*. If you pass
464 --exec-prefix=DIRECTORY (as well) this overrides the
465 installation prefix for architecture-dependent files (like the
466 interpreter binary). Note that --prefix=DIRECTORY also
467 affects the default module search path (sys.path), when
468 Modules/config.c is compiled. Passing make the option
469 prefix=DIRECTORY (and/or exec_prefix=DIRECTORY) overrides the
470 prefix set at configuration time; this may be more convenient
471 than re-running the configure script if you change your mind
472 about the install prefix...
Guido van Rossum76be6ed1995-01-02 18:33:54 +0000473
Guido van Rossumb06df271997-08-05 21:50:20 +0000474--with-readline: This option is no longer supported. To use GNU
475 readline, enable module "readline" in the Modules/Setup file.
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000476
Guido van Rossumfaf681a1996-06-20 14:32:08 +0000477--with-thread: On most Unix systems, you can now use multiple threads.
Guido van Rossum4462e931997-01-22 21:00:32 +0000478 To enable this, pass --with-thread. (--with-threads is an
479 alias.) If the library required for threads lives in a
Guido van Rossum8d90f9d1997-05-22 20:13:25 +0000480 peculiar place, you can use --with-thread=DIRECTORY. NOTE:
481 you must also enable the thread module by uncommenting it in
482 the Modules/Setup file. (Threads aren't enabled automatically
483 because there are run-time penalties when support for them is
484 compiled in even if you don't use them.) IMPORTANT: run "make
485 clean" after changing (either enabling or disabling) this
486 option! Note: for DEC Unix use --with-dec-threads instead.
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000487
488--with-sgi-dl: On SGI IRIX 4, dynamic loading of extension modules is
489 supported by the "dl" library by Jack Jansen, which is
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000490 ftp'able from ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z.
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000491 This is enabled (after you've ftp'ed and compiled the dl
492 library!) by passing --with-sgi-dl=DIRECTORY where DIRECTORY
493 is the absolute pathname of the dl library. (Don't bother on
494 IRIX 5, it already has dynamic linking using SunOS style
495 shared libraries.) Support for this feature is deprecated.
496
497--with-dl-dld: Dynamic loading of modules is rumoured to be supported
498 on some other systems: VAX (Ultrix), Sun3 (SunOS 3.4), Sequent
499 Symmetry (Dynix), and Atari ST. This is done using a
500 combination of the GNU dynamic loading package
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000501 (ftp://ftp.cwi.nl/pub/dynload/dl-dld-1.1.tar.Z) and an
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000502 emulation of the SGI dl library mentioned above (the emulation
503 can be found at
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000504 ftp://ftp.cwi.nl/pub/dynload/dld-3.2.3.tar.Z). To
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000505 enable this, ftp and compile both libraries, then call the
506 configure passing it the option
507 --with-dl-dld=DL_DIRECTORY,DLD_DIRECTORY where DL_DIRECTORY is
508 the absolute pathname of the dl emulation library and
509 DLD_DIRECTORY is the absolute pathname of the GNU dld library.
510 (Don't bother on SunOS 4 or 5, they already have dynamic
511 linking using shared libraries.) Support for this feature is
512 deprecated.
513
514--with-libm, --with-libc: It is possible to specify alternative
515 versions for the Math library (default -lm) and the C library
516 (default the empty string) using the options
517 --with-libm=STRING and --with-libc=STRING, respectively. E.g.
518 if your system requires that you pass -lc_s to the C compiler
519 to use the shared C library, you can pass --with-libc=-lc_s.
520 These libraries are passed after all other libraries, the C
521 library last.
Guido van Rossum3ff96dd1996-07-30 18:05:04 +0000522
523--with-next-archs='arch1 arch2': Under NEXTSTEP, this will build
524 all compiled binaries with the architectures listed. Includes
525 correctly setting the target architecture specific resource
Guido van Rossumcc55c2d1996-10-21 15:14:27 +0000526 directory. (This option is not supported on other platforms.)
Guido van Rossum76be6ed1995-01-02 18:33:54 +0000527
Guido van Rossumd02ba451996-07-31 17:36:01 +0000528--with-libs='libs': Add 'libs' to the LIBS that the python
529 linked against.
530
Guido van Rossum76be6ed1995-01-02 18:33:54 +0000531
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000532Building for multiple architectures (using the VPATH feature)
533-------------------------------------------------------------
534
535If your file system is shared between multiple architectures, it
536usually is not necessary to make copies of the sources for each
537architecture you want to support. If the make program supports the
538VPATH feature, you can create an empty build directory for each
539architecture, and in each directory run the configure script (on the
540appropriate machine with the appropriate options). This creates the
541necessary subdirectories and the Makefiles therein. The Makefiles
542contain a line VPATH=... which points to directory containing the
Guido van Rossumd0fe8451996-08-26 03:02:37 +0000543actual sources. (On SGI systems, use "smake -J1" instead of "make" if
544you use VPATH -- don't try gnumake.)
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000545
546For example, the following is all you need to build a minimal Python
547in /usr/tmp/python (assuming ~guido/src/python is the toplevel
548directory and you want to build in /usr/tmp/python):
549
550 $ mkdir /usr/tmp/python
551 $ cd /usr/tmp/python
552 $ ~guido/src/python/configure
553 [...]
554 $ make
555 [...]
556 $
557
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000558Note that Modules/Makefile copies the original Setup file to the build
559directory if it finds no Setup file there. This means that you can
560edit the Setup file for each architecture independently. For this
561reason, subsequent changes to the original Setup file are not tracked
562automatically, as they might overwrite local changes. To force a copy
563of a changed original Setup file, delete the target Setup file. (The
564makesetup script supports multiple input files, so if you want to be
565fancy you can change the rules to create an empty Setup.local if it
566doesn't exist and run it with arguments $(srcdir)/Setup Setup.local;
567however this assumes that you only need to add modules.)
568
569
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000570Building on non-UNIX systems
571----------------------------
572
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000573Building Python for a PC is now a piece of cake!
Guido van Rossum8d7d4ed1996-07-30 21:41:07 +0000574
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000575Enter the directory "PC" and read the file "readme.txt". Most popular
576non-Unix PC platforms and compilers are supported (Unix ports to the
577PC such as Linux, FreeBSD or Solaris-x86 of course use the standard
578Unix build instructions).
579
580For the Mac, a separate source distribution will be made available,
581for use with the CodeWarrior compiler. If you are interested in Mac
582development, join the PythonMac Special Interest Group
583(http://www.python.org/sigs/pythonmac-sig/, or send email to
584pythonmac-sig-request@python.org).
585
586Of course, there are also binary distributions available for these
587platforms -- see http://www.python.org/python/.
588
589To port Python to a new non-UNIX system, you will have to fake the
590effect of running the configure script manually (for Mac and PC, this
591has already been done for you). A good start is to copy the file
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000592config.h.in to config.h and edit the latter to reflect the actual
593configuration of your system. Most symbols must simply be defined as
5941 only if the corresponding feature is present and can be left alone
595otherwise; however RETSIGTYPE must always be defined, either as int or
596as void, and the *_t type symbols must be defined as some variant of
Guido van Rossumd0fe8451996-08-26 03:02:37 +0000597int if they need to be defined at all.
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000598
599
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000600
601Miscellaneous issues
602====================
603
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000604Documentation
605-------------
606
607All documentation is provided in the subdirectory Doc in the form of
608LaTeX files. In order of importance for new users: Tutorial (tut),
609Library Reference (lib), Language Reference (ref), Extending (ext).
610Especially the Library Reference is of immense value since much of
611Python's power (including the built-in data types and functions!) is
612described here.
613
Guido van Rossumdfcf35d1996-08-26 17:52:09 +0000614To print the documentation from the LaTeX files, chdir into the Doc
615subdirectory, type "make" (let's hope you have LaTeX installed!), and
616send the four resulting PostScript files (tut.ps, lib.ps, ref.ps, and
617ext.ps) to the printer. See the README file there. If you don't have
618LaTeX, you can ftp the PostScript files from the ftp archives (see
619below).
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000620
Guido van Rossumdfcf35d1996-08-26 17:52:09 +0000621All documentation is also available on-line via the Python web site
622(http://www.python.org/, see below). It can also be downloaded
623separately from the ftp archives (see below) in Emacs INFO, HTML or
Guido van Rossum49523691997-08-15 18:30:14 +0000624PostScript form -- see the web site or the FAQ
625(http://grail.cnri.reston.va.us/cgi-bin/faqw.py or
626http://www.python.org/doc/FAQ.html) for more info.
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000627
628
629Emacs mode
630----------
631
Guido van Rossumc0be2f51997-10-08 05:05:28 +0000632There's an excellent Emacs editing mode for Python code; see the file
633Misc/python-mode.el. Originally written by the famous Tim Peters, it
634is now maintained by the equally famous Barry Warsaw
635<bwarsaw@cnri.reston.va.us>. The latest version is online at
636ftp://ftp.python.org/pub/emacs/python-mode.el. As you might expect of
637Barry (and even if you don't know what the heck I'm talking about :-),
638a configuration file for his cc-mode.el which selects the style used
639throughout most Python C source files is also provided; see the file
640Misc/ccpy-style.el.
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000641
642
Guido van Rossum8d7d4ed1996-07-30 21:41:07 +0000643Web site
644--------
645
646Python's own web site has URL http://www.python.org/. Come visit us!
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000647There are a number of mirrors, listed on the home page -- try a mirror
648that's close you you.
Guido van Rossum8d7d4ed1996-07-30 21:41:07 +0000649
650
Guido van Rossumd0fe8451996-08-26 03:02:37 +0000651Ftp site
652--------
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000653
Guido van Rossumc0be2f51997-10-08 05:05:28 +0000654Python's own ftp site is ftp://ftp.python.org/pub/python/. There are
Guido van Rossum49523691997-08-15 18:30:14 +0000655numerous mirrors; see http://www.python.org/python/Mirrors.html for a
656list of mirror sites.
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000657
658
659Newsgroup and mailing list
660--------------------------
661
Guido van Rossumdfcf35d1996-08-26 17:52:09 +0000662There are a newsgroup and a mailing list devoted to Python. The
663newsgroup, comp.lang.python, contains exactly the same messages as the
664mailing list (though not always in the same order, due to the
665mysterious nature of the Usenet news distribution algorithm). To
666subscribe to the mailing list, send mail containing your real name and
667e-mail address to "python-list-request@cwi.nl". Use the same address
668if you want to unsibscribed. (A real person reads these messages, so
669no LISTPROC or Majordomo commands, please, and please be patient --
670normal turn-around time is about one working day.)
Guido van Rossumd0fe8451996-08-26 03:02:37 +0000671
Guido van Rossumdfcf35d1996-08-26 17:52:09 +0000672The Python web site contains a search form that lets you search the
Guido van Rossumc0be2f51997-10-08 05:05:28 +0000673newsgroup archives (and the web site itself). Click on the "search"
Guido van Rossumdfcf35d1996-08-26 17:52:09 +0000674link in the banner menu on any page of http://www.python.org/.
Guido van Rossumd0fe8451996-08-26 03:02:37 +0000675
676
677Bug reports
678-----------
679
Guido van Rossumdfcf35d1996-08-26 17:52:09 +0000680Bugs are best reported to the comp.lang.python newsgroup or the Python
Guido van Rossumcc55c2d1996-10-21 15:14:27 +0000681mailing list -- see the section "Newsgroup and mailing list" above.
Guido van Rossumdfcf35d1996-08-26 17:52:09 +0000682Before posting, check the newsgroup archives (see above) to see if
Guido van Rossumc0be2f51997-10-08 05:05:28 +0000683your bug has already been reported! If you don't want to go public,
Guido van Rossum64773801997-11-26 17:07:02 +0000684send them to me: <guido@python.org>.
Guido van Rossumd0fe8451996-08-26 03:02:37 +0000685
686
687Questions
688---------
689
Guido van Rossum49523691997-08-15 18:30:14 +0000690For help, if you can't find it in the manuals or on the web site, it's
691best to post to the comp.lang.python or the Python mailing list (see
692above). If you specifically don't want to involve the newsgroup or
Guido van Rossumc0be2f51997-10-08 05:05:28 +0000693mailing list, send questions to <python-help@python.org> (a group of
694volunteers which does *not* include me). Because of my work and email
695volume, I'm often be slow in answering questions sent to me directly;
696I prefer to answer questions posted to the newsgroup.
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000697
698
699The Tk interface
700----------------
701
702Tk (the user interface component of John Ousterhout's Tcl language) is
703also usable from Python. Since this requires that you first build and
Guido van Rossumc0be2f51997-10-08 05:05:28 +0000704install Tcl/Tk, the Tk interface is not enabled by default. Python
705supports all Tcl/Tk versions from version 7.5/4.1 through 8.0 (and it
706is expected that it will also work with newer versions). Tcl/Tk
Guido van Rossum64773801997-11-26 17:07:02 +00007077.4/4.0 is no longer supported. 8.0 or any later non-alpha non-beta
708release is recommended.
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000709
Guido van Rossum64773801997-11-26 17:07:02 +0000710See http://sunscript.sun.com/ for more info on Tcl/Tk, including the
711on-line manual pages.
712
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000713
714To enable the Python/Tk interface, once you've built and installed
Guido van Rossum64773801997-11-26 17:07:02 +0000715Tcl/Tk, load the file Modules/Setup in your favorite text editor and
716search for the string "_tkinter". Then follow the instructions found
717there. If you have installed Tcl/Tk or X11 in unusual places, you
718will have to edit the first line to fix or add -I and -L options.
719(Also see the general instructions at the top of that file.)
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000720
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000721There is little documentation on how to use Tkinter; however most of
722the Tk manual pages apply quite straightforwardly. Begin with
723fetching the "Tk Lifesaver" document,
724e.g. ftp://ftp.python.org/pub/python/doc/tkinter-doc.tar.gz (a gzipped
725tar file containing a PostScript file) or the on-line version
726http://www.python.org/doc/life-preserver/index.html. Reading the
727Tkinter.py source will reveal most details on how Tkinter calls are
728translated into Tcl code.
729
Guido van Rossumc0be2f51997-10-08 05:05:28 +0000730A more recent introduction to Tkinter programming, by Fredrik Lundh,
731is at http://www.pythonware.com/library/tkinter/introduction/index.htm.
732
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000733There are demos in the Demo/tkinter directory, in the subdirectories
734guido, matt and www (the matt and guido subdirectories have been
735overhauled to use more recent Tkinter coding conventions).
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000736
737Note that there's a Python module called "Tkinter" (capital T) which
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000738lives in Lib/tkinter/Tkinter.py, and a C module called "_tkinter"
739(lower case t and leading underscore) which lives in
740Modules/_tkinter.c. Demos and normal Tk applications only import the
741Python Tkinter module -- only the latter uses the C _tkinter module
742directly. In order to find the C _tkinter module, it must be compiled
743and linked into the Python interpreter -- the _tkinter line in the
744Setup file does this. In order to find the Python Tkinter module,
745sys.path must be set correctly -- the TKPATH assignment in the Setup
746file takes care of this, but only if you install Python properly
747("make install libinstall"). (You can also use dynamic loading for
748the C _tkinter module, in which case you must manually fix up sys.path
749or set $PYTHONPATH for the Python Tkinter module.)
Guido van Rossum84c8c7f1995-08-28 02:44:24 +0000750
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000751
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000752Distribution structure
753----------------------
754
755Most subdirectories have their own README file. Most files have
756comments.
757
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000758Demo/ Demonstration scripts, modules and programs
759Doc/ Documentation (LaTeX sources)
760Grammar/ Input for the parser generator
761Include/ Public header files
762Lib/ Python library modules
763Makefile.in Source from which config.status creates Makefile
Guido van Rossumc0be2f51997-10-08 05:05:28 +0000764Misc/ Miscellaneous useful files
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000765Modules/ Implementation of most built-in modules
766Objects/ Implementation of most built-in object types
Guido van Rossum64773801997-11-26 17:07:02 +0000767PC/ PC porting files (DOS, Windows, OS/2)
768PCbuild/ Directory where you should build for Windows NT/95
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000769Parser/ The parser and tokenizer and their input handling
770Python/ The "compiler" and interpreter
771README The file you're reading now
772Tools/ Some useful programs written in Python
773acconfig.h Additional input for the autoheader program
774config.h.in Source from which config.status creates config.h
775configure Configuration shell script (GNU autoconf output)
776configure.in Configuration specification (GNU autoconf input)
777install-sh Shell script used to install files
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000778
779The following files will (may) be created in the toplevel directory by
780the configuration and build processes:
781
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000782Makefile Build rules
783config.cache cache of configuration variables
784config.h Configuration header
Guido van Rossumc0be2f51997-10-08 05:05:28 +0000785config.log Log from last configure run
786config.status Status from last run of configure script
787libpython1.5.a The library archive
Guido van Rossum6d9cc801996-08-01 17:31:22 +0000788python The executable interpreter
789tags, TAGS Tags files for vi and Emacs
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000790
791
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000792Author's address
Guido van Rossumd0fe8451996-08-26 03:02:37 +0000793================
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000794
795Guido van Rossum
Guido van Rossumfaf681a1996-06-20 14:32:08 +0000796CNRI
7971895 Preston White Drive
Guido van Rossum8d7d4ed1996-07-30 21:41:07 +0000798Reston, VA 20191
Guido van Rossumfaf681a1996-06-20 14:32:08 +0000799USA
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000800
Guido van Rossumd0fe8451996-08-26 03:02:37 +0000801E-mail: guido@cnri.reston.va.us or guido@python.org
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000802
803
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000804
805Copyright notice
806================
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000807
808The Python source is copyrighted, but you can freely use and copy it
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000809as long as you don't change or remove the copyright notice:
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000810
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000811----------------------------------------------------------------------
Guido van Rossumaf5b83e1995-01-04 19:02:35 +0000812Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam,
813The Netherlands.
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000814
815 All Rights Reserved
816
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000817Permission to use, copy, modify, and distribute this software and its
818documentation for any purpose and without fee is hereby granted,
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000819provided that the above copyright notice appear in all copies and that
Guido van Rossumc561e5d1994-08-23 13:52:46 +0000820both that copyright notice and this permission notice appear in
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000821supporting documentation, and that the names of Stichting Mathematisch
Guido van Rossumf501b4e1996-10-25 14:32:48 +0000822Centrum or CWI or Corporation for National Research Initiatives or
823CNRI not be used in advertising or publicity pertaining to
824distribution of the software without specific, written prior
825permission.
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000826
Guido van Rossumf501b4e1996-10-25 14:32:48 +0000827While CWI is the initial source for this software, a modified version
828is made available by the Corporation for National Research Initiatives
829(CNRI) at the Internet address ftp://ftp.python.org.
830
831STICHTING MATHEMATISCH CENTRUM AND CNRI DISCLAIM ALL WARRANTIES WITH
832REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF
833MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH
834CENTRUM OR CNRI BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
835DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
836PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
837TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
838PERFORMANCE OF THIS SOFTWARE.
Guido van Rossum91cb9d21995-04-10 11:47:38 +0000839----------------------------------------------------------------------
Guido van Rossum433c8ad1994-08-01 12:07:07 +0000840
841
Guido van Rossumfaf681a1996-06-20 14:32:08 +0000842--Guido van Rossum (home page: http://www.python.org/~guido/)