blob: 2f8546eb8c4de1a00b76bc7249d935a8583fd0e0 [file] [log] [blame]
Georg Brandl8ec7f652007-08-15 14:28:01 +00001.. highlightlang:: none
2
3.. _history-and-license:
4
5*******************
6History and License
7*******************
8
9
10History of the software
11=======================
12
13Python was created in the early 1990s by Guido van Rossum at Stichting
14Mathematisch Centrum (CWI, see http://www.cwi.nl/) in the Netherlands as a
15successor of a language called ABC. Guido remains Python's principal author,
16although it includes many contributions from others.
17
18In 1995, Guido continued his work on Python at the Corporation for National
19Research Initiatives (CNRI, see http://www.cnri.reston.va.us/) in Reston,
20Virginia where he released several versions of the software.
21
22In May 2000, Guido and the Python core development team moved to BeOpen.com to
23form the BeOpen PythonLabs team. In October of the same year, the PythonLabs
24team moved to Digital Creations (now Zope Corporation; see
25http://www.zope.com/). In 2001, the Python Software Foundation (PSF, see
26http://www.python.org/psf/) was formed, a non-profit organization created
27specifically to own Python-related Intellectual Property. Zope Corporation is a
28sponsoring member of the PSF.
29
30All Python releases are Open Source (see http://www.opensource.org/ for the Open
31Source Definition). Historically, most, but not all, Python releases have also
32been GPL-compatible; the table below summarizes the various releases.
33
34+----------------+--------------+-----------+------------+-----------------+
35| Release | Derived from | Year | Owner | GPL compatible? |
36+================+==============+===========+============+=================+
37| 0.9.0 thru 1.2 | n/a | 1991-1995 | CWI | yes |
38+----------------+--------------+-----------+------------+-----------------+
39| 1.3 thru 1.5.2 | 1.2 | 1995-1999 | CNRI | yes |
40+----------------+--------------+-----------+------------+-----------------+
41| 1.6 | 1.5.2 | 2000 | CNRI | no |
42+----------------+--------------+-----------+------------+-----------------+
43| 2.0 | 1.6 | 2000 | BeOpen.com | no |
44+----------------+--------------+-----------+------------+-----------------+
45| 1.6.1 | 1.6 | 2001 | CNRI | no |
46+----------------+--------------+-----------+------------+-----------------+
47| 2.1 | 2.0+1.6.1 | 2001 | PSF | no |
48+----------------+--------------+-----------+------------+-----------------+
49| 2.0.1 | 2.0+1.6.1 | 2001 | PSF | yes |
50+----------------+--------------+-----------+------------+-----------------+
51| 2.1.1 | 2.1+2.0.1 | 2001 | PSF | yes |
52+----------------+--------------+-----------+------------+-----------------+
Georg Brandl8ec7f652007-08-15 14:28:01 +000053| 2.1.2 | 2.1.1 | 2002 | PSF | yes |
54+----------------+--------------+-----------+------------+-----------------+
55| 2.1.3 | 2.1.2 | 2002 | PSF | yes |
56+----------------+--------------+-----------+------------+-----------------+
Georg Brandla63231a2013-09-22 11:45:02 +020057| 2.2 and above | 2.1.1 | 2001-now | PSF | yes |
Benjamin Petersonaf5f5b62010-07-03 13:34:32 +000058+----------------+--------------+-----------+------------+-----------------+
Georg Brandl8ec7f652007-08-15 14:28:01 +000059
60.. note::
61
62 GPL-compatible doesn't mean that we're distributing Python under the GPL. All
63 Python licenses, unlike the GPL, let you distribute a modified version without
64 making your changes open source. The GPL-compatible licenses make it possible to
65 combine Python with other software that is released under the GPL; the others
66 don't.
67
68Thanks to the many outside volunteers who have worked under Guido's direction to
69make these releases possible.
70
71
72Terms and conditions for accessing or otherwise using Python
73============================================================
74
75
76.. centered:: PSF LICENSE AGREEMENT FOR PYTHON |release|
77
78#. This LICENSE AGREEMENT is between the Python Software Foundation ("PSF"), and
79 the Individual or Organization ("Licensee") accessing and otherwise using Python
80 |release| software in source or binary form and its associated documentation.
81
82#. Subject to the terms and conditions of this License Agreement, PSF hereby
83 grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
84 analyze, test, perform and/or display publicly, prepare derivative works,
85 distribute, and otherwise use Python |release| alone or in any derivative
86 version, provided, however, that PSF's License Agreement and PSF's notice of
Benjamin Petersonb25d6112012-12-31 21:37:21 -060087 copyright, i.e., "Copyright © 2001-2013 Python Software Foundation; All Rights
Georg Brandl8ec7f652007-08-15 14:28:01 +000088 Reserved" are retained in Python |release| alone or in any derivative version
89 prepared by Licensee.
90
91#. In the event Licensee prepares a derivative work that is based on or
92 incorporates Python |release| or any part thereof, and wants to make the
93 derivative work available to others as provided herein, then Licensee hereby
94 agrees to include in any such work a brief summary of the changes made to Python
95 |release|.
96
97#. PSF is making Python |release| available to Licensee on an "AS IS" basis.
98 PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF
99 EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR
100 WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE
101 USE OF PYTHON |release| WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
102
103#. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON |release|
104 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF
105 MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON |release|, OR ANY DERIVATIVE
106 THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
107
108#. This License Agreement will automatically terminate upon a material breach of
109 its terms and conditions.
110
111#. Nothing in this License Agreement shall be deemed to create any relationship
112 of agency, partnership, or joint venture between PSF and Licensee. This License
113 Agreement does not grant permission to use PSF trademarks or trade name in a
114 trademark sense to endorse or promote products or services of Licensee, or any
115 third party.
116
117#. By copying, installing or otherwise using Python |release|, Licensee agrees
118 to be bound by the terms and conditions of this License Agreement.
119
120
121.. centered:: BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0
122
123
124.. centered:: BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1
125
126#. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an office at
127 160 Saratoga Avenue, Santa Clara, CA 95051, and the Individual or Organization
128 ("Licensee") accessing and otherwise using this software in source or binary
129 form and its associated documentation ("the Software").
130
131#. Subject to the terms and conditions of this BeOpen Python License Agreement,
132 BeOpen hereby grants Licensee a non-exclusive, royalty-free, world-wide license
133 to reproduce, analyze, test, perform and/or display publicly, prepare derivative
134 works, distribute, and otherwise use the Software alone or in any derivative
135 version, provided, however, that the BeOpen Python License is retained in the
136 Software, alone or in any derivative version prepared by Licensee.
137
138#. BeOpen is making the Software available to Licensee on an "AS IS" basis.
139 BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF
140 EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND DISCLAIMS ANY REPRESENTATION OR
141 WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE
142 USE OF THE SOFTWARE WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
143
144#. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE SOFTWARE FOR
145 ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF USING,
146 MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY DERIVATIVE THEREOF, EVEN IF
147 ADVISED OF THE POSSIBILITY THEREOF.
148
149#. This License Agreement will automatically terminate upon a material breach of
150 its terms and conditions.
151
152#. This License Agreement shall be governed by and interpreted in all respects
153 by the law of the State of California, excluding conflict of law provisions.
154 Nothing in this License Agreement shall be deemed to create any relationship of
155 agency, partnership, or joint venture between BeOpen and Licensee. This License
156 Agreement does not grant permission to use BeOpen trademarks or trade names in a
157 trademark sense to endorse or promote products or services of Licensee, or any
158 third party. As an exception, the "BeOpen Python" logos available at
159 http://www.pythonlabs.com/logos.html may be used according to the permissions
160 granted on that web page.
161
162#. By copying, installing or otherwise using the software, Licensee agrees to be
163 bound by the terms and conditions of this License Agreement.
164
165
166.. centered:: CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1
167
168#. This LICENSE AGREEMENT is between the Corporation for National Research
169 Initiatives, having an office at 1895 Preston White Drive, Reston, VA 20191
170 ("CNRI"), and the Individual or Organization ("Licensee") accessing and
171 otherwise using Python 1.6.1 software in source or binary form and its
172 associated documentation.
173
174#. Subject to the terms and conditions of this License Agreement, CNRI hereby
175 grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
176 analyze, test, perform and/or display publicly, prepare derivative works,
177 distribute, and otherwise use Python 1.6.1 alone or in any derivative version,
178 provided, however, that CNRI's License Agreement and CNRI's notice of copyright,
179 i.e., "Copyright © 1995-2001 Corporation for National Research Initiatives; All
180 Rights Reserved" are retained in Python 1.6.1 alone or in any derivative version
181 prepared by Licensee. Alternately, in lieu of CNRI's License Agreement,
182 Licensee may substitute the following text (omitting the quotes): "Python 1.6.1
183 is made available subject to the terms and conditions in CNRI's License
184 Agreement. This Agreement together with Python 1.6.1 may be located on the
185 Internet using the following unique, persistent identifier (known as a handle):
186 1895.22/1013. This Agreement may also be obtained from a proxy server on the
187 Internet using the following URL: http://hdl.handle.net/1895.22/1013."
188
189#. In the event Licensee prepares a derivative work that is based on or
190 incorporates Python 1.6.1 or any part thereof, and wants to make the derivative
191 work available to others as provided herein, then Licensee hereby agrees to
192 include in any such work a brief summary of the changes made to Python 1.6.1.
193
194#. CNRI is making Python 1.6.1 available to Licensee on an "AS IS" basis. CNRI
195 MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE,
196 BUT NOT LIMITATION, CNRI MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY
197 OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF
198 PYTHON 1.6.1 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
199
200#. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 1.6.1 FOR
201 ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF
202 MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1, OR ANY DERIVATIVE
203 THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
204
205#. This License Agreement will automatically terminate upon a material breach of
206 its terms and conditions.
207
208#. This License Agreement shall be governed by the federal intellectual property
209 law of the United States, including without limitation the federal copyright
210 law, and, to the extent such U.S. federal law does not apply, by the law of the
211 Commonwealth of Virginia, excluding Virginia's conflict of law provisions.
212 Notwithstanding the foregoing, with regard to derivative works based on Python
213 1.6.1 that incorporate non-separable material that was previously distributed
214 under the GNU General Public License (GPL), the law of the Commonwealth of
215 Virginia shall govern this License Agreement only as to issues arising under or
216 with respect to Paragraphs 4, 5, and 7 of this License Agreement. Nothing in
217 this License Agreement shall be deemed to create any relationship of agency,
218 partnership, or joint venture between CNRI and Licensee. This License Agreement
219 does not grant permission to use CNRI trademarks or trade name in a trademark
220 sense to endorse or promote products or services of Licensee, or any third
221 party.
222
223#. By clicking on the "ACCEPT" button where indicated, or by copying, installing
224 or otherwise using Python 1.6.1, Licensee agrees to be bound by the terms and
225 conditions of this License Agreement.
226
227
228.. centered:: ACCEPT
229
230
231.. centered:: CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2
232
233Copyright © 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, The
234Netherlands. All rights reserved.
235
236Permission to use, copy, modify, and distribute this software and its
237documentation for any purpose and without fee is hereby granted, provided that
238the above copyright notice appear in all copies and that both that copyright
239notice and this permission notice appear in supporting documentation, and that
240the name of Stichting Mathematisch Centrum or CWI not be used in advertising or
241publicity pertaining to distribution of the software without specific, written
242prior permission.
243
244STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
245SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
246EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE FOR ANY SPECIAL, INDIRECT
247OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
248DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
249ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
250SOFTWARE.
251
252
253Licenses and Acknowledgements for Incorporated Software
254=======================================================
255
256This section is an incomplete, but growing list of licenses and acknowledgements
257for third-party software incorporated in the Python distribution.
258
259
260Mersenne Twister
261----------------
262
263The :mod:`_random` module includes code based on a download from
Ezio Melottife11e812012-09-24 16:56:59 +0300264http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/emt19937ar.html. The following are
Georg Brandl8ec7f652007-08-15 14:28:01 +0000265the verbatim comments from the original code::
266
267 A C-program for MT19937, with initialization improved 2002/1/26.
268 Coded by Takuji Nishimura and Makoto Matsumoto.
269
270 Before using, initialize the state by using init_genrand(seed)
271 or init_by_array(init_key, key_length).
272
273 Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
274 All rights reserved.
275
276 Redistribution and use in source and binary forms, with or without
277 modification, are permitted provided that the following conditions
278 are met:
279
280 1. Redistributions of source code must retain the above copyright
281 notice, this list of conditions and the following disclaimer.
282
283 2. Redistributions in binary form must reproduce the above copyright
284 notice, this list of conditions and the following disclaimer in the
285 documentation and/or other materials provided with the distribution.
286
287 3. The names of its contributors may not be used to endorse or promote
288 products derived from this software without specific prior written
289 permission.
290
291 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
292 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
293 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
294 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
295 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
296 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
297 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
298 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
299 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
300 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
301 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
302
303
304 Any feedback is very welcome.
Ezio Melottife11e812012-09-24 16:56:59 +0300305 http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html
306 email: m-mat @ math.sci.hiroshima-u.ac.jp (remove space)
Georg Brandl8ec7f652007-08-15 14:28:01 +0000307
308
309Sockets
310-------
311
312The :mod:`socket` module uses the functions, :func:`getaddrinfo`, and
313:func:`getnameinfo`, which are coded in separate source files from the WIDE
Georg Brandl02677812008-03-15 00:20:19 +0000314Project, http://www.wide.ad.jp/. ::
Georg Brandl8ec7f652007-08-15 14:28:01 +0000315
316 Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
317 All rights reserved.
318
319 Redistribution and use in source and binary forms, with or without
320 modification, are permitted provided that the following conditions
321 are met:
322 1. Redistributions of source code must retain the above copyright
323 notice, this list of conditions and the following disclaimer.
324 2. Redistributions in binary form must reproduce the above copyright
325 notice, this list of conditions and the following disclaimer in the
326 documentation and/or other materials provided with the distribution.
327 3. Neither the name of the project nor the names of its contributors
328 may be used to endorse or promote products derived from this software
329 without specific prior written permission.
330
331 THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
332 GAI_ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
333 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
334 ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
335 FOR GAI_ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
336 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
337 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
338 HOWEVER CAUSED AND ON GAI_ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
339 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN GAI_ANY WAY
340 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
341 SUCH DAMAGE.
342
343
344Floating point exception control
345--------------------------------
346
347The source for the :mod:`fpectl` module includes the following notice::
348
Georg Brandlc62ef8b2009-01-03 20:55:06 +0000349 ---------------------------------------------------------------------
350 / Copyright (c) 1996. \
Georg Brandl8ec7f652007-08-15 14:28:01 +0000351 | The Regents of the University of California. |
352 | All rights reserved. |
353 | |
354 | Permission to use, copy, modify, and distribute this software for |
355 | any purpose without fee is hereby granted, provided that this en- |
356 | tire notice is included in all copies of any software which is or |
357 | includes a copy or modification of this software and in all |
358 | copies of the supporting documentation for such software. |
359 | |
360 | This work was produced at the University of California, Lawrence |
361 | Livermore National Laboratory under contract no. W-7405-ENG-48 |
362 | between the U.S. Department of Energy and The Regents of the |
363 | University of California for the operation of UC LLNL. |
364 | |
365 | DISCLAIMER |
366 | |
367 | This software was prepared as an account of work sponsored by an |
368 | agency of the United States Government. Neither the United States |
369 | Government nor the University of California nor any of their em- |
370 | ployees, makes any warranty, express or implied, or assumes any |
371 | liability or responsibility for the accuracy, completeness, or |
372 | usefulness of any information, apparatus, product, or process |
373 | disclosed, or represents that its use would not infringe |
374 | privately-owned rights. Reference herein to any specific commer- |
375 | cial products, process, or service by trade name, trademark, |
376 | manufacturer, or otherwise, does not necessarily constitute or |
377 | imply its endorsement, recommendation, or favoring by the United |
378 | States Government or the University of California. The views and |
379 | opinions of authors expressed herein do not necessarily state or |
380 | reflect those of the United States Government or the University |
381 | of California, and shall not be used for advertising or product |
Georg Brandlc62ef8b2009-01-03 20:55:06 +0000382 \ endorsement purposes. /
Georg Brandl8ec7f652007-08-15 14:28:01 +0000383 ---------------------------------------------------------------------
384
385
386MD5 message digest algorithm
387----------------------------
388
389The source code for the :mod:`md5` module contains the following notice::
390
391 Copyright (C) 1999, 2002 Aladdin Enterprises. All rights reserved.
392
393 This software is provided 'as-is', without any express or implied
394 warranty. In no event will the authors be held liable for any damages
395 arising from the use of this software.
396
397 Permission is granted to anyone to use this software for any purpose,
398 including commercial applications, and to alter it and redistribute it
399 freely, subject to the following restrictions:
400
401 1. The origin of this software must not be misrepresented; you must not
402 claim that you wrote the original software. If you use this software
403 in a product, an acknowledgment in the product documentation would be
404 appreciated but is not required.
405 2. Altered source versions must be plainly marked as such, and must not be
406 misrepresented as being the original software.
407 3. This notice may not be removed or altered from any source distribution.
408
409 L. Peter Deutsch
410 ghost@aladdin.com
411
412 Independent implementation of MD5 (RFC 1321).
413
414 This code implements the MD5 Algorithm defined in RFC 1321, whose
415 text is available at
Georg Brandl7044b112009-01-03 21:04:55 +0000416 http://www.ietf.org/rfc/rfc1321.txt
Georg Brandl8ec7f652007-08-15 14:28:01 +0000417 The code is derived from the text of the RFC, including the test suite
418 (section A.5) but excluding the rest of Appendix A. It does not include
419 any code or documentation that is identified in the RFC as being
420 copyrighted.
421
422 The original and principal author of md5.h is L. Peter Deutsch
423 <ghost@aladdin.com>. Other authors are noted in the change history
424 that follows (in reverse chronological order):
425
426 2002-04-13 lpd Removed support for non-ANSI compilers; removed
Georg Brandl7044b112009-01-03 21:04:55 +0000427 references to Ghostscript; clarified derivation from RFC 1321;
428 now handles byte order either statically or dynamically.
Georg Brandl8ec7f652007-08-15 14:28:01 +0000429 1999-11-04 lpd Edited comments slightly for automatic TOC extraction.
430 1999-10-18 lpd Fixed typo in header comment (ansi2knr rather than md5);
Georg Brandl7044b112009-01-03 21:04:55 +0000431 added conditionalization for C++ compilation from Martin
432 Purschke <purschke@bnl.gov>.
Georg Brandl8ec7f652007-08-15 14:28:01 +0000433 1999-05-03 lpd Original version.
434
435
436Asynchronous socket services
437----------------------------
438
439The :mod:`asynchat` and :mod:`asyncore` modules contain the following notice::
440
441 Copyright 1996 by Sam Rushing
442
443 All Rights Reserved
444
445 Permission to use, copy, modify, and distribute this software and
446 its documentation for any purpose and without fee is hereby
447 granted, provided that the above copyright notice appear in all
448 copies and that both that copyright notice and this permission
449 notice appear in supporting documentation, and that the name of Sam
450 Rushing not be used in advertising or publicity pertaining to
451 distribution of the software without specific, written prior
452 permission.
453
454 SAM RUSHING DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
455 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
456 NO EVENT SHALL SAM RUSHING BE LIABLE FOR ANY SPECIAL, INDIRECT OR
457 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
458 OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
459 NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
460 CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
461
462
463Cookie management
464-----------------
465
466The :mod:`Cookie` module contains the following notice::
467
468 Copyright 2000 by Timothy O'Malley <timo@alum.mit.edu>
469
470 All Rights Reserved
471
472 Permission to use, copy, modify, and distribute this software
473 and its documentation for any purpose and without fee is hereby
474 granted, provided that the above copyright notice appear in all
475 copies and that both that copyright notice and this permission
476 notice appear in supporting documentation, and that the name of
477 Timothy O'Malley not be used in advertising or publicity
478 pertaining to distribution of the software without specific, written
479 prior permission.
480
481 Timothy O'Malley DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
482 SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
483 AND FITNESS, IN NO EVENT SHALL Timothy O'Malley BE LIABLE FOR
484 ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
485 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
486 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
487 ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
488 PERFORMANCE OF THIS SOFTWARE.
489
490
Georg Brandl8ec7f652007-08-15 14:28:01 +0000491Execution tracing
492-----------------
493
494The :mod:`trace` module contains the following notice::
495
496 portions copyright 2001, Autonomous Zones Industries, Inc., all rights...
497 err... reserved and offered to the public under the terms of the
498 Python 2.2 license.
499 Author: Zooko O'Whielacronx
500 http://zooko.com/
501 mailto:zooko@zooko.com
502
503 Copyright 2000, Mojam Media, Inc., all rights reserved.
504 Author: Skip Montanaro
505
506 Copyright 1999, Bioreason, Inc., all rights reserved.
507 Author: Andrew Dalke
508
509 Copyright 1995-1997, Automatrix, Inc., all rights reserved.
510 Author: Skip Montanaro
511
512 Copyright 1991-1995, Stichting Mathematisch Centrum, all rights reserved.
513
514
515 Permission to use, copy, modify, and distribute this Python software and
516 its associated documentation for any purpose without fee is hereby
517 granted, provided that the above copyright notice appears in all copies,
518 and that both that copyright notice and this permission notice appear in
519 supporting documentation, and that the name of neither Automatrix,
520 Bioreason or Mojam Media be used in advertising or publicity pertaining to
521 distribution of the software without specific, written prior permission.
522
523
524UUencode and UUdecode functions
525-------------------------------
526
527The :mod:`uu` module contains the following notice::
528
529 Copyright 1994 by Lance Ellinghouse
530 Cathedral City, California Republic, United States of America.
531 All Rights Reserved
532 Permission to use, copy, modify, and distribute this software and its
533 documentation for any purpose and without fee is hereby granted,
534 provided that the above copyright notice appear in all copies and that
535 both that copyright notice and this permission notice appear in
536 supporting documentation, and that the name of Lance Ellinghouse
537 not be used in advertising or publicity pertaining to distribution
538 of the software without specific, written prior permission.
539 LANCE ELLINGHOUSE DISCLAIMS ALL WARRANTIES WITH REGARD TO
540 THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
541 FITNESS, IN NO EVENT SHALL LANCE ELLINGHOUSE CENTRUM BE LIABLE
542 FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
543 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
544 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
545 OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
546
547 Modified by Jack Jansen, CWI, July 1995:
548 - Use binascii module to do the actual line-by-line conversion
549 between ascii and binary. This results in a 1000-fold speedup. The C
550 version is still 5 times faster, though.
Ezio Melotti062d2b52009-12-19 22:41:49 +0000551 - Arguments more compliant with Python standard
Georg Brandl8ec7f652007-08-15 14:28:01 +0000552
553
554XML Remote Procedure Calls
555--------------------------
556
557The :mod:`xmlrpclib` module contains the following notice::
558
559 The XML-RPC client interface is
560
561 Copyright (c) 1999-2002 by Secret Labs AB
562 Copyright (c) 1999-2002 by Fredrik Lundh
563
564 By obtaining, using, and/or copying this software and/or its
565 associated documentation, you agree that you have read, understood,
566 and will comply with the following terms and conditions:
567
568 Permission to use, copy, modify, and distribute this software and
569 its associated documentation for any purpose and without fee is
570 hereby granted, provided that the above copyright notice appears in
571 all copies, and that both that copyright notice and this permission
572 notice appear in supporting documentation, and that the name of
573 Secret Labs AB or the author not be used in advertising or publicity
574 pertaining to distribution of the software without specific, written
575 prior permission.
576
577 SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD
578 TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANT-
579 ABILITY AND FITNESS. IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR
580 BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
581 DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
582 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
583 ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
584 OF THIS SOFTWARE.
585
Christian Heimes0e9ab5f2008-03-21 23:49:44 +0000586
587test_epoll
588----------
589
590The :mod:`test_epoll` contains the following notice::
591
592 Copyright (c) 2001-2006 Twisted Matrix Laboratories.
593
594 Permission is hereby granted, free of charge, to any person obtaining
595 a copy of this software and associated documentation files (the
596 "Software"), to deal in the Software without restriction, including
597 without limitation the rights to use, copy, modify, merge, publish,
598 distribute, sublicense, and/or sell copies of the Software, and to
599 permit persons to whom the Software is furnished to do so, subject to
600 the following conditions:
601
602 The above copyright notice and this permission notice shall be
603 included in all copies or substantial portions of the Software.
604
605 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
606 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
607 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
608 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
609 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
610 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
611 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
612
613Select kqueue
614-------------
615
616The :mod:`select` and contains the following notice for the kqueue interface::
617
618 Copyright (c) 2000 Doug White, 2006 James Knight, 2007 Christian Heimes
619 All rights reserved.
620
621 Redistribution and use in source and binary forms, with or without
622 modification, are permitted provided that the following conditions
623 are met:
624 1. Redistributions of source code must retain the above copyright
625 notice, this list of conditions and the following disclaimer.
626 2. Redistributions in binary form must reproduce the above copyright
627 notice, this list of conditions and the following disclaimer in the
628 documentation and/or other materials provided with the distribution.
629
630 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
631 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
632 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
633 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
634 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
635 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
636 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
637 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
638 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
639 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
640 SUCH DAMAGE.
Mark Dickinsonbb282852009-10-24 12:13:30 +0000641
642
643strtod and dtoa
644---------------
645
646The file :file:`Python/dtoa.c`, which supplies C functions dtoa and
647strtod for conversion of C doubles to and from strings, is derived
648from the file of the same name by David M. Gay, currently available
649from http://www.netlib.org/fp/. The original file, as retrieved on
650March 16, 2009, contains the following copyright and licensing
651notice::
652
653 /****************************************************************
654 *
655 * The author of this software is David M. Gay.
656 *
657 * Copyright (c) 1991, 2000, 2001 by Lucent Technologies.
658 *
659 * Permission to use, copy, modify, and distribute this software for any
660 * purpose without fee is hereby granted, provided that this entire notice
661 * is included in all copies of any software which is or includes a copy
662 * or modification of this software and in all copies of the supporting
663 * documentation for such software.
664 *
665 * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
666 * WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR LUCENT MAKES ANY
667 * REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
668 * OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
669 *
670 ***************************************************************/
671
672
Marc-André Lemburg86807352010-09-21 11:40:14 +0000673OpenSSL
674-------
675
676The modules :mod:`hashlib`, :mod:`posix`, :mod:`ssl`, :mod:`crypt` use
677the OpenSSL library for added performance if made available by the
678operating system. Additionally, the Windows installers for Python
Marc-André Lemburg5a587722010-09-21 11:56:39 +0000679include a copy of the OpenSSL libraries, so we include a copy of the
680OpenSSL license here::
Marc-André Lemburg86807352010-09-21 11:40:14 +0000681
682
683 LICENSE ISSUES
684 ==============
685
686 The OpenSSL toolkit stays under a dual license, i.e. both the conditions of
687 the OpenSSL License and the original SSLeay license apply to the toolkit.
688 See below for the actual license texts. Actually both licenses are BSD-style
689 Open Source licenses. In case of any license issues related to OpenSSL
690 please contact openssl-core@openssl.org.
691
692 OpenSSL License
693 ---------------
694
695 /* ====================================================================
696 * Copyright (c) 1998-2008 The OpenSSL Project. All rights reserved.
697 *
698 * Redistribution and use in source and binary forms, with or without
699 * modification, are permitted provided that the following conditions
700 * are met:
701 *
702 * 1. Redistributions of source code must retain the above copyright
703 * notice, this list of conditions and the following disclaimer.
704 *
705 * 2. Redistributions in binary form must reproduce the above copyright
706 * notice, this list of conditions and the following disclaimer in
707 * the documentation and/or other materials provided with the
708 * distribution.
709 *
710 * 3. All advertising materials mentioning features or use of this
711 * software must display the following acknowledgment:
712 * "This product includes software developed by the OpenSSL Project
713 * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
714 *
715 * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
716 * endorse or promote products derived from this software without
717 * prior written permission. For written permission, please contact
718 * openssl-core@openssl.org.
719 *
720 * 5. Products derived from this software may not be called "OpenSSL"
721 * nor may "OpenSSL" appear in their names without prior written
722 * permission of the OpenSSL Project.
723 *
724 * 6. Redistributions of any form whatsoever must retain the following
725 * acknowledgment:
726 * "This product includes software developed by the OpenSSL Project
727 * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
728 *
729 * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
730 * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
731 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
732 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
733 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
734 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
735 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
736 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
737 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
738 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
739 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
740 * OF THE POSSIBILITY OF SUCH DAMAGE.
741 * ====================================================================
742 *
743 * This product includes cryptographic software written by Eric Young
744 * (eay@cryptsoft.com). This product includes software written by Tim
745 * Hudson (tjh@cryptsoft.com).
746 *
747 */
748
749 Original SSLeay License
750 -----------------------
751
752 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
753 * All rights reserved.
754 *
755 * This package is an SSL implementation written
756 * by Eric Young (eay@cryptsoft.com).
757 * The implementation was written so as to conform with Netscapes SSL.
758 *
759 * This library is free for commercial and non-commercial use as long as
760 * the following conditions are aheared to. The following conditions
761 * apply to all code found in this distribution, be it the RC4, RSA,
762 * lhash, DES, etc., code; not just the SSL code. The SSL documentation
763 * included with this distribution is covered by the same copyright terms
764 * except that the holder is Tim Hudson (tjh@cryptsoft.com).
765 *
766 * Copyright remains Eric Young's, and as such any Copyright notices in
767 * the code are not to be removed.
768 * If this package is used in a product, Eric Young should be given attribution
769 * as the author of the parts of the library used.
770 * This can be in the form of a textual message at program startup or
771 * in documentation (online or textual) provided with the package.
772 *
773 * Redistribution and use in source and binary forms, with or without
774 * modification, are permitted provided that the following conditions
775 * are met:
776 * 1. Redistributions of source code must retain the copyright
777 * notice, this list of conditions and the following disclaimer.
778 * 2. Redistributions in binary form must reproduce the above copyright
779 * notice, this list of conditions and the following disclaimer in the
780 * documentation and/or other materials provided with the distribution.
781 * 3. All advertising materials mentioning features or use of this software
782 * must display the following acknowledgement:
783 * "This product includes cryptographic software written by
784 * Eric Young (eay@cryptsoft.com)"
785 * The word 'cryptographic' can be left out if the rouines from the library
786 * being used are not cryptographic related :-).
787 * 4. If you include any Windows specific code (or a derivative thereof) from
788 * the apps directory (application code) you must include an acknowledgement:
789 * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
790 *
791 * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
792 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
793 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
794 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
795 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
796 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
797 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
798 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
799 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
800 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
801 * SUCH DAMAGE.
802 *
803 * The licence and distribution terms for any publically available version or
804 * derivative of this code cannot be changed. i.e. this code cannot simply be
805 * copied and put under another distribution licence
806 * [including the GNU Public Licence.]
807 */
808
809
Matthias Klose3e8230d2010-09-12 16:51:29 +0000810expat
811-----
812
813The :mod:`pyexpat` extension is built using an included copy of the expat
Éric Araujo5cf86602011-06-09 14:26:10 +0200814sources unless the build is configured ``--with-system-expat``::
Matthias Klose3e8230d2010-09-12 16:51:29 +0000815
816 Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
817 and Clark Cooper
818
819 Permission is hereby granted, free of charge, to any person obtaining
820 a copy of this software and associated documentation files (the
821 "Software"), to deal in the Software without restriction, including
822 without limitation the rights to use, copy, modify, merge, publish,
823 distribute, sublicense, and/or sell copies of the Software, and to
824 permit persons to whom the Software is furnished to do so, subject to
825 the following conditions:
826
827 The above copyright notice and this permission notice shall be included
828 in all copies or substantial portions of the Software.
829
830 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
831 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
832 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
833 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
834 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
835 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
836 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
837
838
839libffi
840------
841
842The :mod:`_ctypes` extension is built using an included copy of the libffi
Éric Araujo5cf86602011-06-09 14:26:10 +0200843sources unless the build is configured ``--with-system-libffi``::
Matthias Klose3e8230d2010-09-12 16:51:29 +0000844
845 Copyright (c) 1996-2008 Red Hat, Inc and others.
846
847 Permission is hereby granted, free of charge, to any person obtaining
848 a copy of this software and associated documentation files (the
849 ``Software''), to deal in the Software without restriction, including
850 without limitation the rights to use, copy, modify, merge, publish,
851 distribute, sublicense, and/or sell copies of the Software, and to
852 permit persons to whom the Software is furnished to do so, subject to
853 the following conditions:
854
855 The above copyright notice and this permission notice shall be included
856 in all copies or substantial portions of the Software.
857
858 THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,
859 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
860 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
861 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
862 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
863 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
864 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
865 DEALINGS IN THE SOFTWARE.
866
867
868zlib
869----
870
871The :mod:`zlib` extension is built using an included copy of the zlib
Sandro Tosi4047d682011-08-16 20:02:15 +0200872sources if the zlib version found on the system is too old to be
Matthias Klose3e8230d2010-09-12 16:51:29 +0000873used for the build::
874
875 Copyright (C) 1995-2010 Jean-loup Gailly and Mark Adler
876
877 This software is provided 'as-is', without any express or implied
878 warranty. In no event will the authors be held liable for any damages
879 arising from the use of this software.
880
881 Permission is granted to anyone to use this software for any purpose,
882 including commercial applications, and to alter it and redistribute it
883 freely, subject to the following restrictions:
884
885 1. The origin of this software must not be misrepresented; you must not
886 claim that you wrote the original software. If you use this software
887 in a product, an acknowledgment in the product documentation would be
888 appreciated but is not required.
889
890 2. Altered source versions must be plainly marked as such, and must not be
891 misrepresented as being the original software.
892
893 3. This notice may not be removed or altered from any source distribution.
894
895 Jean-loup Gailly Mark Adler
896 jloup@gzip.org madler@alumni.caltech.edu
897