1 Terms and conditions for accessing or otherwise using Python
2 ============================================================
5 .. centered:: PSF LICENSE AGREEMENT FOR PYTHON |release|
7 #. This LICENSE AGREEMENT is between the Python Software Foundation ("PSF"), and
8 the Individual or Organization ("Licensee") accessing and otherwise using Python
9 |release| software in source or binary form and its associated documentation.
11 #. Subject to the terms and conditions of this License Agreement, PSF hereby
12 grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
13 analyze, test, perform and/or display publicly, prepare derivative works,
14 distribute, and otherwise use Python |release| alone or in any derivative
15 version, provided, however, that PSF's License Agreement and PSF's notice of
16 copyright, i.e., "Copyright © 2001-2010 Python Software Foundation; All Rights
17 Reserved" are retained in Python |release| alone or in any derivative version
20 #. In the event Licensee prepares a derivative work that is based on or
21 incorporates Python |release| or any part thereof, and wants to make the
22 derivative work available to others as provided herein, then Licensee hereby
23 agrees to include in any such work a brief summary of the changes made to Python
26 #. PSF is making Python |release| available to Licensee on an "AS IS" basis.
27 PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF
28 EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR
29 WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE
30 USE OF PYTHON |release| WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
32 #. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON |release|
33 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF
34 MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON |release|, OR ANY DERIVATIVE
35 THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
37 #. This License Agreement will automatically terminate upon a material breach of
38 its terms and conditions.
40 #. Nothing in this License Agreement shall be deemed to create any relationship
41 of agency, partnership, or joint venture between PSF and Licensee. This License
42 Agreement does not grant permission to use PSF trademarks or trade name in a
43 trademark sense to endorse or promote products or services of Licensee, or any
46 #. By copying, installing or otherwise using Python |release|, Licensee agrees
47 to be bound by the terms and conditions of this License Agreement.
50 Licenses and Acknowledgements for Incorporated Software
51 =======================================================
53 This section is an incomplete, but growing list of licenses and acknowledgements
54 for third-party software incorporated in the Python distribution.
60 The :mod:`_random` module includes code based on a download from
61 http://www.math.keio.ac.jp/ matumoto/MT2002/emt19937ar.html. The following are
62 the verbatim comments from the original code::
64 A C-program for MT19937, with initialization improved 2002/1/26.
65 Coded by Takuji Nishimura and Makoto Matsumoto.
67 Before using, initialize the state by using init_genrand(seed)
68 or init_by_array(init_key, key_length).
70 Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
73 Redistribution and use in source and binary forms, with or without
74 modification, are permitted provided that the following conditions
77 1. Redistributions of source code must retain the above copyright
78 notice, this list of conditions and the following disclaimer.
80 2. Redistributions in binary form must reproduce the above copyright
81 notice, this list of conditions and the following disclaimer in the
82 documentation and/or other materials provided with the distribution.
84 3. The names of its contributors may not be used to endorse or promote
85 products derived from this software without specific prior written
88 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
89 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
90 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
91 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
92 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
93 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
94 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
95 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
96 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
97 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
98 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
101 Any feedback is very welcome.
102 http://www.math.keio.ac.jp/matumoto/emt.html
103 email: matumoto@math.keio.ac.jp
109 The :mod:`socket` module uses the functions, :func:`getaddrinfo`, and
110 :func:`getnameinfo`, which are coded in separate source files from the WIDE
111 Project, http://www.wide.ad.jp/. ::
113 Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
116 Redistribution and use in source and binary forms, with or without
117 modification, are permitted provided that the following conditions
119 1. Redistributions of source code must retain the above copyright
120 notice, this list of conditions and the following disclaimer.
121 2. Redistributions in binary form must reproduce the above copyright
122 notice, this list of conditions and the following disclaimer in the
123 documentation and/or other materials provided with the distribution.
124 3. Neither the name of the project nor the names of its contributors
125 may be used to endorse or promote products derived from this software
126 without specific prior written permission.
128 THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
129 GAI_ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
130 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
131 ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
132 FOR GAI_ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
133 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
134 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
135 HOWEVER CAUSED AND ON GAI_ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
136 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN GAI_ANY WAY
137 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
141 Floating point exception control
142 --------------------------------
144 The source for the :mod:`fpectl` module includes the following notice::
146 ---------------------------------------------------------------------
147 / Copyright (c) 1996. \
148 | The Regents of the University of California. |
149 | All rights reserved. |
151 | Permission to use, copy, modify, and distribute this software for |
152 | any purpose without fee is hereby granted, provided that this en- |
153 | tire notice is included in all copies of any software which is or |
154 | includes a copy or modification of this software and in all |
155 | copies of the supporting documentation for such software. |
157 | This work was produced at the University of California, Lawrence |
158 | Livermore National Laboratory under contract no. W-7405-ENG-48 |
159 | between the U.S. Department of Energy and The Regents of the |
160 | University of California for the operation of UC LLNL. |
164 | This software was prepared as an account of work sponsored by an |
165 | agency of the United States Government. Neither the United States |
166 | Government nor the University of California nor any of their em- |
167 | ployees, makes any warranty, express or implied, or assumes any |
168 | liability or responsibility for the accuracy, completeness, or |
169 | usefulness of any information, apparatus, product, or process |
170 | disclosed, or represents that its use would not infringe |
171 | privately-owned rights. Reference herein to any specific commer- |
172 | cial products, process, or service by trade name, trademark, |
173 | manufacturer, or otherwise, does not necessarily constitute or |
174 | imply its endorsement, recommendation, or favoring by the United |
175 | States Government or the University of California. The views and |
176 | opinions of authors expressed herein do not necessarily state or |
177 | reflect those of the United States Government or the University |
178 | of California, and shall not be used for advertising or product |
179 \ endorsement purposes. /
180 ---------------------------------------------------------------------
183 MD5 message digest algorithm
184 ----------------------------
186 The source code for the :mod:`md5` module contains the following notice::
188 Copyright (C) 1999, 2002 Aladdin Enterprises. All rights reserved.
190 This software is provided 'as-is', without any express or implied
191 warranty. In no event will the authors be held liable for any damages
192 arising from the use of this software.
194 Permission is granted to anyone to use this software for any purpose,
195 including commercial applications, and to alter it and redistribute it
196 freely, subject to the following restrictions:
198 1. The origin of this software must not be misrepresented; you must not
199 claim that you wrote the original software. If you use this software
200 in a product, an acknowledgment in the product documentation would be
201 appreciated but is not required.
202 2. Altered source versions must be plainly marked as such, and must not be
203 misrepresented as being the original software.
204 3. This notice may not be removed or altered from any source distribution.
209 Independent implementation of MD5 (RFC 1321).
211 This code implements the MD5 Algorithm defined in RFC 1321, whose
213 http://www.ietf.org/rfc/rfc1321.txt
214 The code is derived from the text of the RFC, including the test suite
215 (section A.5) but excluding the rest of Appendix A. It does not include
216 any code or documentation that is identified in the RFC as being
219 The original and principal author of md5.h is L. Peter Deutsch
220 <ghost@aladdin.com>. Other authors are noted in the change history
221 that follows (in reverse chronological order):
223 2002-04-13 lpd Removed support for non-ANSI compilers; removed
224 references to Ghostscript; clarified derivation from RFC 1321;
225 now handles byte order either statically or dynamically.
226 1999-11-04 lpd Edited comments slightly for automatic TOC extraction.
227 1999-10-18 lpd Fixed typo in header comment (ansi2knr rather than md5);
228 added conditionalization for C++ compilation from Martin
229 Purschke <purschke@bnl.gov>.
230 1999-05-03 lpd Original version.
233 Asynchronous socket services
234 ----------------------------
236 The :mod:`asynchat` and :mod:`asyncore` modules contain the following notice::
238 Copyright 1996 by Sam Rushing
242 Permission to use, copy, modify, and distribute this software and
243 its documentation for any purpose and without fee is hereby
244 granted, provided that the above copyright notice appear in all
245 copies and that both that copyright notice and this permission
246 notice appear in supporting documentation, and that the name of Sam
247 Rushing not be used in advertising or publicity pertaining to
248 distribution of the software without specific, written prior
251 SAM RUSHING DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
252 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
253 NO EVENT SHALL SAM RUSHING BE LIABLE FOR ANY SPECIAL, INDIRECT OR
254 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
255 OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
256 NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
257 CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
263 The :mod:`Cookie` module contains the following notice::
265 Copyright 2000 by Timothy O'Malley <timo@alum.mit.edu>
269 Permission to use, copy, modify, and distribute this software
270 and its documentation for any purpose and without fee is hereby
271 granted, provided that the above copyright notice appear in all
272 copies and that both that copyright notice and this permission
273 notice appear in supporting documentation, and that the name of
274 Timothy O'Malley not be used in advertising or publicity
275 pertaining to distribution of the software without specific, written
278 Timothy O'Malley DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
279 SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
280 AND FITNESS, IN NO EVENT SHALL Timothy O'Malley BE LIABLE FOR
281 ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
282 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
283 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
284 ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
285 PERFORMANCE OF THIS SOFTWARE.
291 The :mod:`trace` module contains the following notice::
293 portions copyright 2001, Autonomous Zones Industries, Inc., all rights...
294 err... reserved and offered to the public under the terms of the
296 Author: Zooko O'Whielacronx
298 mailto:zooko@zooko.com
300 Copyright 2000, Mojam Media, Inc., all rights reserved.
301 Author: Skip Montanaro
303 Copyright 1999, Bioreason, Inc., all rights reserved.
306 Copyright 1995-1997, Automatrix, Inc., all rights reserved.
307 Author: Skip Montanaro
309 Copyright 1991-1995, Stichting Mathematisch Centrum, all rights reserved.
312 Permission to use, copy, modify, and distribute this Python software and
313 its associated documentation for any purpose without fee is hereby
314 granted, provided that the above copyright notice appears in all copies,
315 and that both that copyright notice and this permission notice appear in
316 supporting documentation, and that the name of neither Automatrix,
317 Bioreason or Mojam Media be used in advertising or publicity pertaining to
318 distribution of the software without specific, written prior permission.
321 UUencode and UUdecode functions
322 -------------------------------
324 The :mod:`uu` module contains the following notice::
326 Copyright 1994 by Lance Ellinghouse
327 Cathedral City, California Republic, United States of America.
329 Permission to use, copy, modify, and distribute this software and its
330 documentation for any purpose and without fee is hereby granted,
331 provided that the above copyright notice appear in all copies and that
332 both that copyright notice and this permission notice appear in
333 supporting documentation, and that the name of Lance Ellinghouse
334 not be used in advertising or publicity pertaining to distribution
335 of the software without specific, written prior permission.
336 LANCE ELLINGHOUSE DISCLAIMS ALL WARRANTIES WITH REGARD TO
337 THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
338 FITNESS, IN NO EVENT SHALL LANCE ELLINGHOUSE CENTRUM BE LIABLE
339 FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
340 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
341 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
342 OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
344 Modified by Jack Jansen, CWI, July 1995:
345 - Use binascii module to do the actual line-by-line conversion
346 between ascii and binary. This results in a 1000-fold speedup. The C
347 version is still 5 times faster, though.
348 - Arguments more compliant with Python standard
351 XML Remote Procedure Calls
352 --------------------------
354 The :mod:`xmlrpclib` module contains the following notice::
356 The XML-RPC client interface is
358 Copyright (c) 1999-2002 by Secret Labs AB
359 Copyright (c) 1999-2002 by Fredrik Lundh
361 By obtaining, using, and/or copying this software and/or its
362 associated documentation, you agree that you have read, understood,
363 and will comply with the following terms and conditions:
365 Permission to use, copy, modify, and distribute this software and
366 its associated documentation for any purpose and without fee is
367 hereby granted, provided that the above copyright notice appears in
368 all copies, and that both that copyright notice and this permission
369 notice appear in supporting documentation, and that the name of
370 Secret Labs AB or the author not be used in advertising or publicity
371 pertaining to distribution of the software without specific, written
374 SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD
375 TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANT-
376 ABILITY AND FITNESS. IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR
377 BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
378 DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
379 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
380 ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
387 The :mod:`test_epoll` contains the following notice::
389 Copyright (c) 2001-2006 Twisted Matrix Laboratories.
391 Permission is hereby granted, free of charge, to any person obtaining
392 a copy of this software and associated documentation files (the
393 "Software"), to deal in the Software without restriction, including
394 without limitation the rights to use, copy, modify, merge, publish,
395 distribute, sublicense, and/or sell copies of the Software, and to
396 permit persons to whom the Software is furnished to do so, subject to
397 the following conditions:
399 The above copyright notice and this permission notice shall be
400 included in all copies or substantial portions of the Software.
402 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
403 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
404 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
405 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
406 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
407 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
408 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
413 The :mod:`select` and contains the following notice for the kqueue interface::
415 Copyright (c) 2000 Doug White, 2006 James Knight, 2007 Christian Heimes
418 Redistribution and use in source and binary forms, with or without
419 modification, are permitted provided that the following conditions
421 1. Redistributions of source code must retain the above copyright
422 notice, this list of conditions and the following disclaimer.
423 2. Redistributions in binary form must reproduce the above copyright
424 notice, this list of conditions and the following disclaimer in the
425 documentation and/or other materials provided with the distribution.
427 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
428 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
429 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
430 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
431 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
432 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
433 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
434 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
435 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
436 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF