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