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