blob: b96d7cd724db1eb08efb03dbbfa400e8807de89a [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001This is the Debian GNU/Linux prepackaged version of the Python programming
2language. Python was written by Guido van Rossum <guido@cwi.nl> and others.
3
4This package was put together by Klee Dienes <klee@debian.org> from
5sources from ftp.python.org:/pub/python, based on the Debianization by
6the previous maintainers Bernd S. Brentrup <bsb@uni-muenster.de> and
7Bruce Perens.
8
9Current maintainer is Matthias Klose <doko@debian.org> until the final
102.3 version is released.
11
12
13Copyright notice (as found in LICENSE in the original source).
14--------------------------------------------------------------
15
16A. HISTORY OF THE SOFTWARE
17==========================
18
19Python was created in the early 1990s by Guido van Rossum at Stichting
20Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands
21as a successor of a language called ABC. Guido remains Python's
22principal author, although it includes many contributions from others.
23
24In 1995, Guido continued his work on Python at the Corporation for
25National Research Initiatives (CNRI, see http://www.cnri.reston.va.us)
26in Reston, Virginia where he released several versions of the
27software.
28
29In May 2000, Guido and the Python core development team moved to
30BeOpen.com to form the BeOpen PythonLabs team. In October of the same
31year, the PythonLabs team moved to Digital Creations (now Zope
32Corporation, see http://www.zope.com). In 2001, the Python Software
33Foundation (PSF, see http://www.python.org/psf/) was formed, a
34non-profit organization created specifically to own Python-related
35Intellectual Property. Zope Corporation is a sponsoring member of
36the PSF.
37
38All Python releases are Open Source (see http://www.opensource.org for
39the Open Source Definition). Historically, most, but not all, Python
40releases have also been GPL-compatible; the table below summarizes
41the various releases.
42
43 Release Derived Year Owner GPL-
44 from compatible? (1)
45
46 0.9.0 thru 1.2 1991-1995 CWI yes
47 1.3 thru 1.5.2 1.2 1995-1999 CNRI yes
48 1.6 1.5.2 2000 CNRI no
49 2.0 1.6 2000 BeOpen.com no
50 1.6.1 1.6 2001 CNRI yes (2)
51 2.1 2.0+1.6.1 2001 PSF no
52 2.0.1 2.0+1.6.1 2001 PSF yes
53 2.1.1 2.1+2.0.1 2001 PSF yes
54 2.2 2.1.1 2001 PSF yes
55 2.1.2 2.1.1 2002 PSF yes
56 2.1.3 2.1.2 2002 PSF yes
57 2.2.1 2.2 2002 PSF yes
58 2.2.2 2.2.1 2002 PSF yes
59 2.2.3 2.2.2 2003 PSF yes
60 2.3 2.2.2 2002-2003 PSF yes
61 2.3.1 2.3 2002-2003 PSF yes
62 2.3.2 2.3.1 2002-2003 PSF yes
63 2.3.3 2.3.2 2002-2003 PSF yes
64 2.3.4 2.3.3 2004 PSF yes
65 2.3.5 2.3.4 2005 PSF yes
66 2.4 2.3 2004 PSF yes
67 2.4.1 2.4 2005 PSF yes
68 2.4.2 2.4.1 2005 PSF yes
69 2.4.3 2.4.2 2006 PSF yes
70 2.4.4 2.4.3 2006 PSF yes
71 2.5 2.4 2006 PSF yes
72 2.5.1 2.5 2007 PSF yes
73 2.5.2 2.5.1 2008 PSF yes
74 2.5.3 2.5.2 2008 PSF yes
75 2.6 2.5 2008 PSF yes
76 2.6.1 2.6 2008 PSF yes
77 2.6.2 2.6.1 2009 PSF yes
78 2.6.3 2.6.2 2009 PSF yes
79 2.6.4 2.6.3 2009 PSF yes
80 3.0 2.6 2008 PSF yes
81 3.0.1 3.0 2009 PSF yes
82 3.1 3.0.1 2009 PSF yes
83 3.1.1 3.1 2009 PSF yes
84
85Footnotes:
86
87(1) GPL-compatible doesn't mean that we're distributing Python under
88 the GPL. All Python licenses, unlike the GPL, let you distribute
89 a modified version without making your changes open source. The
90 GPL-compatible licenses make it possible to combine Python with
91 other software that is released under the GPL; the others don't.
92
93(2) According to Richard Stallman, 1.6.1 is not GPL-compatible,
94 because its license has a choice of law clause. According to
95 CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1
96 is "not incompatible" with the GPL.
97
98Thanks to the many outside volunteers who have worked under Guido's
99direction to make these releases possible.
100
101
102B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON
103===============================================================
104
105PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
106--------------------------------------------
107
1081. This LICENSE AGREEMENT is between the Python Software Foundation
109("PSF"), and the Individual or Organization ("Licensee") accessing and
110otherwise using this software ("Python") in source or binary form and
111its associated documentation.
112
1132. Subject to the terms and conditions of this License Agreement, PSF hereby
114grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
115analyze, test, perform and/or display publicly, prepare derivative works,
116distribute, and otherwise use Python alone or in any derivative version,
117provided, however, that PSF's License Agreement and PSF's notice of copyright,
118i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
119Python Software Foundation; All Rights Reserved" are retained in Python alone or
120in any derivative version prepared by Licensee.
121
1223. In the event Licensee prepares a derivative work that is based on
123or incorporates Python or any part thereof, and wants to make
124the derivative work available to others as provided herein, then
125Licensee hereby agrees to include in any such work a brief summary of
126the changes made to Python.
127
1284. PSF is making Python available to Licensee on an "AS IS"
129basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
130IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
131DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
132FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
133INFRINGE ANY THIRD PARTY RIGHTS.
134
1355. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
136FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
137A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
138OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
139
1406. This License Agreement will automatically terminate upon a material
141breach of its terms and conditions.
142
1437. Nothing in this License Agreement shall be deemed to create any
144relationship of agency, partnership, or joint venture between PSF and
145Licensee. This License Agreement does not grant permission to use PSF
146trademarks or trade name in a trademark sense to endorse or promote
147products or services of Licensee, or any third party.
148
1498. By copying, installing or otherwise using Python, Licensee
150agrees to be bound by the terms and conditions of this License
151Agreement.
152
153
154BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0
155-------------------------------------------
156
157BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1
158
1591. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an
160office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the
161Individual or Organization ("Licensee") accessing and otherwise using
162this software in source or binary form and its associated
163documentation ("the Software").
164
1652. Subject to the terms and conditions of this BeOpen Python License
166Agreement, BeOpen hereby grants Licensee a non-exclusive,
167royalty-free, world-wide license to reproduce, analyze, test, perform
168and/or display publicly, prepare derivative works, distribute, and
169otherwise use the Software alone or in any derivative version,
170provided, however, that the BeOpen Python License is retained in the
171Software, alone or in any derivative version prepared by Licensee.
172
1733. BeOpen is making the Software available to Licensee on an "AS IS"
174basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
175IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND
176DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
177FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT
178INFRINGE ANY THIRD PARTY RIGHTS.
179
1804. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE
181SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS
182AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY
183DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
184
1855. This License Agreement will automatically terminate upon a material
186breach of its terms and conditions.
187
1886. This License Agreement shall be governed by and interpreted in all
189respects by the law of the State of California, excluding conflict of
190law provisions. Nothing in this License Agreement shall be deemed to
191create any relationship of agency, partnership, or joint venture
192between BeOpen and Licensee. This License Agreement does not grant
193permission to use BeOpen trademarks or trade names in a trademark
194sense to endorse or promote products or services of Licensee, or any
195third party. As an exception, the "BeOpen Python" logos available at
196http://www.pythonlabs.com/logos.html may be used according to the
197permissions granted on that web page.
198
1997. By copying, installing or otherwise using the software, Licensee
200agrees to be bound by the terms and conditions of this License
201Agreement.
202
203
204CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1
205---------------------------------------
206
2071. This LICENSE AGREEMENT is between the Corporation for National
208Research Initiatives, having an office at 1895 Preston White Drive,
209Reston, VA 20191 ("CNRI"), and the Individual or Organization
210("Licensee") accessing and otherwise using Python 1.6.1 software in
211source or binary form and its associated documentation.
212
2132. Subject to the terms and conditions of this License Agreement, CNRI
214hereby grants Licensee a nonexclusive, royalty-free, world-wide
215license to reproduce, analyze, test, perform and/or display publicly,
216prepare derivative works, distribute, and otherwise use Python 1.6.1
217alone or in any derivative version, provided, however, that CNRI's
218License Agreement and CNRI's notice of copyright, i.e., "Copyright (c)
2191995-2001 Corporation for National Research Initiatives; All Rights
220Reserved" are retained in Python 1.6.1 alone or in any derivative
221version prepared by Licensee. Alternately, in lieu of CNRI's License
222Agreement, Licensee may substitute the following text (omitting the
223quotes): "Python 1.6.1 is made available subject to the terms and
224conditions in CNRI's License Agreement. This Agreement together with
225Python 1.6.1 may be located on the Internet using the following
226unique, persistent identifier (known as a handle): 1895.22/1013. This
227Agreement may also be obtained from a proxy server on the Internet
228using the following URL: http://hdl.handle.net/1895.22/1013".
229
2303. In the event Licensee prepares a derivative work that is based on
231or incorporates Python 1.6.1 or any part thereof, and wants to make
232the derivative work available to others as provided herein, then
233Licensee hereby agrees to include in any such work a brief summary of
234the changes made to Python 1.6.1.
235
2364. CNRI is making Python 1.6.1 available to Licensee on an "AS IS"
237basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
238IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND
239DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
240FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT
241INFRINGE ANY THIRD PARTY RIGHTS.
242
2435. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
2441.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
245A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,
246OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
247
2486. This License Agreement will automatically terminate upon a material
249breach of its terms and conditions.
250
2517. This License Agreement shall be governed by the federal
252intellectual property law of the United States, including without
253limitation the federal copyright law, and, to the extent such
254U.S. federal law does not apply, by the law of the Commonwealth of
255Virginia, excluding Virginia's conflict of law provisions.
256Notwithstanding the foregoing, with regard to derivative works based
257on Python 1.6.1 that incorporate non-separable material that was
258previously distributed under the GNU General Public License (GPL), the
259law of the Commonwealth of Virginia shall govern this License
260Agreement only as to issues arising under or with respect to
261Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this
262License Agreement shall be deemed to create any relationship of
263agency, partnership, or joint venture between CNRI and Licensee. This
264License Agreement does not grant permission to use CNRI trademarks or
265trade name in a trademark sense to endorse or promote products or
266services of Licensee, or any third party.
267
2688. By clicking on the "ACCEPT" button where indicated, or by copying,
269installing or otherwise using Python 1.6.1, Licensee agrees to be
270bound by the terms and conditions of this License Agreement.
271
272 ACCEPT
273
274
275CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2
276--------------------------------------------------
277
278Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,
279The Netherlands. All rights reserved.
280
281Permission to use, copy, modify, and distribute this software and its
282documentation for any purpose and without fee is hereby granted,
283provided that the above copyright notice appear in all copies and that
284both that copyright notice and this permission notice appear in
285supporting documentation, and that the name of Stichting Mathematisch
286Centrum or CWI not be used in advertising or publicity pertaining to
287distribution of the software without specific, written prior
288permission.
289
290STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
291THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
292FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
293FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
294WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
295ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
296OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
297
298
299py3compile, py3clean and debpython module:
300==========================================
301Copyright © 2010-2013 Piotr Ożarowski <piotr@debian.org>
302
303Permission is hereby granted, free of charge, to any person obtaining a copy
304of this software and associated documentation files (the "Software"), to deal
305in the Software without restriction, including without limitation the rights
306to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
307copies of the Software, and to permit persons to whom the Software is
308furnished to do so, subject to the following conditions:
309
310The above copyright notice and this permission notice shall be included in
311all copies or substantial portions of the Software.
312
313THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
314IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
315FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
316AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
317LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
318OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
319THE SOFTWARE.