Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 1 | .. highlightlang:: none |
| 2 | |
| 3 | .. _history-and-license: |
| 4 | |
| 5 | ******************* |
| 6 | History and License |
| 7 | ******************* |
| 8 | |
| 9 | |
| 10 | History of the software |
| 11 | ======================= |
| 12 | |
| 13 | Python was created in the early 1990s by Guido van Rossum at Stichting |
| 14 | Mathematisch Centrum (CWI, see http://www.cwi.nl/) in the Netherlands as a |
| 15 | successor of a language called ABC. Guido remains Python's principal author, |
| 16 | although it includes many contributions from others. |
| 17 | |
| 18 | In 1995, Guido continued his work on Python at the Corporation for National |
| 19 | Research Initiatives (CNRI, see http://www.cnri.reston.va.us/) in Reston, |
| 20 | Virginia where he released several versions of the software. |
| 21 | |
| 22 | In May 2000, Guido and the Python core development team moved to BeOpen.com to |
| 23 | form the BeOpen PythonLabs team. In October of the same year, the PythonLabs |
| 24 | team moved to Digital Creations (now Zope Corporation; see |
| 25 | http://www.zope.com/). In 2001, the Python Software Foundation (PSF, see |
| 26 | http://www.python.org/psf/) was formed, a non-profit organization created |
| 27 | specifically to own Python-related Intellectual Property. Zope Corporation is a |
| 28 | sponsoring member of the PSF. |
| 29 | |
| 30 | All Python releases are Open Source (see http://www.opensource.org/ for the Open |
| 31 | Source Definition). Historically, most, but not all, Python releases have also |
| 32 | been GPL-compatible; the table below summarizes the various releases. |
| 33 | |
Georg Brandl | 716c3ac | 2007-08-30 18:34:23 +0000 | [diff] [blame] | 34 | +----------------+--------------+------------+------------+-----------------+ |
| 35 | | Release | Derived from | Year | Owner | GPL compatible? | |
| 36 | +================+==============+============+============+=================+ |
| 37 | | 0.9.0 thru 1.2 | n/a | 1991-1995 | CWI | yes | |
| 38 | +----------------+--------------+------------+------------+-----------------+ |
| 39 | | 1.3 thru 1.5.2 | 1.2 | 1995-1999 | CNRI | yes | |
| 40 | +----------------+--------------+------------+------------+-----------------+ |
| 41 | | 1.6 | 1.5.2 | 2000 | CNRI | no | |
| 42 | +----------------+--------------+------------+------------+-----------------+ |
| 43 | | 2.0 | 1.6 | 2000 | BeOpen.com | no | |
| 44 | +----------------+--------------+------------+------------+-----------------+ |
| 45 | | 1.6.1 | 1.6 | 2001 | CNRI | no | |
| 46 | +----------------+--------------+------------+------------+-----------------+ |
| 47 | | 2.1 | 2.0+1.6.1 | 2001 | PSF | no | |
| 48 | +----------------+--------------+------------+------------+-----------------+ |
| 49 | | 2.0.1 | 2.0+1.6.1 | 2001 | PSF | yes | |
| 50 | +----------------+--------------+------------+------------+-----------------+ |
| 51 | | 2.1.1 | 2.1+2.0.1 | 2001 | PSF | yes | |
| 52 | +----------------+--------------+------------+------------+-----------------+ |
| 53 | | 2.2 | 2.1.1 | 2001 | PSF | yes | |
| 54 | +----------------+--------------+------------+------------+-----------------+ |
| 55 | | 2.1.2 | 2.1.1 | 2002 | PSF | yes | |
| 56 | +----------------+--------------+------------+------------+-----------------+ |
| 57 | | 2.1.3 | 2.1.2 | 2002 | PSF | yes | |
| 58 | +----------------+--------------+------------+------------+-----------------+ |
| 59 | | 2.2.1 | 2.2 | 2002 | PSF | yes | |
| 60 | +----------------+--------------+------------+------------+-----------------+ |
| 61 | | 2.2.2 | 2.2.1 | 2002 | PSF | yes | |
| 62 | +----------------+--------------+------------+------------+-----------------+ |
| 63 | | 2.2.3 | 2.2.2 | 2002-2003 | PSF | yes | |
| 64 | +----------------+--------------+------------+------------+-----------------+ |
| 65 | | 2.3 | 2.2.2 | 2002-2003 | PSF | yes | |
| 66 | +----------------+--------------+------------+------------+-----------------+ |
| 67 | | 2.3.1 | 2.3 | 2002-2003 | PSF | yes | |
| 68 | +----------------+--------------+------------+------------+-----------------+ |
| 69 | | 2.3.2 | 2.3.1 | 2003 | PSF | yes | |
| 70 | +----------------+--------------+------------+------------+-----------------+ |
| 71 | | 2.3.3 | 2.3.2 | 2003 | PSF | yes | |
| 72 | +----------------+--------------+------------+------------+-----------------+ |
| 73 | | 2.3.4 | 2.3.3 | 2004 | PSF | yes | |
| 74 | +----------------+--------------+------------+------------+-----------------+ |
| 75 | | 2.3.5 | 2.3.4 | 2005 | PSF | yes | |
| 76 | +----------------+--------------+------------+------------+-----------------+ |
| 77 | | 2.4 | 2.3 | 2004 | PSF | yes | |
| 78 | +----------------+--------------+------------+------------+-----------------+ |
| 79 | | 2.4.1 | 2.4 | 2005 | PSF | yes | |
| 80 | +----------------+--------------+------------+------------+-----------------+ |
| 81 | | 2.4.2 | 2.4.1 | 2005 | PSF | yes | |
| 82 | +----------------+--------------+------------+------------+-----------------+ |
| 83 | | 2.4.3 | 2.4.2 | 2006 | PSF | yes | |
| 84 | +----------------+--------------+------------+------------+-----------------+ |
| 85 | | 2.4.4 | 2.4.3 | 2006 | PSF | yes | |
| 86 | +----------------+--------------+------------+------------+-----------------+ |
| 87 | | 2.5 | 2.4 | 2006 | PSF | yes | |
| 88 | +----------------+--------------+------------+------------+-----------------+ |
| 89 | | 2.5.1 | 2.5 | 2007 | PSF | yes | |
| 90 | +----------------+--------------+------------+------------+-----------------+ |
Barry Warsaw | 4a1c213 | 2008-05-08 15:31:04 +0000 | [diff] [blame] | 91 | | 2.6 | 2.5 | 2008 | PSF | yes | |
Georg Brandl | 716c3ac | 2007-08-30 18:34:23 +0000 | [diff] [blame] | 92 | +----------------+--------------+------------+------------+-----------------+ |
Benjamin Peterson | 9203501 | 2008-12-27 16:00:54 +0000 | [diff] [blame] | 93 | | 2.6.1 | 2.6 | 2008 | PSF | yes | |
| 94 | +----------------+--------------+------------+------------+-----------------+ |
Barry Warsaw | 97f005d | 2008-12-03 16:46:14 +0000 | [diff] [blame] | 95 | | 3.0 | 2.6 | 2008 | PSF | yes | |
Georg Brandl | 716c3ac | 2007-08-30 18:34:23 +0000 | [diff] [blame] | 96 | +----------------+--------------+------------+------------+-----------------+ |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 97 | |
Benjamin Peterson | 9203501 | 2008-12-27 16:00:54 +0000 | [diff] [blame] | 98 | |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 99 | .. note:: |
| 100 | |
| 101 | GPL-compatible doesn't mean that we're distributing Python under the GPL. All |
| 102 | Python licenses, unlike the GPL, let you distribute a modified version without |
| 103 | making your changes open source. The GPL-compatible licenses make it possible to |
| 104 | combine Python with other software that is released under the GPL; the others |
| 105 | don't. |
| 106 | |
| 107 | Thanks to the many outside volunteers who have worked under Guido's direction to |
| 108 | make these releases possible. |
| 109 | |
| 110 | |
| 111 | Terms and conditions for accessing or otherwise using Python |
| 112 | ============================================================ |
| 113 | |
| 114 | |
| 115 | .. centered:: PSF LICENSE AGREEMENT FOR PYTHON |release| |
| 116 | |
| 117 | #. This LICENSE AGREEMENT is between the Python Software Foundation ("PSF"), and |
| 118 | the Individual or Organization ("Licensee") accessing and otherwise using Python |
| 119 | |release| software in source or binary form and its associated documentation. |
| 120 | |
| 121 | #. Subject to the terms and conditions of this License Agreement, PSF hereby |
| 122 | grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, |
| 123 | analyze, test, perform and/or display publicly, prepare derivative works, |
| 124 | distribute, and otherwise use Python |release| alone or in any derivative |
| 125 | version, provided, however, that PSF's License Agreement and PSF's notice of |
Georg Brandl | b1441c7 | 2009-01-03 22:33:39 +0000 | [diff] [blame] | 126 | copyright, i.e., "Copyright © 2001-2009 Python Software Foundation; All Rights |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 127 | Reserved" are retained in Python |release| alone or in any derivative version |
| 128 | prepared by Licensee. |
| 129 | |
| 130 | #. In the event Licensee prepares a derivative work that is based on or |
| 131 | incorporates Python |release| or any part thereof, and wants to make the |
| 132 | derivative work available to others as provided herein, then Licensee hereby |
| 133 | agrees to include in any such work a brief summary of the changes made to Python |
| 134 | |release|. |
| 135 | |
| 136 | #. PSF is making Python |release| available to Licensee on an "AS IS" basis. |
| 137 | PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF |
| 138 | EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR |
| 139 | WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE |
| 140 | USE OF PYTHON |release| WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. |
| 141 | |
| 142 | #. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON |release| |
| 143 | FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF |
| 144 | MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON |release|, OR ANY DERIVATIVE |
| 145 | THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. |
| 146 | |
| 147 | #. This License Agreement will automatically terminate upon a material breach of |
| 148 | its terms and conditions. |
| 149 | |
| 150 | #. Nothing in this License Agreement shall be deemed to create any relationship |
| 151 | of agency, partnership, or joint venture between PSF and Licensee. This License |
| 152 | Agreement does not grant permission to use PSF trademarks or trade name in a |
| 153 | trademark sense to endorse or promote products or services of Licensee, or any |
| 154 | third party. |
| 155 | |
| 156 | #. By copying, installing or otherwise using Python |release|, Licensee agrees |
| 157 | to be bound by the terms and conditions of this License Agreement. |
| 158 | |
| 159 | |
| 160 | .. centered:: BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0 |
| 161 | |
| 162 | |
| 163 | .. centered:: BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1 |
| 164 | |
| 165 | #. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an office at |
| 166 | 160 Saratoga Avenue, Santa Clara, CA 95051, and the Individual or Organization |
| 167 | ("Licensee") accessing and otherwise using this software in source or binary |
| 168 | form and its associated documentation ("the Software"). |
| 169 | |
| 170 | #. Subject to the terms and conditions of this BeOpen Python License Agreement, |
| 171 | BeOpen hereby grants Licensee a non-exclusive, royalty-free, world-wide license |
| 172 | to reproduce, analyze, test, perform and/or display publicly, prepare derivative |
| 173 | works, distribute, and otherwise use the Software alone or in any derivative |
| 174 | version, provided, however, that the BeOpen Python License is retained in the |
| 175 | Software, alone or in any derivative version prepared by Licensee. |
| 176 | |
| 177 | #. BeOpen is making the Software available to Licensee on an "AS IS" basis. |
| 178 | BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF |
| 179 | EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND DISCLAIMS ANY REPRESENTATION OR |
| 180 | WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE |
| 181 | USE OF THE SOFTWARE WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. |
| 182 | |
| 183 | #. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE SOFTWARE FOR |
| 184 | ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF USING, |
| 185 | MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY DERIVATIVE THEREOF, EVEN IF |
| 186 | ADVISED OF THE POSSIBILITY THEREOF. |
| 187 | |
| 188 | #. This License Agreement will automatically terminate upon a material breach of |
| 189 | its terms and conditions. |
| 190 | |
| 191 | #. This License Agreement shall be governed by and interpreted in all respects |
| 192 | by the law of the State of California, excluding conflict of law provisions. |
| 193 | Nothing in this License Agreement shall be deemed to create any relationship of |
| 194 | agency, partnership, or joint venture between BeOpen and Licensee. This License |
| 195 | Agreement does not grant permission to use BeOpen trademarks or trade names in a |
| 196 | trademark sense to endorse or promote products or services of Licensee, or any |
| 197 | third party. As an exception, the "BeOpen Python" logos available at |
| 198 | http://www.pythonlabs.com/logos.html may be used according to the permissions |
| 199 | granted on that web page. |
| 200 | |
| 201 | #. By copying, installing or otherwise using the software, Licensee agrees to be |
| 202 | bound by the terms and conditions of this License Agreement. |
| 203 | |
| 204 | |
| 205 | .. centered:: CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1 |
| 206 | |
| 207 | #. This LICENSE AGREEMENT is between the Corporation for National Research |
| 208 | Initiatives, having an office at 1895 Preston White Drive, Reston, VA 20191 |
| 209 | ("CNRI"), and the Individual or Organization ("Licensee") accessing and |
| 210 | otherwise using Python 1.6.1 software in source or binary form and its |
| 211 | associated documentation. |
| 212 | |
| 213 | #. Subject to the terms and conditions of this License Agreement, CNRI hereby |
| 214 | grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, |
| 215 | analyze, test, perform and/or display publicly, prepare derivative works, |
| 216 | distribute, and otherwise use Python 1.6.1 alone or in any derivative version, |
| 217 | provided, however, that CNRI's License Agreement and CNRI's notice of copyright, |
| 218 | i.e., "Copyright © 1995-2001 Corporation for National Research Initiatives; All |
| 219 | Rights Reserved" are retained in Python 1.6.1 alone or in any derivative version |
| 220 | prepared by Licensee. Alternately, in lieu of CNRI's License Agreement, |
| 221 | Licensee may substitute the following text (omitting the quotes): "Python 1.6.1 |
| 222 | is made available subject to the terms and conditions in CNRI's License |
| 223 | Agreement. This Agreement together with Python 1.6.1 may be located on the |
| 224 | Internet using the following unique, persistent identifier (known as a handle): |
| 225 | 1895.22/1013. This Agreement may also be obtained from a proxy server on the |
| 226 | Internet using the following URL: http://hdl.handle.net/1895.22/1013." |
| 227 | |
| 228 | #. In the event Licensee prepares a derivative work that is based on or |
| 229 | incorporates Python 1.6.1 or any part thereof, and wants to make the derivative |
| 230 | work available to others as provided herein, then Licensee hereby agrees to |
| 231 | include in any such work a brief summary of the changes made to Python 1.6.1. |
| 232 | |
| 233 | #. CNRI is making Python 1.6.1 available to Licensee on an "AS IS" basis. CNRI |
| 234 | MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, |
| 235 | BUT NOT LIMITATION, CNRI MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY |
| 236 | OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF |
| 237 | PYTHON 1.6.1 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. |
| 238 | |
| 239 | #. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 1.6.1 FOR |
| 240 | ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF |
| 241 | MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1, OR ANY DERIVATIVE |
| 242 | THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. |
| 243 | |
| 244 | #. This License Agreement will automatically terminate upon a material breach of |
| 245 | its terms and conditions. |
| 246 | |
| 247 | #. This License Agreement shall be governed by the federal intellectual property |
| 248 | law of the United States, including without limitation the federal copyright |
| 249 | law, and, to the extent such U.S. federal law does not apply, by the law of the |
| 250 | Commonwealth of Virginia, excluding Virginia's conflict of law provisions. |
| 251 | Notwithstanding the foregoing, with regard to derivative works based on Python |
| 252 | 1.6.1 that incorporate non-separable material that was previously distributed |
| 253 | under the GNU General Public License (GPL), the law of the Commonwealth of |
| 254 | Virginia shall govern this License Agreement only as to issues arising under or |
| 255 | with respect to Paragraphs 4, 5, and 7 of this License Agreement. Nothing in |
| 256 | this License Agreement shall be deemed to create any relationship of agency, |
| 257 | partnership, or joint venture between CNRI and Licensee. This License Agreement |
| 258 | does not grant permission to use CNRI trademarks or trade name in a trademark |
| 259 | sense to endorse or promote products or services of Licensee, or any third |
| 260 | party. |
| 261 | |
| 262 | #. By clicking on the "ACCEPT" button where indicated, or by copying, installing |
| 263 | or otherwise using Python 1.6.1, Licensee agrees to be bound by the terms and |
| 264 | conditions of this License Agreement. |
| 265 | |
| 266 | |
| 267 | .. centered:: ACCEPT |
| 268 | |
| 269 | |
| 270 | .. centered:: CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2 |
| 271 | |
| 272 | Copyright © 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, The |
| 273 | Netherlands. All rights reserved. |
| 274 | |
| 275 | Permission to use, copy, modify, and distribute this software and its |
| 276 | documentation for any purpose and without fee is hereby granted, provided that |
| 277 | the above copyright notice appear in all copies and that both that copyright |
| 278 | notice and this permission notice appear in supporting documentation, and that |
| 279 | the name of Stichting Mathematisch Centrum or CWI not be used in advertising or |
| 280 | publicity pertaining to distribution of the software without specific, written |
| 281 | prior permission. |
| 282 | |
| 283 | STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS |
| 284 | SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO |
| 285 | EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE FOR ANY SPECIAL, INDIRECT |
| 286 | OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, |
| 287 | DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS |
| 288 | ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS |
| 289 | SOFTWARE. |
| 290 | |
| 291 | |
| 292 | Licenses and Acknowledgements for Incorporated Software |
| 293 | ======================================================= |
| 294 | |
| 295 | This section is an incomplete, but growing list of licenses and acknowledgements |
| 296 | for third-party software incorporated in the Python distribution. |
| 297 | |
| 298 | |
| 299 | Mersenne Twister |
| 300 | ---------------- |
| 301 | |
| 302 | The :mod:`_random` module includes code based on a download from |
| 303 | http://www.math.keio.ac.jp/ matumoto/MT2002/emt19937ar.html. The following are |
| 304 | the verbatim comments from the original code:: |
| 305 | |
| 306 | A C-program for MT19937, with initialization improved 2002/1/26. |
| 307 | Coded by Takuji Nishimura and Makoto Matsumoto. |
| 308 | |
| 309 | Before using, initialize the state by using init_genrand(seed) |
| 310 | or init_by_array(init_key, key_length). |
| 311 | |
| 312 | Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura, |
| 313 | All rights reserved. |
| 314 | |
| 315 | Redistribution and use in source and binary forms, with or without |
| 316 | modification, are permitted provided that the following conditions |
| 317 | are met: |
| 318 | |
| 319 | 1. Redistributions of source code must retain the above copyright |
| 320 | notice, this list of conditions and the following disclaimer. |
| 321 | |
| 322 | 2. Redistributions in binary form must reproduce the above copyright |
| 323 | notice, this list of conditions and the following disclaimer in the |
| 324 | documentation and/or other materials provided with the distribution. |
| 325 | |
| 326 | 3. The names of its contributors may not be used to endorse or promote |
| 327 | products derived from this software without specific prior written |
| 328 | permission. |
| 329 | |
| 330 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 331 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 332 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 333 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR |
| 334 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
| 335 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
| 336 | PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
| 337 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
| 338 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
| 339 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| 340 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 341 | |
| 342 | |
| 343 | Any feedback is very welcome. |
| 344 | http://www.math.keio.ac.jp/matumoto/emt.html |
| 345 | email: matumoto@math.keio.ac.jp |
| 346 | |
| 347 | |
| 348 | Sockets |
| 349 | ------- |
| 350 | |
| 351 | The :mod:`socket` module uses the functions, :func:`getaddrinfo`, and |
| 352 | :func:`getnameinfo`, which are coded in separate source files from the WIDE |
Christian Heimes | dd15f6c | 2008-03-16 00:07:10 +0000 | [diff] [blame] | 353 | Project, http://www.wide.ad.jp/. :: |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 354 | |
| 355 | Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. |
| 356 | All rights reserved. |
| 357 | |
| 358 | Redistribution and use in source and binary forms, with or without |
| 359 | modification, are permitted provided that the following conditions |
| 360 | are met: |
| 361 | 1. Redistributions of source code must retain the above copyright |
| 362 | notice, this list of conditions and the following disclaimer. |
| 363 | 2. Redistributions in binary form must reproduce the above copyright |
| 364 | notice, this list of conditions and the following disclaimer in the |
| 365 | documentation and/or other materials provided with the distribution. |
| 366 | 3. Neither the name of the project nor the names of its contributors |
| 367 | may be used to endorse or promote products derived from this software |
| 368 | without specific prior written permission. |
| 369 | |
| 370 | THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND |
| 371 | GAI_ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 372 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 373 | ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE |
| 374 | FOR GAI_ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 375 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
| 376 | OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
| 377 | HOWEVER CAUSED AND ON GAI_ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
| 378 | LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN GAI_ANY WAY |
| 379 | OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 380 | SUCH DAMAGE. |
| 381 | |
| 382 | |
| 383 | Floating point exception control |
| 384 | -------------------------------- |
| 385 | |
| 386 | The source for the :mod:`fpectl` module includes the following notice:: |
| 387 | |
Georg Brandl | 48310cd | 2009-01-03 21:18:54 +0000 | [diff] [blame] | 388 | --------------------------------------------------------------------- |
| 389 | / Copyright (c) 1996. \ |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 390 | | The Regents of the University of California. | |
| 391 | | All rights reserved. | |
| 392 | | | |
| 393 | | Permission to use, copy, modify, and distribute this software for | |
| 394 | | any purpose without fee is hereby granted, provided that this en- | |
| 395 | | tire notice is included in all copies of any software which is or | |
| 396 | | includes a copy or modification of this software and in all | |
| 397 | | copies of the supporting documentation for such software. | |
| 398 | | | |
| 399 | | This work was produced at the University of California, Lawrence | |
| 400 | | Livermore National Laboratory under contract no. W-7405-ENG-48 | |
| 401 | | between the U.S. Department of Energy and The Regents of the | |
| 402 | | University of California for the operation of UC LLNL. | |
| 403 | | | |
| 404 | | DISCLAIMER | |
| 405 | | | |
| 406 | | This software was prepared as an account of work sponsored by an | |
| 407 | | agency of the United States Government. Neither the United States | |
| 408 | | Government nor the University of California nor any of their em- | |
| 409 | | ployees, makes any warranty, express or implied, or assumes any | |
| 410 | | liability or responsibility for the accuracy, completeness, or | |
| 411 | | usefulness of any information, apparatus, product, or process | |
| 412 | | disclosed, or represents that its use would not infringe | |
| 413 | | privately-owned rights. Reference herein to any specific commer- | |
| 414 | | cial products, process, or service by trade name, trademark, | |
| 415 | | manufacturer, or otherwise, does not necessarily constitute or | |
| 416 | | imply its endorsement, recommendation, or favoring by the United | |
| 417 | | States Government or the University of California. The views and | |
| 418 | | opinions of authors expressed herein do not necessarily state or | |
| 419 | | reflect those of the United States Government or the University | |
| 420 | | of California, and shall not be used for advertising or product | |
Georg Brandl | 48310cd | 2009-01-03 21:18:54 +0000 | [diff] [blame] | 421 | \ endorsement purposes. / |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 422 | --------------------------------------------------------------------- |
| 423 | |
| 424 | |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 425 | Asynchronous socket services |
| 426 | ---------------------------- |
| 427 | |
| 428 | The :mod:`asynchat` and :mod:`asyncore` modules contain the following notice:: |
| 429 | |
| 430 | Copyright 1996 by Sam Rushing |
| 431 | |
| 432 | All Rights Reserved |
| 433 | |
| 434 | Permission to use, copy, modify, and distribute this software and |
| 435 | its documentation for any purpose and without fee is hereby |
| 436 | granted, provided that the above copyright notice appear in all |
| 437 | copies and that both that copyright notice and this permission |
| 438 | notice appear in supporting documentation, and that the name of Sam |
| 439 | Rushing not be used in advertising or publicity pertaining to |
| 440 | distribution of the software without specific, written prior |
| 441 | permission. |
| 442 | |
| 443 | SAM RUSHING DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, |
| 444 | INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN |
| 445 | NO EVENT SHALL SAM RUSHING BE LIABLE FOR ANY SPECIAL, INDIRECT OR |
| 446 | CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS |
| 447 | OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, |
| 448 | NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN |
| 449 | CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 450 | |
| 451 | |
| 452 | Cookie management |
| 453 | ----------------- |
| 454 | |
Georg Brandl | 2442015 | 2008-05-26 16:32:26 +0000 | [diff] [blame] | 455 | The :mod:`http.cookies` module contains the following notice:: |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 456 | |
| 457 | Copyright 2000 by Timothy O'Malley <timo@alum.mit.edu> |
| 458 | |
| 459 | All Rights Reserved |
| 460 | |
| 461 | Permission to use, copy, modify, and distribute this software |
| 462 | and its documentation for any purpose and without fee is hereby |
| 463 | granted, provided that the above copyright notice appear in all |
| 464 | copies and that both that copyright notice and this permission |
| 465 | notice appear in supporting documentation, and that the name of |
| 466 | Timothy O'Malley not be used in advertising or publicity |
| 467 | pertaining to distribution of the software without specific, written |
| 468 | prior permission. |
| 469 | |
| 470 | Timothy O'Malley DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS |
| 471 | SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY |
| 472 | AND FITNESS, IN NO EVENT SHALL Timothy O'Malley BE LIABLE FOR |
| 473 | ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| 474 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, |
| 475 | WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS |
| 476 | ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
| 477 | PERFORMANCE OF THIS SOFTWARE. |
| 478 | |
| 479 | |
| 480 | Profiling |
| 481 | --------- |
| 482 | |
| 483 | The :mod:`profile` and :mod:`pstats` modules contain the following notice:: |
| 484 | |
| 485 | Copyright 1994, by InfoSeek Corporation, all rights reserved. |
| 486 | Written by James Roskind |
| 487 | |
| 488 | Permission to use, copy, modify, and distribute this Python software |
| 489 | and its associated documentation for any purpose (subject to the |
| 490 | restriction in the following sentence) without fee is hereby granted, |
| 491 | provided that the above copyright notice appears in all copies, and |
| 492 | that both that copyright notice and this permission notice appear in |
| 493 | supporting documentation, and that the name of InfoSeek not be used in |
| 494 | advertising or publicity pertaining to distribution of the software |
| 495 | without specific, written prior permission. This permission is |
| 496 | explicitly restricted to the copying and modification of the software |
| 497 | to remain in Python, compiled Python, or other languages (such as C) |
| 498 | wherein the modified or derived code is exclusively imported into a |
| 499 | Python module. |
| 500 | |
| 501 | INFOSEEK CORPORATION DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS |
| 502 | SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND |
| 503 | FITNESS. IN NO EVENT SHALL INFOSEEK CORPORATION BE LIABLE FOR ANY |
| 504 | SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER |
| 505 | RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF |
| 506 | CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN |
| 507 | CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 508 | |
| 509 | |
| 510 | Execution tracing |
| 511 | ----------------- |
| 512 | |
| 513 | The :mod:`trace` module contains the following notice:: |
| 514 | |
| 515 | portions copyright 2001, Autonomous Zones Industries, Inc., all rights... |
| 516 | err... reserved and offered to the public under the terms of the |
| 517 | Python 2.2 license. |
| 518 | Author: Zooko O'Whielacronx |
| 519 | http://zooko.com/ |
| 520 | mailto:zooko@zooko.com |
| 521 | |
| 522 | Copyright 2000, Mojam Media, Inc., all rights reserved. |
| 523 | Author: Skip Montanaro |
| 524 | |
| 525 | Copyright 1999, Bioreason, Inc., all rights reserved. |
| 526 | Author: Andrew Dalke |
| 527 | |
| 528 | Copyright 1995-1997, Automatrix, Inc., all rights reserved. |
| 529 | Author: Skip Montanaro |
| 530 | |
| 531 | Copyright 1991-1995, Stichting Mathematisch Centrum, all rights reserved. |
| 532 | |
| 533 | |
| 534 | Permission to use, copy, modify, and distribute this Python software and |
| 535 | its associated documentation for any purpose without fee is hereby |
| 536 | granted, provided that the above copyright notice appears in all copies, |
| 537 | and that both that copyright notice and this permission notice appear in |
| 538 | supporting documentation, and that the name of neither Automatrix, |
| 539 | Bioreason or Mojam Media be used in advertising or publicity pertaining to |
| 540 | distribution of the software without specific, written prior permission. |
| 541 | |
| 542 | |
| 543 | UUencode and UUdecode functions |
| 544 | ------------------------------- |
| 545 | |
| 546 | The :mod:`uu` module contains the following notice:: |
| 547 | |
| 548 | Copyright 1994 by Lance Ellinghouse |
| 549 | Cathedral City, California Republic, United States of America. |
| 550 | All Rights Reserved |
| 551 | Permission to use, copy, modify, and distribute this software and its |
| 552 | documentation for any purpose and without fee is hereby granted, |
| 553 | provided that the above copyright notice appear in all copies and that |
| 554 | both that copyright notice and this permission notice appear in |
| 555 | supporting documentation, and that the name of Lance Ellinghouse |
| 556 | not be used in advertising or publicity pertaining to distribution |
| 557 | of the software without specific, written prior permission. |
| 558 | LANCE ELLINGHOUSE DISCLAIMS ALL WARRANTIES WITH REGARD TO |
| 559 | THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND |
| 560 | FITNESS, IN NO EVENT SHALL LANCE ELLINGHOUSE CENTRUM BE LIABLE |
| 561 | FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| 562 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
| 563 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT |
| 564 | OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 565 | |
| 566 | Modified by Jack Jansen, CWI, July 1995: |
| 567 | - Use binascii module to do the actual line-by-line conversion |
| 568 | between ascii and binary. This results in a 1000-fold speedup. The C |
| 569 | version is still 5 times faster, though. |
| 570 | - Arguments more compliant with python standard |
| 571 | |
| 572 | |
| 573 | XML Remote Procedure Calls |
| 574 | -------------------------- |
| 575 | |
Georg Brandl | 38eceaa | 2008-05-26 11:14:17 +0000 | [diff] [blame] | 576 | The :mod:`xmlrpc.client` module contains the following notice:: |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 577 | |
| 578 | The XML-RPC client interface is |
| 579 | |
| 580 | Copyright (c) 1999-2002 by Secret Labs AB |
| 581 | Copyright (c) 1999-2002 by Fredrik Lundh |
| 582 | |
| 583 | By obtaining, using, and/or copying this software and/or its |
| 584 | associated documentation, you agree that you have read, understood, |
| 585 | and will comply with the following terms and conditions: |
| 586 | |
| 587 | Permission to use, copy, modify, and distribute this software and |
| 588 | its associated documentation for any purpose and without fee is |
| 589 | hereby granted, provided that the above copyright notice appears in |
| 590 | all copies, and that both that copyright notice and this permission |
| 591 | notice appear in supporting documentation, and that the name of |
| 592 | Secret Labs AB or the author not be used in advertising or publicity |
| 593 | pertaining to distribution of the software without specific, written |
| 594 | prior permission. |
| 595 | |
| 596 | SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD |
| 597 | TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANT- |
| 598 | ABILITY AND FITNESS. IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR |
| 599 | BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY |
| 600 | DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, |
| 601 | WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS |
| 602 | ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE |
| 603 | OF THIS SOFTWARE. |
| 604 | |
Christian Heimes | 4fbc72b | 2008-03-22 00:47:35 +0000 | [diff] [blame] | 605 | |
| 606 | test_epoll |
| 607 | ---------- |
| 608 | |
| 609 | The :mod:`test_epoll` contains the following notice:: |
| 610 | |
| 611 | Copyright (c) 2001-2006 Twisted Matrix Laboratories. |
| 612 | |
| 613 | Permission is hereby granted, free of charge, to any person obtaining |
| 614 | a copy of this software and associated documentation files (the |
| 615 | "Software"), to deal in the Software without restriction, including |
| 616 | without limitation the rights to use, copy, modify, merge, publish, |
| 617 | distribute, sublicense, and/or sell copies of the Software, and to |
| 618 | permit persons to whom the Software is furnished to do so, subject to |
| 619 | the following conditions: |
| 620 | |
| 621 | The above copyright notice and this permission notice shall be |
| 622 | included in all copies or substantial portions of the Software. |
| 623 | |
| 624 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 625 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 626 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
| 627 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE |
| 628 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION |
| 629 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
| 630 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 631 | |
| 632 | Select kqueue |
| 633 | ------------- |
| 634 | |
| 635 | The :mod:`select` and contains the following notice for the kqueue interface:: |
| 636 | |
| 637 | Copyright (c) 2000 Doug White, 2006 James Knight, 2007 Christian Heimes |
| 638 | All rights reserved. |
| 639 | |
| 640 | Redistribution and use in source and binary forms, with or without |
| 641 | modification, are permitted provided that the following conditions |
| 642 | are met: |
| 643 | 1. Redistributions of source code must retain the above copyright |
| 644 | notice, this list of conditions and the following disclaimer. |
| 645 | 2. Redistributions in binary form must reproduce the above copyright |
| 646 | notice, this list of conditions and the following disclaimer in the |
| 647 | documentation and/or other materials provided with the distribution. |
| 648 | |
| 649 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND |
| 650 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 651 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 652 | ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE |
| 653 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 654 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
| 655 | OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
| 656 | HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
| 657 | LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
| 658 | OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 659 | SUCH DAMAGE. |
Mark Dickinson | b08a53a | 2009-04-16 19:52:09 +0000 | [diff] [blame] | 660 | |
| 661 | |
| 662 | strtod and dtoa |
| 663 | --------------- |
| 664 | |
| 665 | The file :file:`Python/dtoa.c`, which supplies C functions dtoa and |
| 666 | strtod for conversion of C doubles to and from strings, is derived |
| 667 | from the file of the same name by David M. Gay, currently available |
| 668 | from http://www.netlib.org/fp/. The original file, as retrieved on |
| 669 | March 16, 2009, contains the following copyright and licensing |
| 670 | notice:: |
| 671 | |
| 672 | /**************************************************************** |
| 673 | * |
| 674 | * The author of this software is David M. Gay. |
| 675 | * |
| 676 | * Copyright (c) 1991, 2000, 2001 by Lucent Technologies. |
| 677 | * |
| 678 | * Permission to use, copy, modify, and distribute this software for any |
| 679 | * purpose without fee is hereby granted, provided that this entire notice |
| 680 | * is included in all copies of any software which is or includes a copy |
| 681 | * or modification of this software and in all copies of the supporting |
| 682 | * documentation for such software. |
| 683 | * |
| 684 | * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED |
| 685 | * WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR LUCENT MAKES ANY |
| 686 | * REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY |
| 687 | * OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. |
| 688 | * |
| 689 | ***************************************************************/ |
| 690 | |
| 691 | |