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