blob: 49d29cee314e4013bb372a3220d89269b9acf8f5 [file] [log] [blame]
Georg Brandl116aa622007-08-15 14:28:22 +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
Serhiy Storchaka6dff0202016-05-07 10:49:07 +030014Mathematisch Centrum (CWI, see https://www.cwi.nl/) in the Netherlands as a
Georg Brandl116aa622007-08-15 14:28:22 +000015successor 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
Serhiy Storchaka6dff0202016-05-07 10:49:07 +030019Research Initiatives (CNRI, see https://www.cnri.reston.va.us/) in Reston,
Georg Brandl116aa622007-08-15 14:28:22 +000020Virginia 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 Brandle73778c2014-10-29 08:36:35 +010026https://www.python.org/psf/) was formed, a non-profit organization created
Georg Brandl116aa622007-08-15 14:28:22 +000027specifically to own Python-related Intellectual Property. Zope Corporation is a
28sponsoring member of the PSF.
29
Serhiy Storchaka6dff0202016-05-07 10:49:07 +030030All Python releases are Open Source (see https://opensource.org/ for the Open
Georg Brandl116aa622007-08-15 14:28:22 +000031Source Definition). Historically, most, but not all, Python releases have also
32been GPL-compatible; the table below summarizes the various releases.
33
Georg Brandl716c3ac2007-08-30 18:34:23 +000034+----------------+--------------+------------+------------+-----------------+
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 Brandl716c3ac2007-08-30 18:34:23 +000053| 2.1.2 | 2.1.1 | 2002 | PSF | yes |
54+----------------+--------------+------------+------------+-----------------+
55| 2.1.3 | 2.1.2 | 2002 | PSF | yes |
56+----------------+--------------+------------+------------+-----------------+
Georg Brandl587b3052013-09-22 11:45:52 +020057| 2.2 and above | 2.1.1 | 2001-now | PSF | yes |
Georg Brandl08a90122012-09-29 09:34:13 +020058+----------------+--------------+------------+------------+-----------------+
Benjamin Peterson92035012008-12-27 16:00:54 +000059
Georg Brandl116aa622007-08-15 14:28:22 +000060.. 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 Stinnerd99cd332016-01-21 08:56:00 +010076PSF LICENSE AGREEMENT FOR PYTHON |release|
77------------------------------------------
Georg Brandl116aa622007-08-15 14:28:22 +000078
Victor Stinnerd99cd332016-01-21 08:56:00 +010079.. parsed-literal::
Georg Brandl116aa622007-08-15 14:28:22 +000080
Victor Stinnerd99cd332016-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 Brandl116aa622007-08-15 14:28:22 +000084
Victor Stinnerd99cd332016-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
Benjamin Peterson43658332017-01-01 22:08:33 -060090 copyright, i.e., "Copyright © 2001-2017 Python Software Foundation; All Rights
Victor Stinnerd99cd332016-01-21 08:56:00 +010091 Reserved" are retained in Python |release| alone or in any derivative version
92 prepared by Licensee.
Georg Brandl116aa622007-08-15 14:28:22 +000093
Victor Stinnerd99cd332016-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 Brandl116aa622007-08-15 14:28:22 +000099
Victor Stinnerd99cd332016-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 Brandl116aa622007-08-15 14:28:22 +0000105
Victor Stinnerd99cd332016-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 Brandl116aa622007-08-15 14:28:22 +0000110
Victor Stinnerd99cd332016-01-21 08:56:00 +0100111 6. This License Agreement will automatically terminate upon a material breach of
112 its terms and conditions.
Georg Brandl116aa622007-08-15 14:28:22 +0000113
Victor Stinnerd99cd332016-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 Brandl116aa622007-08-15 14:28:22 +0000122
123
Victor Stinnerd99cd332016-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 Brandl116aa622007-08-15 14:28:22 +0000169
170
Victor Stinnerd99cd332016-01-21 08:56:00 +0100171CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1
172---------------------------------------
Georg Brandl116aa622007-08-15 14:28:22 +0000173
Victor Stinnerd99cd332016-01-21 08:56:00 +0100174.. parsed-literal::
Georg Brandl116aa622007-08-15 14:28:22 +0000175
Victor Stinnerd99cd332016-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 Brandl116aa622007-08-15 14:28:22 +0000181
Victor Stinnerd99cd332016-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 Brandl116aa622007-08-15 14:28:22 +0000196
Victor Stinnerd99cd332016-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 Brandl116aa622007-08-15 14:28:22 +0000201
Victor Stinnerd99cd332016-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 Brandl116aa622007-08-15 14:28:22 +0000207
Victor Stinnerd99cd332016-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 Brandl116aa622007-08-15 14:28:22 +0000212
Victor Stinnerd99cd332016-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 Brandl116aa622007-08-15 14:28:22 +0000234
235
Victor Stinnerd99cd332016-01-21 08:56:00 +0100236CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2
237--------------------------------------------------
Georg Brandl116aa622007-08-15 14:28:22 +0000238
Victor Stinnerd99cd332016-01-21 08:56:00 +0100239.. parsed-literal::
Georg Brandl116aa622007-08-15 14:28:22 +0000240
Victor Stinnerd99cd332016-01-21 08:56:00 +0100241 Copyright © 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, The
242 Netherlands. All rights reserved.
Georg Brandl116aa622007-08-15 14:28:22 +0000243
Victor Stinnerd99cd332016-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 Brandl116aa622007-08-15 14:28:22 +0000251
Victor Stinnerd99cd332016-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 Brandl116aa622007-08-15 14:28:22 +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 Melotti4f24af02012-09-24 16:56:59 +0300272http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/emt19937ar.html. The following are
Georg Brandl116aa622007-08-15 14:28:22 +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 Melotti4f24af02012-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 Brandl116aa622007-08-15 14:28:22 +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
Christian Heimesdd15f6c2008-03-16 00:07:10 +0000322Project, http://www.wide.ad.jp/. ::
Georg Brandl116aa622007-08-15 14:28:22 +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
Ned Deilyadbf8ce2016-03-07 14:51:59 -0500340 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
Georg Brandl116aa622007-08-15 14:28:22 +0000341 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
342 ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
Ned Deilyadbf8ce2016-03-07 14:51:59 -0500343 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
Georg Brandl116aa622007-08-15 14:28:22 +0000344 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
345 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
Ned Deilyadbf8ce2016-03-07 14:51:59 -0500346 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
347 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
Georg Brandl116aa622007-08-15 14:28:22 +0000348 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
349 SUCH DAMAGE.
350
351
352Floating point exception control
353--------------------------------
354
355The source for the :mod:`fpectl` module includes the following notice::
356
Georg Brandl48310cd2009-01-03 21:18:54 +0000357 ---------------------------------------------------------------------
358 / Copyright (c) 1996. \
Georg Brandl116aa622007-08-15 14:28:22 +0000359 | The Regents of the University of California. |
360 | All rights reserved. |
361 | |
362 | Permission to use, copy, modify, and distribute this software for |
363 | any purpose without fee is hereby granted, provided that this en- |
364 | tire notice is included in all copies of any software which is or |
365 | includes a copy or modification of this software and in all |
366 | copies of the supporting documentation for such software. |
367 | |
368 | This work was produced at the University of California, Lawrence |
369 | Livermore National Laboratory under contract no. W-7405-ENG-48 |
370 | between the U.S. Department of Energy and The Regents of the |
371 | University of California for the operation of UC LLNL. |
372 | |
373 | DISCLAIMER |
374 | |
375 | This software was prepared as an account of work sponsored by an |
376 | agency of the United States Government. Neither the United States |
377 | Government nor the University of California nor any of their em- |
378 | ployees, makes any warranty, express or implied, or assumes any |
379 | liability or responsibility for the accuracy, completeness, or |
380 | usefulness of any information, apparatus, product, or process |
381 | disclosed, or represents that its use would not infringe |
382 | privately-owned rights. Reference herein to any specific commer- |
383 | cial products, process, or service by trade name, trademark, |
384 | manufacturer, or otherwise, does not necessarily constitute or |
385 | imply its endorsement, recommendation, or favoring by the United |
386 | States Government or the University of California. The views and |
387 | opinions of authors expressed herein do not necessarily state or |
388 | reflect those of the United States Government or the University |
389 | of California, and shall not be used for advertising or product |
Georg Brandl48310cd2009-01-03 21:18:54 +0000390 \ endorsement purposes. /
Georg Brandl116aa622007-08-15 14:28:22 +0000391 ---------------------------------------------------------------------
392
393
Georg Brandl116aa622007-08-15 14:28:22 +0000394Asynchronous socket services
395----------------------------
396
397The :mod:`asynchat` and :mod:`asyncore` modules contain the following notice::
398
399 Copyright 1996 by Sam Rushing
400
401 All Rights Reserved
402
403 Permission to use, copy, modify, and distribute this software and
404 its documentation for any purpose and without fee is hereby
405 granted, provided that the above copyright notice appear in all
406 copies and that both that copyright notice and this permission
407 notice appear in supporting documentation, and that the name of Sam
408 Rushing not be used in advertising or publicity pertaining to
409 distribution of the software without specific, written prior
410 permission.
411
412 SAM RUSHING DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
413 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
414 NO EVENT SHALL SAM RUSHING BE LIABLE FOR ANY SPECIAL, INDIRECT OR
415 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
416 OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
417 NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
418 CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
419
420
421Cookie management
422-----------------
423
Georg Brandl24420152008-05-26 16:32:26 +0000424The :mod:`http.cookies` module contains the following notice::
Georg Brandl116aa622007-08-15 14:28:22 +0000425
426 Copyright 2000 by Timothy O'Malley <timo@alum.mit.edu>
427
428 All Rights Reserved
429
430 Permission to use, copy, modify, and distribute this software
431 and its documentation for any purpose and without fee is hereby
432 granted, provided that the above copyright notice appear in all
433 copies and that both that copyright notice and this permission
434 notice appear in supporting documentation, and that the name of
435 Timothy O'Malley not be used in advertising or publicity
436 pertaining to distribution of the software without specific, written
437 prior permission.
438
439 Timothy O'Malley DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
440 SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
441 AND FITNESS, IN NO EVENT SHALL Timothy O'Malley BE LIABLE FOR
442 ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
443 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
444 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
445 ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
446 PERFORMANCE OF THIS SOFTWARE.
447
448
Georg Brandl116aa622007-08-15 14:28:22 +0000449Execution tracing
450-----------------
451
452The :mod:`trace` module contains the following notice::
453
454 portions copyright 2001, Autonomous Zones Industries, Inc., all rights...
455 err... reserved and offered to the public under the terms of the
456 Python 2.2 license.
457 Author: Zooko O'Whielacronx
458 http://zooko.com/
459 mailto:zooko@zooko.com
460
461 Copyright 2000, Mojam Media, Inc., all rights reserved.
462 Author: Skip Montanaro
463
464 Copyright 1999, Bioreason, Inc., all rights reserved.
465 Author: Andrew Dalke
466
467 Copyright 1995-1997, Automatrix, Inc., all rights reserved.
468 Author: Skip Montanaro
469
470 Copyright 1991-1995, Stichting Mathematisch Centrum, all rights reserved.
471
472
473 Permission to use, copy, modify, and distribute this Python software and
474 its associated documentation for any purpose without fee is hereby
475 granted, provided that the above copyright notice appears in all copies,
476 and that both that copyright notice and this permission notice appear in
477 supporting documentation, and that the name of neither Automatrix,
478 Bioreason or Mojam Media be used in advertising or publicity pertaining to
479 distribution of the software without specific, written prior permission.
480
481
482UUencode and UUdecode functions
483-------------------------------
484
485The :mod:`uu` module contains the following notice::
486
487 Copyright 1994 by Lance Ellinghouse
488 Cathedral City, California Republic, United States of America.
489 All Rights Reserved
490 Permission to use, copy, modify, and distribute this software and its
491 documentation for any purpose and without fee is hereby granted,
492 provided that the above copyright notice appear in all copies and that
493 both that copyright notice and this permission notice appear in
494 supporting documentation, and that the name of Lance Ellinghouse
495 not be used in advertising or publicity pertaining to distribution
496 of the software without specific, written prior permission.
497 LANCE ELLINGHOUSE DISCLAIMS ALL WARRANTIES WITH REGARD TO
498 THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
499 FITNESS, IN NO EVENT SHALL LANCE ELLINGHOUSE CENTRUM BE LIABLE
500 FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
501 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
502 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
503 OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
504
505 Modified by Jack Jansen, CWI, July 1995:
506 - Use binascii module to do the actual line-by-line conversion
507 between ascii and binary. This results in a 1000-fold speedup. The C
508 version is still 5 times faster, though.
Ezio Melotti0639d5a2009-12-19 23:26:38 +0000509 - Arguments more compliant with Python standard
Georg Brandl116aa622007-08-15 14:28:22 +0000510
511
512XML Remote Procedure Calls
513--------------------------
514
Georg Brandl38eceaa2008-05-26 11:14:17 +0000515The :mod:`xmlrpc.client` module contains the following notice::
Georg Brandl116aa622007-08-15 14:28:22 +0000516
517 The XML-RPC client interface is
518
519 Copyright (c) 1999-2002 by Secret Labs AB
520 Copyright (c) 1999-2002 by Fredrik Lundh
521
522 By obtaining, using, and/or copying this software and/or its
523 associated documentation, you agree that you have read, understood,
524 and will comply with the following terms and conditions:
525
526 Permission to use, copy, modify, and distribute this software and
527 its associated documentation for any purpose and without fee is
528 hereby granted, provided that the above copyright notice appears in
529 all copies, and that both that copyright notice and this permission
530 notice appear in supporting documentation, and that the name of
531 Secret Labs AB or the author not be used in advertising or publicity
532 pertaining to distribution of the software without specific, written
533 prior permission.
534
535 SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD
536 TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANT-
537 ABILITY AND FITNESS. IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR
538 BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
539 DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
540 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
541 ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
542 OF THIS SOFTWARE.
543
Christian Heimes4fbc72b2008-03-22 00:47:35 +0000544
545test_epoll
546----------
547
548The :mod:`test_epoll` contains the following notice::
549
550 Copyright (c) 2001-2006 Twisted Matrix Laboratories.
551
552 Permission is hereby granted, free of charge, to any person obtaining
553 a copy of this software and associated documentation files (the
554 "Software"), to deal in the Software without restriction, including
555 without limitation the rights to use, copy, modify, merge, publish,
556 distribute, sublicense, and/or sell copies of the Software, and to
557 permit persons to whom the Software is furnished to do so, subject to
558 the following conditions:
559
560 The above copyright notice and this permission notice shall be
561 included in all copies or substantial portions of the Software.
562
563 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
564 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
565 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
566 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
567 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
568 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
569 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
570
571Select kqueue
572-------------
573
574The :mod:`select` and contains the following notice for the kqueue interface::
575
576 Copyright (c) 2000 Doug White, 2006 James Knight, 2007 Christian Heimes
577 All rights reserved.
578
579 Redistribution and use in source and binary forms, with or without
580 modification, are permitted provided that the following conditions
581 are met:
582 1. Redistributions of source code must retain the above copyright
583 notice, this list of conditions and the following disclaimer.
584 2. Redistributions in binary form must reproduce the above copyright
585 notice, this list of conditions and the following disclaimer in the
586 documentation and/or other materials provided with the distribution.
587
588 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
589 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
590 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
591 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
592 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
593 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
594 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
595 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
596 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
597 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
598 SUCH DAMAGE.
Mark Dickinsonb08a53a2009-04-16 19:52:09 +0000599
600
Christian Heimes985ecdc2013-11-20 11:46:18 +0100601SipHash24
602---------
603
604The file :file:`Python/pyhash.c` contains Marek Majkowski' implementation of
605Dan Bernstein's SipHash24 algorithm. The contains the following note::
606
607 <MIT License>
608 Copyright (c) 2013 Marek Majkowski <marek@popcount.org>
609
610 Permission is hereby granted, free of charge, to any person obtaining a copy
611 of this software and associated documentation files (the "Software"), to deal
612 in the Software without restriction, including without limitation the rights
613 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
614 copies of the Software, and to permit persons to whom the Software is
615 furnished to do so, subject to the following conditions:
616
617 The above copyright notice and this permission notice shall be included in
618 all copies or substantial portions of the Software.
619 </MIT License>
620
621 Original location:
622 https://github.com/majek/csiphash/
623
624 Solution inspired by code from:
625 Samuel Neves (supercop/crypto_auth/siphash24/little)
626 djb (supercop/crypto_auth/siphash24/little2)
627 Jean-Philippe Aumasson (https://131002.net/siphash/siphash24.c)
628
629
Mark Dickinsonb08a53a2009-04-16 19:52:09 +0000630strtod and dtoa
631---------------
632
633The file :file:`Python/dtoa.c`, which supplies C functions dtoa and
634strtod for conversion of C doubles to and from strings, is derived
635from the file of the same name by David M. Gay, currently available
636from http://www.netlib.org/fp/. The original file, as retrieved on
637March 16, 2009, contains the following copyright and licensing
638notice::
639
640 /****************************************************************
641 *
642 * The author of this software is David M. Gay.
643 *
644 * Copyright (c) 1991, 2000, 2001 by Lucent Technologies.
645 *
646 * Permission to use, copy, modify, and distribute this software for any
647 * purpose without fee is hereby granted, provided that this entire notice
648 * is included in all copies of any software which is or includes a copy
649 * or modification of this software and in all copies of the supporting
650 * documentation for such software.
651 *
652 * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
653 * WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR LUCENT MAKES ANY
654 * REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
655 * OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
656 *
657 ***************************************************************/
658
659
Marc-André Lemburg6b91fc42010-09-21 11:37:43 +0000660OpenSSL
661-------
662
663The modules :mod:`hashlib`, :mod:`posix`, :mod:`ssl`, :mod:`crypt` use
664the OpenSSL library for added performance if made available by the
Ned Deily5d3febf2014-12-13 00:17:46 -0800665operating system. Additionally, the Windows and Mac OS X installers for
666Python may include a copy of the OpenSSL libraries, so we include a copy
667of the OpenSSL license here::
Marc-André Lemburg6b91fc42010-09-21 11:37:43 +0000668
669
670 LICENSE ISSUES
671 ==============
672
673 The OpenSSL toolkit stays under a dual license, i.e. both the conditions of
674 the OpenSSL License and the original SSLeay license apply to the toolkit.
675 See below for the actual license texts. Actually both licenses are BSD-style
676 Open Source licenses. In case of any license issues related to OpenSSL
677 please contact openssl-core@openssl.org.
678
679 OpenSSL License
680 ---------------
681
682 /* ====================================================================
683 * Copyright (c) 1998-2008 The OpenSSL Project. All rights reserved.
684 *
685 * Redistribution and use in source and binary forms, with or without
686 * modification, are permitted provided that the following conditions
687 * are met:
688 *
689 * 1. Redistributions of source code must retain the above copyright
690 * notice, this list of conditions and the following disclaimer.
691 *
692 * 2. Redistributions in binary form must reproduce the above copyright
693 * notice, this list of conditions and the following disclaimer in
694 * the documentation and/or other materials provided with the
695 * distribution.
696 *
697 * 3. All advertising materials mentioning features or use of this
698 * software must display the following acknowledgment:
699 * "This product includes software developed by the OpenSSL Project
700 * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
701 *
702 * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
703 * endorse or promote products derived from this software without
704 * prior written permission. For written permission, please contact
705 * openssl-core@openssl.org.
706 *
707 * 5. Products derived from this software may not be called "OpenSSL"
708 * nor may "OpenSSL" appear in their names without prior written
709 * permission of the OpenSSL Project.
710 *
711 * 6. Redistributions of any form whatsoever must retain the following
712 * acknowledgment:
713 * "This product includes software developed by the OpenSSL Project
714 * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
715 *
716 * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
717 * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
718 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
719 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
720 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
721 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
722 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
723 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
724 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
725 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
726 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
727 * OF THE POSSIBILITY OF SUCH DAMAGE.
728 * ====================================================================
729 *
730 * This product includes cryptographic software written by Eric Young
731 * (eay@cryptsoft.com). This product includes software written by Tim
732 * Hudson (tjh@cryptsoft.com).
733 *
734 */
735
736 Original SSLeay License
737 -----------------------
738
739 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
740 * All rights reserved.
741 *
742 * This package is an SSL implementation written
743 * by Eric Young (eay@cryptsoft.com).
744 * The implementation was written so as to conform with Netscapes SSL.
745 *
746 * This library is free for commercial and non-commercial use as long as
747 * the following conditions are aheared to. The following conditions
748 * apply to all code found in this distribution, be it the RC4, RSA,
749 * lhash, DES, etc., code; not just the SSL code. The SSL documentation
750 * included with this distribution is covered by the same copyright terms
751 * except that the holder is Tim Hudson (tjh@cryptsoft.com).
752 *
753 * Copyright remains Eric Young's, and as such any Copyright notices in
754 * the code are not to be removed.
755 * If this package is used in a product, Eric Young should be given attribution
756 * as the author of the parts of the library used.
757 * This can be in the form of a textual message at program startup or
758 * in documentation (online or textual) provided with the package.
759 *
760 * Redistribution and use in source and binary forms, with or without
761 * modification, are permitted provided that the following conditions
762 * are met:
763 * 1. Redistributions of source code must retain the copyright
764 * notice, this list of conditions and the following disclaimer.
765 * 2. Redistributions in binary form must reproduce the above copyright
766 * notice, this list of conditions and the following disclaimer in the
767 * documentation and/or other materials provided with the distribution.
768 * 3. All advertising materials mentioning features or use of this software
769 * must display the following acknowledgement:
770 * "This product includes cryptographic software written by
771 * Eric Young (eay@cryptsoft.com)"
772 * The word 'cryptographic' can be left out if the rouines from the library
773 * being used are not cryptographic related :-).
774 * 4. If you include any Windows specific code (or a derivative thereof) from
775 * the apps directory (application code) you must include an acknowledgement:
776 * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
777 *
778 * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
779 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
780 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
781 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
782 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
783 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
784 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
785 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
786 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
787 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
788 * SUCH DAMAGE.
789 *
790 * The licence and distribution terms for any publically available version or
791 * derivative of this code cannot be changed. i.e. this code cannot simply be
792 * copied and put under another distribution licence
793 * [including the GNU Public Licence.]
794 */
795
796
Matthias Klose62d52fd2010-09-12 16:31:58 +0000797expat
798-----
799
800The :mod:`pyexpat` extension is built using an included copy of the expat
Éric Araujod2f8cec2011-06-08 05:29:39 +0200801sources unless the build is configured ``--with-system-expat``::
Matthias Klose62d52fd2010-09-12 16:31:58 +0000802
803 Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
804 and Clark Cooper
805
806 Permission is hereby granted, free of charge, to any person obtaining
807 a copy of this software and associated documentation files (the
808 "Software"), to deal in the Software without restriction, including
809 without limitation the rights to use, copy, modify, merge, publish,
810 distribute, sublicense, and/or sell copies of the Software, and to
811 permit persons to whom the Software is furnished to do so, subject to
812 the following conditions:
813
814 The above copyright notice and this permission notice shall be included
815 in all copies or substantial portions of the Software.
816
817 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
818 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
819 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
820 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
821 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
822 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
823 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
824
825
826libffi
827------
828
829The :mod:`_ctypes` extension is built using an included copy of the libffi
Éric Araujod2f8cec2011-06-08 05:29:39 +0200830sources unless the build is configured ``--with-system-libffi``::
Matthias Klose62d52fd2010-09-12 16:31:58 +0000831
832 Copyright (c) 1996-2008 Red Hat, Inc and others.
833
834 Permission is hereby granted, free of charge, to any person obtaining
835 a copy of this software and associated documentation files (the
836 ``Software''), to deal in the Software without restriction, including
837 without limitation the rights to use, copy, modify, merge, publish,
838 distribute, sublicense, and/or sell copies of the Software, and to
839 permit persons to whom the Software is furnished to do so, subject to
840 the following conditions:
841
842 The above copyright notice and this permission notice shall be included
843 in all copies or substantial portions of the Software.
844
845 THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,
846 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
847 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
848 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
849 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
850 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
851 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
852 DEALINGS IN THE SOFTWARE.
853
854
855zlib
856----
857
858The :mod:`zlib` extension is built using an included copy of the zlib
Sandro Tosif6b25b92011-08-16 20:03:11 +0200859sources if the zlib version found on the system is too old to be
Matthias Klose62d52fd2010-09-12 16:31:58 +0000860used for the build::
861
Georg Brandled138532010-12-31 23:00:03 +0000862 Copyright (C) 1995-2011 Jean-loup Gailly and Mark Adler
Matthias Klose62d52fd2010-09-12 16:31:58 +0000863
864 This software is provided 'as-is', without any express or implied
865 warranty. In no event will the authors be held liable for any damages
866 arising from the use of this software.
867
868 Permission is granted to anyone to use this software for any purpose,
869 including commercial applications, and to alter it and redistribute it
870 freely, subject to the following restrictions:
871
872 1. The origin of this software must not be misrepresented; you must not
873 claim that you wrote the original software. If you use this software
874 in a product, an acknowledgment in the product documentation would be
875 appreciated but is not required.
876
877 2. Altered source versions must be plainly marked as such, and must not be
878 misrepresented as being the original software.
879
880 3. This notice may not be removed or altered from any source distribution.
881
882 Jean-loup Gailly Mark Adler
883 jloup@gzip.org madler@alumni.caltech.edu
884
Victor Stinnered3b0bc2013-11-23 12:27:24 +0100885
886cfuhash
887-------
888
Stefan Krah29e64542013-12-09 19:18:59 +0100889The implementation of the hash table used by the :mod:`tracemalloc` is based
Victor Stinnered3b0bc2013-11-23 12:27:24 +0100890on the cfuhash project::
891
892 Copyright (c) 2005 Don Owens
893 All rights reserved.
894
895 This code is released under the BSD license:
896
897 Redistribution and use in source and binary forms, with or without
898 modification, are permitted provided that the following conditions
899 are met:
900
901 * Redistributions of source code must retain the above copyright
902 notice, this list of conditions and the following disclaimer.
903
904 * Redistributions in binary form must reproduce the above
905 copyright notice, this list of conditions and the following
906 disclaimer in the documentation and/or other materials provided
907 with the distribution.
908
909 * Neither the name of the author nor the names of its
910 contributors may be used to endorse or promote products derived
911 from this software without specific prior written permission.
912
913 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
914 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
915 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
916 FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
917 COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
918 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
919 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
920 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
921 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
922 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
923 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
924 OF THE POSSIBILITY OF SUCH DAMAGE.
925
Stefan Krah345ec352013-12-09 19:11:05 +0100926
Stefan Krah1761fa92013-12-08 20:54:02 +0100927libmpdec
928--------
929
930The :mod:`_decimal` Module is built using an included copy of the libmpdec
931library unless the build is configured ``--with-system-libmpdec``::
932
933 Copyright (c) 2008-2016 Stefan Krah. All rights reserved.
934
935 Redistribution and use in source and binary forms, with or without
936 modification, are permitted provided that the following conditions
937 are met:
938
939 1. Redistributions of source code must retain the above copyright
940 notice, this list of conditions and the following disclaimer.
941
942 2. Redistributions in binary form must reproduce the above copyright
943 notice, this list of conditions and the following disclaimer in the
944 documentation and/or other materials provided with the distribution.
945
946 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND
947 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
948 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
949 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
950 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
951 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
952 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
953 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
954 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
955 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
956 SUCH DAMAGE.