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