Issue #2153: modernize coding style of unittest.py, remove obsolete compatibility...
[python.git] / LICENSE
blob69acaeb7531b670104a61bb4e0371ca516d581f1
1 A. HISTORY OF THE SOFTWARE
2 ==========================
4 Python was created in the early 1990s by Guido van Rossum at Stichting
5 Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands
6 as a successor of a language called ABC.  Guido remains Python's
7 principal author, although it includes many contributions from others.
9 In 1995, Guido continued his work on Python at the Corporation for
10 National Research Initiatives (CNRI, see http://www.cnri.reston.va.us)
11 in Reston, Virginia where he released several versions of the
12 software.
14 In May 2000, Guido and the Python core development team moved to
15 BeOpen.com to form the BeOpen PythonLabs team.  In October of the same
16 year, the PythonLabs team moved to Digital Creations (now Zope
17 Corporation, see http://www.zope.com).  In 2001, the Python Software
18 Foundation (PSF, see http://www.python.org/psf/) was formed, a
19 non-profit organization created specifically to own Python-related
20 Intellectual Property.  Zope Corporation is a sponsoring member of
21 the PSF.
23 All Python releases are Open Source (see http://www.opensource.org for
24 the Open Source Definition).  Historically, most, but not all, Python
25 releases have also been GPL-compatible; the table below summarizes
26 the various releases.
28     Release         Derived     Year        Owner       GPL-
29                     from                                compatible? (1)
31     0.9.0 thru 1.2              1991-1995   CWI         yes
32     1.3 thru 1.5.2  1.2         1995-1999   CNRI        yes
33     1.6             1.5.2       2000        CNRI        no
34     2.0             1.6         2000        BeOpen.com  no
35     1.6.1           1.6         2001        CNRI        yes (2)
36     2.1             2.0+1.6.1   2001        PSF         no
37     2.0.1           2.0+1.6.1   2001        PSF         yes
38     2.1.1           2.1+2.0.1   2001        PSF         yes
39     2.2             2.1.1       2001        PSF         yes
40     2.1.2           2.1.1       2002        PSF         yes
41     2.1.3           2.1.2       2002        PSF         yes
42     2.2.1           2.2         2002        PSF         yes
43     2.2.2           2.2.1       2002        PSF         yes
44     2.2.3           2.2.2       2003        PSF         yes
45     2.3             2.2.2       2002-2003   PSF         yes
46     2.3.1           2.3         2002-2003   PSF         yes
47     2.3.2           2.3.1       2002-2003   PSF         yes
48     2.3.3           2.3.2       2002-2003   PSF         yes
49     2.3.4           2.3.3       2004        PSF         yes
50     2.3.5           2.3.4       2005        PSF         yes
51     2.4             2.3         2004        PSF         yes
52     2.4.1           2.4         2005        PSF         yes
53     2.4.2           2.4.1       2005        PSF         yes
54     2.4.3           2.4.2       2006        PSF         yes
55     2.4.4           2.4.3       2006        PSF         yes
56     2.5             2.4         2006        PSF         yes
57     2.5.1           2.5         2007        PSF         yes
58     2.5.2           2.5.1       2008        PSF         yes
59     2.5.3           2.5.2       2008        PSF         yes
60     2.6             2.5         2008        PSF         yes
61     2.6.1           2.6         2008        PSF         yes
63 Footnotes:
65 (1) GPL-compatible doesn't mean that we're distributing Python under
66     the GPL.  All Python licenses, unlike the GPL, let you distribute
67     a modified version without making your changes open source.  The
68     GPL-compatible licenses make it possible to combine Python with
69     other software that is released under the GPL; the others don't.
71 (2) According to Richard Stallman, 1.6.1 is not GPL-compatible,
72     because its license has a choice of law clause.  According to
73     CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1
74     is "not incompatible" with the GPL.
76 Thanks to the many outside volunteers who have worked under Guido's
77 direction to make these releases possible.
80 B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON
81 ===============================================================
83 PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
84 --------------------------------------------
86 1. This LICENSE AGREEMENT is between the Python Software Foundation
87 ("PSF"), and the Individual or Organization ("Licensee") accessing and
88 otherwise using this software ("Python") in source or binary form and
89 its associated documentation.
91 2. Subject to the terms and conditions of this License Agreement, PSF
92 hereby grants Licensee a nonexclusive, royalty-free, world-wide
93 license to reproduce, analyze, test, perform and/or display publicly,
94 prepare derivative works, distribute, and otherwise use Python
95 alone or in any derivative version, provided, however, that PSF's
96 License Agreement and PSF's notice of copyright, i.e., "Copyright (c)
97 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Python Software Foundation; 
98 All Rights Reserved" are retained in Python alone or in any derivative 
99 version prepared by Licensee.
101 3. In the event Licensee prepares a derivative work that is based on
102 or incorporates Python or any part thereof, and wants to make
103 the derivative work available to others as provided herein, then
104 Licensee hereby agrees to include in any such work a brief summary of
105 the changes made to Python.
107 4. PSF is making Python available to Licensee on an "AS IS"
108 basis.  PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
109 IMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
110 DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
111 FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
112 INFRINGE ANY THIRD PARTY RIGHTS.
114 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
115 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
116 A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
117 OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
119 6. This License Agreement will automatically terminate upon a material
120 breach of its terms and conditions.
122 7. Nothing in this License Agreement shall be deemed to create any
123 relationship of agency, partnership, or joint venture between PSF and
124 Licensee.  This License Agreement does not grant permission to use PSF
125 trademarks or trade name in a trademark sense to endorse or promote
126 products or services of Licensee, or any third party.
128 8. By copying, installing or otherwise using Python, Licensee
129 agrees to be bound by the terms and conditions of this License
130 Agreement.
133 BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0
134 -------------------------------------------
136 BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1
138 1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an
139 office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the
140 Individual or Organization ("Licensee") accessing and otherwise using
141 this software in source or binary form and its associated
142 documentation ("the Software").
144 2. Subject to the terms and conditions of this BeOpen Python License
145 Agreement, BeOpen hereby grants Licensee a non-exclusive,
146 royalty-free, world-wide license to reproduce, analyze, test, perform
147 and/or display publicly, prepare derivative works, distribute, and
148 otherwise use the Software alone or in any derivative version,
149 provided, however, that the BeOpen Python License is retained in the
150 Software, alone or in any derivative version prepared by Licensee.
152 3. BeOpen is making the Software available to Licensee on an "AS IS"
153 basis.  BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
154 IMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND
155 DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
156 FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT
157 INFRINGE ANY THIRD PARTY RIGHTS.
159 4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE
160 SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS
161 AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY
162 DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
164 5. This License Agreement will automatically terminate upon a material
165 breach of its terms and conditions.
167 6. This License Agreement shall be governed by and interpreted in all
168 respects by the law of the State of California, excluding conflict of
169 law provisions.  Nothing in this License Agreement shall be deemed to
170 create any relationship of agency, partnership, or joint venture
171 between BeOpen and Licensee.  This License Agreement does not grant
172 permission to use BeOpen trademarks or trade names in a trademark
173 sense to endorse or promote products or services of Licensee, or any
174 third party.  As an exception, the "BeOpen Python" logos available at
175 http://www.pythonlabs.com/logos.html may be used according to the
176 permissions granted on that web page.
178 7. By copying, installing or otherwise using the software, Licensee
179 agrees to be bound by the terms and conditions of this License
180 Agreement.
183 CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1
184 ---------------------------------------
186 1. This LICENSE AGREEMENT is between the Corporation for National
187 Research Initiatives, having an office at 1895 Preston White Drive,
188 Reston, VA 20191 ("CNRI"), and the Individual or Organization
189 ("Licensee") accessing and otherwise using Python 1.6.1 software in
190 source or binary form and its associated documentation.
192 2. Subject to the terms and conditions of this License Agreement, CNRI
193 hereby grants Licensee a nonexclusive, royalty-free, world-wide
194 license to reproduce, analyze, test, perform and/or display publicly,
195 prepare derivative works, distribute, and otherwise use Python 1.6.1
196 alone or in any derivative version, provided, however, that CNRI's
197 License Agreement and CNRI's notice of copyright, i.e., "Copyright (c)
198 1995-2001 Corporation for National Research Initiatives; All Rights
199 Reserved" are retained in Python 1.6.1 alone or in any derivative
200 version prepared by Licensee.  Alternately, in lieu of CNRI's License
201 Agreement, Licensee may substitute the following text (omitting the
202 quotes): "Python 1.6.1 is made available subject to the terms and
203 conditions in CNRI's License Agreement.  This Agreement together with
204 Python 1.6.1 may be located on the Internet using the following
205 unique, persistent identifier (known as a handle): 1895.22/1013.  This
206 Agreement may also be obtained from a proxy server on the Internet
207 using the following URL: http://hdl.handle.net/1895.22/1013".
209 3. In the event Licensee prepares a derivative work that is based on
210 or incorporates Python 1.6.1 or any part thereof, and wants to make
211 the derivative work available to others as provided herein, then
212 Licensee hereby agrees to include in any such work a brief summary of
213 the changes made to Python 1.6.1.
215 4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS"
216 basis.  CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
217 IMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND
218 DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
219 FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT
220 INFRINGE ANY THIRD PARTY RIGHTS.
222 5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
223 1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
224 A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,
225 OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
227 6. This License Agreement will automatically terminate upon a material
228 breach of its terms and conditions.
230 7. This License Agreement shall be governed by the federal
231 intellectual property law of the United States, including without
232 limitation the federal copyright law, and, to the extent such
233 U.S. federal law does not apply, by the law of the Commonwealth of
234 Virginia, excluding Virginia's conflict of law provisions.
235 Notwithstanding the foregoing, with regard to derivative works based
236 on Python 1.6.1 that incorporate non-separable material that was
237 previously distributed under the GNU General Public License (GPL), the
238 law of the Commonwealth of Virginia shall govern this License
239 Agreement only as to issues arising under or with respect to
240 Paragraphs 4, 5, and 7 of this License Agreement.  Nothing in this
241 License Agreement shall be deemed to create any relationship of
242 agency, partnership, or joint venture between CNRI and Licensee.  This
243 License Agreement does not grant permission to use CNRI trademarks or
244 trade name in a trademark sense to endorse or promote products or
245 services of Licensee, or any third party.
247 8. By clicking on the "ACCEPT" button where indicated, or by copying,
248 installing or otherwise using Python 1.6.1, Licensee agrees to be
249 bound by the terms and conditions of this License Agreement.
251         ACCEPT
254 CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2
255 --------------------------------------------------
257 Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,
258 The Netherlands.  All rights reserved.
260 Permission to use, copy, modify, and distribute this software and its
261 documentation for any purpose and without fee is hereby granted,
262 provided that the above copyright notice appear in all copies and that
263 both that copyright notice and this permission notice appear in
264 supporting documentation, and that the name of Stichting Mathematisch
265 Centrum or CWI not be used in advertising or publicity pertaining to
266 distribution of the software without specific, written prior
267 permission.
269 STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
270 THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
271 FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
272 FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
273 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
274 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
275 OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.