Issue #3299: Fix possible crash in the _sre module when given bad
[python.git] / LICENSE
blob064695ea7271f984309ed19014e7b29e9bc8f2a6
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
62     2.6.2           2.6.1       2009        PSF         yes
63     2.6.3           2.6.2       2009        PSF         yes
64     2.6.4           2.6.3       2009        PSF         yes
66 Footnotes:
68 (1) GPL-compatible doesn't mean that we're distributing Python under
69     the GPL.  All Python licenses, unlike the GPL, let you distribute
70     a modified version without making your changes open source.  The
71     GPL-compatible licenses make it possible to combine Python with
72     other software that is released under the GPL; the others don't.
74 (2) According to Richard Stallman, 1.6.1 is not GPL-compatible,
75     because its license has a choice of law clause.  According to
76     CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1
77     is "not incompatible" with the GPL.
79 Thanks to the many outside volunteers who have worked under Guido's
80 direction to make these releases possible.
83 B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON
84 ===============================================================
86 PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
87 --------------------------------------------
89 1. This LICENSE AGREEMENT is between the Python Software Foundation
90 ("PSF"), and the Individual or Organization ("Licensee") accessing and
91 otherwise using this software ("Python") in source or binary form and
92 its associated documentation.
94 2. Subject to the terms and conditions of this License Agreement, PSF hereby
95 grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
96 analyze, test, perform and/or display publicly, prepare derivative works,
97 distribute, and otherwise use Python alone or in any derivative version,
98 provided, however, that PSF's License Agreement and PSF's notice of copyright,
99 i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
100 Python Software Foundation; All Rights Reserved" are retained in Python alone or
101 in any derivative version prepared by Licensee.
103 3. In the event Licensee prepares a derivative work that is based on
104 or incorporates Python or any part thereof, and wants to make
105 the derivative work available to others as provided herein, then
106 Licensee hereby agrees to include in any such work a brief summary of
107 the changes made to Python.
109 4. PSF is making Python available to Licensee on an "AS IS"
110 basis.  PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
111 IMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
112 DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
113 FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
114 INFRINGE ANY THIRD PARTY RIGHTS.
116 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
117 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
118 A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
119 OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
121 6. This License Agreement will automatically terminate upon a material
122 breach of its terms and conditions.
124 7. Nothing in this License Agreement shall be deemed to create any
125 relationship of agency, partnership, or joint venture between PSF and
126 Licensee.  This License Agreement does not grant permission to use PSF
127 trademarks or trade name in a trademark sense to endorse or promote
128 products or services of Licensee, or any third party.
130 8. By copying, installing or otherwise using Python, Licensee
131 agrees to be bound by the terms and conditions of this License
132 Agreement.
135 BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0
136 -------------------------------------------
138 BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1
140 1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an
141 office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the
142 Individual or Organization ("Licensee") accessing and otherwise using
143 this software in source or binary form and its associated
144 documentation ("the Software").
146 2. Subject to the terms and conditions of this BeOpen Python License
147 Agreement, BeOpen hereby grants Licensee a non-exclusive,
148 royalty-free, world-wide license to reproduce, analyze, test, perform
149 and/or display publicly, prepare derivative works, distribute, and
150 otherwise use the Software alone or in any derivative version,
151 provided, however, that the BeOpen Python License is retained in the
152 Software, alone or in any derivative version prepared by Licensee.
154 3. BeOpen is making the Software available to Licensee on an "AS IS"
155 basis.  BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
156 IMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND
157 DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
158 FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT
159 INFRINGE ANY THIRD PARTY RIGHTS.
161 4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE
162 SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS
163 AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY
164 DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
166 5. This License Agreement will automatically terminate upon a material
167 breach of its terms and conditions.
169 6. This License Agreement shall be governed by and interpreted in all
170 respects by the law of the State of California, excluding conflict of
171 law provisions.  Nothing in this License Agreement shall be deemed to
172 create any relationship of agency, partnership, or joint venture
173 between BeOpen and Licensee.  This License Agreement does not grant
174 permission to use BeOpen trademarks or trade names in a trademark
175 sense to endorse or promote products or services of Licensee, or any
176 third party.  As an exception, the "BeOpen Python" logos available at
177 http://www.pythonlabs.com/logos.html may be used according to the
178 permissions granted on that web page.
180 7. By copying, installing or otherwise using the software, Licensee
181 agrees to be bound by the terms and conditions of this License
182 Agreement.
185 CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1
186 ---------------------------------------
188 1. This LICENSE AGREEMENT is between the Corporation for National
189 Research Initiatives, having an office at 1895 Preston White Drive,
190 Reston, VA 20191 ("CNRI"), and the Individual or Organization
191 ("Licensee") accessing and otherwise using Python 1.6.1 software in
192 source or binary form and its associated documentation.
194 2. Subject to the terms and conditions of this License Agreement, CNRI
195 hereby grants Licensee a nonexclusive, royalty-free, world-wide
196 license to reproduce, analyze, test, perform and/or display publicly,
197 prepare derivative works, distribute, and otherwise use Python 1.6.1
198 alone or in any derivative version, provided, however, that CNRI's
199 License Agreement and CNRI's notice of copyright, i.e., "Copyright (c)
200 1995-2001 Corporation for National Research Initiatives; All Rights
201 Reserved" are retained in Python 1.6.1 alone or in any derivative
202 version prepared by Licensee.  Alternately, in lieu of CNRI's License
203 Agreement, Licensee may substitute the following text (omitting the
204 quotes): "Python 1.6.1 is made available subject to the terms and
205 conditions in CNRI's License Agreement.  This Agreement together with
206 Python 1.6.1 may be located on the Internet using the following
207 unique, persistent identifier (known as a handle): 1895.22/1013.  This
208 Agreement may also be obtained from a proxy server on the Internet
209 using the following URL: http://hdl.handle.net/1895.22/1013".
211 3. In the event Licensee prepares a derivative work that is based on
212 or incorporates Python 1.6.1 or any part thereof, and wants to make
213 the derivative work available to others as provided herein, then
214 Licensee hereby agrees to include in any such work a brief summary of
215 the changes made to Python 1.6.1.
217 4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS"
218 basis.  CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
219 IMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND
220 DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
221 FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT
222 INFRINGE ANY THIRD PARTY RIGHTS.
224 5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
225 1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
226 A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,
227 OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
229 6. This License Agreement will automatically terminate upon a material
230 breach of its terms and conditions.
232 7. This License Agreement shall be governed by the federal
233 intellectual property law of the United States, including without
234 limitation the federal copyright law, and, to the extent such
235 U.S. federal law does not apply, by the law of the Commonwealth of
236 Virginia, excluding Virginia's conflict of law provisions.
237 Notwithstanding the foregoing, with regard to derivative works based
238 on Python 1.6.1 that incorporate non-separable material that was
239 previously distributed under the GNU General Public License (GPL), the
240 law of the Commonwealth of Virginia shall govern this License
241 Agreement only as to issues arising under or with respect to
242 Paragraphs 4, 5, and 7 of this License Agreement.  Nothing in this
243 License Agreement shall be deemed to create any relationship of
244 agency, partnership, or joint venture between CNRI and Licensee.  This
245 License Agreement does not grant permission to use CNRI trademarks or
246 trade name in a trademark sense to endorse or promote products or
247 services of Licensee, or any third party.
249 8. By clicking on the "ACCEPT" button where indicated, or by copying,
250 installing or otherwise using Python 1.6.1, Licensee agrees to be
251 bound by the terms and conditions of this License Agreement.
253         ACCEPT
256 CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2
257 --------------------------------------------------
259 Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,
260 The Netherlands.  All rights reserved.
262 Permission to use, copy, modify, and distribute this software and its
263 documentation for any purpose and without fee is hereby granted,
264 provided that the above copyright notice appear in all copies and that
265 both that copyright notice and this permission notice appear in
266 supporting documentation, and that the name of Stichting Mathematisch
267 Centrum or CWI not be used in advertising or publicity pertaining to
268 distribution of the software without specific, written prior
269 permission.
271 STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
272 THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
273 FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
274 FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
275 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
276 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
277 OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.