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