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