17db96d56Sopenharmony_ci.. highlight:: none
27db96d56Sopenharmony_ci
37db96d56Sopenharmony_ci.. _history-and-license:
47db96d56Sopenharmony_ci
57db96d56Sopenharmony_ci*******************
67db96d56Sopenharmony_ciHistory and License
77db96d56Sopenharmony_ci*******************
87db96d56Sopenharmony_ci
97db96d56Sopenharmony_ci
107db96d56Sopenharmony_ciHistory of the software
117db96d56Sopenharmony_ci=======================
127db96d56Sopenharmony_ci
137db96d56Sopenharmony_ciPython was created in the early 1990s by Guido van Rossum at Stichting
147db96d56Sopenharmony_ciMathematisch Centrum (CWI, see https://www.cwi.nl/) in the Netherlands as a
157db96d56Sopenharmony_cisuccessor of a language called ABC.  Guido remains Python's principal author,
167db96d56Sopenharmony_cialthough it includes many contributions from others.
177db96d56Sopenharmony_ci
187db96d56Sopenharmony_ciIn 1995, Guido continued his work on Python at the Corporation for National
197db96d56Sopenharmony_ciResearch Initiatives (CNRI, see https://www.cnri.reston.va.us/) in Reston,
207db96d56Sopenharmony_ciVirginia where he released several versions of the software.
217db96d56Sopenharmony_ci
227db96d56Sopenharmony_ciIn May 2000, Guido and the Python core development team moved to BeOpen.com to
237db96d56Sopenharmony_ciform the BeOpen PythonLabs team.  In October of the same year, the PythonLabs
247db96d56Sopenharmony_citeam moved to Digital Creations (now Zope Corporation; see
257db96d56Sopenharmony_cihttps://www.zope.org/).  In 2001, the Python Software Foundation (PSF, see
267db96d56Sopenharmony_cihttps://www.python.org/psf/) was formed, a non-profit organization created
277db96d56Sopenharmony_cispecifically to own Python-related Intellectual Property.  Zope Corporation is a
287db96d56Sopenharmony_cisponsoring member of the PSF.
297db96d56Sopenharmony_ci
307db96d56Sopenharmony_ciAll Python releases are Open Source (see https://opensource.org/ for the Open
317db96d56Sopenharmony_ciSource Definition). Historically, most, but not all, Python releases have also
327db96d56Sopenharmony_cibeen GPL-compatible; the table below summarizes the various releases.
337db96d56Sopenharmony_ci
347db96d56Sopenharmony_ci+----------------+--------------+------------+------------+-----------------+
357db96d56Sopenharmony_ci| Release        | Derived from | Year       | Owner      | GPL compatible? |
367db96d56Sopenharmony_ci+================+==============+============+============+=================+
377db96d56Sopenharmony_ci| 0.9.0 thru 1.2 | n/a          | 1991-1995  | CWI        | yes             |
387db96d56Sopenharmony_ci+----------------+--------------+------------+------------+-----------------+
397db96d56Sopenharmony_ci| 1.3 thru 1.5.2 | 1.2          | 1995-1999  | CNRI       | yes             |
407db96d56Sopenharmony_ci+----------------+--------------+------------+------------+-----------------+
417db96d56Sopenharmony_ci| 1.6            | 1.5.2        | 2000       | CNRI       | no              |
427db96d56Sopenharmony_ci+----------------+--------------+------------+------------+-----------------+
437db96d56Sopenharmony_ci| 2.0            | 1.6          | 2000       | BeOpen.com | no              |
447db96d56Sopenharmony_ci+----------------+--------------+------------+------------+-----------------+
457db96d56Sopenharmony_ci| 1.6.1          | 1.6          | 2001       | CNRI       | no              |
467db96d56Sopenharmony_ci+----------------+--------------+------------+------------+-----------------+
477db96d56Sopenharmony_ci| 2.1            | 2.0+1.6.1    | 2001       | PSF        | no              |
487db96d56Sopenharmony_ci+----------------+--------------+------------+------------+-----------------+
497db96d56Sopenharmony_ci| 2.0.1          | 2.0+1.6.1    | 2001       | PSF        | yes             |
507db96d56Sopenharmony_ci+----------------+--------------+------------+------------+-----------------+
517db96d56Sopenharmony_ci| 2.1.1          | 2.1+2.0.1    | 2001       | PSF        | yes             |
527db96d56Sopenharmony_ci+----------------+--------------+------------+------------+-----------------+
537db96d56Sopenharmony_ci| 2.1.2          | 2.1.1        | 2002       | PSF        | yes             |
547db96d56Sopenharmony_ci+----------------+--------------+------------+------------+-----------------+
557db96d56Sopenharmony_ci| 2.1.3          | 2.1.2        | 2002       | PSF        | yes             |
567db96d56Sopenharmony_ci+----------------+--------------+------------+------------+-----------------+
577db96d56Sopenharmony_ci| 2.2 and above  | 2.1.1        | 2001-now   | PSF        | yes             |
587db96d56Sopenharmony_ci+----------------+--------------+------------+------------+-----------------+
597db96d56Sopenharmony_ci
607db96d56Sopenharmony_ci.. note::
617db96d56Sopenharmony_ci
627db96d56Sopenharmony_ci   GPL-compatible doesn't mean that we're distributing Python under the GPL.  All
637db96d56Sopenharmony_ci   Python licenses, unlike the GPL, let you distribute a modified version without
647db96d56Sopenharmony_ci   making your changes open source. The GPL-compatible licenses make it possible to
657db96d56Sopenharmony_ci   combine Python with other software that is released under the GPL; the others
667db96d56Sopenharmony_ci   don't.
677db96d56Sopenharmony_ci
687db96d56Sopenharmony_ciThanks to the many outside volunteers who have worked under Guido's direction to
697db96d56Sopenharmony_cimake these releases possible.
707db96d56Sopenharmony_ci
717db96d56Sopenharmony_ci
727db96d56Sopenharmony_ciTerms and conditions for accessing or otherwise using Python
737db96d56Sopenharmony_ci============================================================
747db96d56Sopenharmony_ci
757db96d56Sopenharmony_ciPython software and documentation are licensed under the
767db96d56Sopenharmony_ci:ref:`PSF License Agreement <PSF-license>`.
777db96d56Sopenharmony_ci
787db96d56Sopenharmony_ciStarting with Python 3.8.6, examples, recipes, and other code in
797db96d56Sopenharmony_cithe documentation are dual licensed under the PSF License Agreement
807db96d56Sopenharmony_ciand the :ref:`Zero-Clause BSD license <BSD0>`.
817db96d56Sopenharmony_ci
827db96d56Sopenharmony_ciSome software incorporated into Python is under different licenses.
837db96d56Sopenharmony_ciThe licenses are listed with code falling under that license.
847db96d56Sopenharmony_ciSee :ref:`OtherLicenses` for an incomplete list of these licenses.
857db96d56Sopenharmony_ci
867db96d56Sopenharmony_ci
877db96d56Sopenharmony_ci.. _PSF-license:
887db96d56Sopenharmony_ci
897db96d56Sopenharmony_ciPSF LICENSE AGREEMENT FOR PYTHON |release|
907db96d56Sopenharmony_ci------------------------------------------
917db96d56Sopenharmony_ci
927db96d56Sopenharmony_ci.. parsed-literal::
937db96d56Sopenharmony_ci
947db96d56Sopenharmony_ci   1. This LICENSE AGREEMENT is between the Python Software Foundation ("PSF"), and
957db96d56Sopenharmony_ci      the Individual or Organization ("Licensee") accessing and otherwise using Python
967db96d56Sopenharmony_ci      |release| software in source or binary form and its associated documentation.
977db96d56Sopenharmony_ci
987db96d56Sopenharmony_ci   2. Subject to the terms and conditions of this License Agreement, PSF hereby
997db96d56Sopenharmony_ci      grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
1007db96d56Sopenharmony_ci      analyze, test, perform and/or display publicly, prepare derivative works,
1017db96d56Sopenharmony_ci      distribute, and otherwise use Python |release| alone or in any derivative
1027db96d56Sopenharmony_ci      version, provided, however, that PSF's License Agreement and PSF's notice of
1037db96d56Sopenharmony_ci      copyright, i.e., "Copyright © 2001-2023 Python Software Foundation; All Rights
1047db96d56Sopenharmony_ci      Reserved" are retained in Python |release| alone or in any derivative version
1057db96d56Sopenharmony_ci      prepared by Licensee.
1067db96d56Sopenharmony_ci
1077db96d56Sopenharmony_ci   3. In the event Licensee prepares a derivative work that is based on or
1087db96d56Sopenharmony_ci      incorporates Python |release| or any part thereof, and wants to make the
1097db96d56Sopenharmony_ci      derivative work available to others as provided herein, then Licensee hereby
1107db96d56Sopenharmony_ci      agrees to include in any such work a brief summary of the changes made to Python
1117db96d56Sopenharmony_ci      |release|.
1127db96d56Sopenharmony_ci
1137db96d56Sopenharmony_ci   4. PSF is making Python |release| available to Licensee on an "AS IS" basis.
1147db96d56Sopenharmony_ci      PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED.  BY WAY OF
1157db96d56Sopenharmony_ci      EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR
1167db96d56Sopenharmony_ci      WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE
1177db96d56Sopenharmony_ci      USE OF PYTHON |release| WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
1187db96d56Sopenharmony_ci
1197db96d56Sopenharmony_ci   5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON |release|
1207db96d56Sopenharmony_ci      FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF
1217db96d56Sopenharmony_ci      MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON |release|, OR ANY DERIVATIVE
1227db96d56Sopenharmony_ci      THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
1237db96d56Sopenharmony_ci
1247db96d56Sopenharmony_ci   6. This License Agreement will automatically terminate upon a material breach of
1257db96d56Sopenharmony_ci      its terms and conditions.
1267db96d56Sopenharmony_ci
1277db96d56Sopenharmony_ci   7. Nothing in this License Agreement shall be deemed to create any relationship
1287db96d56Sopenharmony_ci      of agency, partnership, or joint venture between PSF and Licensee.  This License
1297db96d56Sopenharmony_ci      Agreement does not grant permission to use PSF trademarks or trade name in a
1307db96d56Sopenharmony_ci      trademark sense to endorse or promote products or services of Licensee, or any
1317db96d56Sopenharmony_ci      third party.
1327db96d56Sopenharmony_ci
1337db96d56Sopenharmony_ci   8. By copying, installing or otherwise using Python |release|, Licensee agrees
1347db96d56Sopenharmony_ci      to be bound by the terms and conditions of this License Agreement.
1357db96d56Sopenharmony_ci
1367db96d56Sopenharmony_ci
1377db96d56Sopenharmony_ciBEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0
1387db96d56Sopenharmony_ci-------------------------------------------
1397db96d56Sopenharmony_ci
1407db96d56Sopenharmony_ciBEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1
1417db96d56Sopenharmony_ci
1427db96d56Sopenharmony_ci.. parsed-literal::
1437db96d56Sopenharmony_ci
1447db96d56Sopenharmony_ci   1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an office at
1457db96d56Sopenharmony_ci      160 Saratoga Avenue, Santa Clara, CA 95051, and the Individual or Organization
1467db96d56Sopenharmony_ci      ("Licensee") accessing and otherwise using this software in source or binary
1477db96d56Sopenharmony_ci      form and its associated documentation ("the Software").
1487db96d56Sopenharmony_ci
1497db96d56Sopenharmony_ci   2. Subject to the terms and conditions of this BeOpen Python License Agreement,
1507db96d56Sopenharmony_ci      BeOpen hereby grants Licensee a non-exclusive, royalty-free, world-wide license
1517db96d56Sopenharmony_ci      to reproduce, analyze, test, perform and/or display publicly, prepare derivative
1527db96d56Sopenharmony_ci      works, distribute, and otherwise use the Software alone or in any derivative
1537db96d56Sopenharmony_ci      version, provided, however, that the BeOpen Python License is retained in the
1547db96d56Sopenharmony_ci      Software, alone or in any derivative version prepared by Licensee.
1557db96d56Sopenharmony_ci
1567db96d56Sopenharmony_ci   3. BeOpen is making the Software available to Licensee on an "AS IS" basis.
1577db96d56Sopenharmony_ci      BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED.  BY WAY OF
1587db96d56Sopenharmony_ci      EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND DISCLAIMS ANY REPRESENTATION OR
1597db96d56Sopenharmony_ci      WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE
1607db96d56Sopenharmony_ci      USE OF THE SOFTWARE WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
1617db96d56Sopenharmony_ci
1627db96d56Sopenharmony_ci   4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE SOFTWARE FOR
1637db96d56Sopenharmony_ci      ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF USING,
1647db96d56Sopenharmony_ci      MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY DERIVATIVE THEREOF, EVEN IF
1657db96d56Sopenharmony_ci      ADVISED OF THE POSSIBILITY THEREOF.
1667db96d56Sopenharmony_ci
1677db96d56Sopenharmony_ci   5. This License Agreement will automatically terminate upon a material breach of
1687db96d56Sopenharmony_ci      its terms and conditions.
1697db96d56Sopenharmony_ci
1707db96d56Sopenharmony_ci   6. This License Agreement shall be governed by and interpreted in all respects
1717db96d56Sopenharmony_ci      by the law of the State of California, excluding conflict of law provisions.
1727db96d56Sopenharmony_ci      Nothing in this License Agreement shall be deemed to create any relationship of
1737db96d56Sopenharmony_ci      agency, partnership, or joint venture between BeOpen and Licensee.  This License
1747db96d56Sopenharmony_ci      Agreement does not grant permission to use BeOpen trademarks or trade names in a
1757db96d56Sopenharmony_ci      trademark sense to endorse or promote products or services of Licensee, or any
1767db96d56Sopenharmony_ci      third party.  As an exception, the "BeOpen Python" logos available at
1777db96d56Sopenharmony_ci      http://www.pythonlabs.com/logos.html may be used according to the permissions
1787db96d56Sopenharmony_ci      granted on that web page.
1797db96d56Sopenharmony_ci
1807db96d56Sopenharmony_ci   7. By copying, installing or otherwise using the software, Licensee agrees to be
1817db96d56Sopenharmony_ci      bound by the terms and conditions of this License Agreement.
1827db96d56Sopenharmony_ci
1837db96d56Sopenharmony_ci
1847db96d56Sopenharmony_ciCNRI LICENSE AGREEMENT FOR PYTHON 1.6.1
1857db96d56Sopenharmony_ci---------------------------------------
1867db96d56Sopenharmony_ci
1877db96d56Sopenharmony_ci.. parsed-literal::
1887db96d56Sopenharmony_ci
1897db96d56Sopenharmony_ci   1. This LICENSE AGREEMENT is between the Corporation for National Research
1907db96d56Sopenharmony_ci      Initiatives, having an office at 1895 Preston White Drive, Reston, VA 20191
1917db96d56Sopenharmony_ci      ("CNRI"), and the Individual or Organization ("Licensee") accessing and
1927db96d56Sopenharmony_ci      otherwise using Python 1.6.1 software in source or binary form and its
1937db96d56Sopenharmony_ci      associated documentation.
1947db96d56Sopenharmony_ci
1957db96d56Sopenharmony_ci   2. Subject to the terms and conditions of this License Agreement, CNRI hereby
1967db96d56Sopenharmony_ci      grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
1977db96d56Sopenharmony_ci      analyze, test, perform and/or display publicly, prepare derivative works,
1987db96d56Sopenharmony_ci      distribute, and otherwise use Python 1.6.1 alone or in any derivative version,
1997db96d56Sopenharmony_ci      provided, however, that CNRI's License Agreement and CNRI's notice of copyright,
2007db96d56Sopenharmony_ci      i.e., "Copyright © 1995-2001 Corporation for National Research Initiatives; All
2017db96d56Sopenharmony_ci      Rights Reserved" are retained in Python 1.6.1 alone or in any derivative version
2027db96d56Sopenharmony_ci      prepared by Licensee.  Alternately, in lieu of CNRI's License Agreement,
2037db96d56Sopenharmony_ci      Licensee may substitute the following text (omitting the quotes): "Python 1.6.1
2047db96d56Sopenharmony_ci      is made available subject to the terms and conditions in CNRI's License
2057db96d56Sopenharmony_ci      Agreement.  This Agreement together with Python 1.6.1 may be located on the
2067db96d56Sopenharmony_ci      internet using the following unique, persistent identifier (known as a handle):
2077db96d56Sopenharmony_ci      1895.22/1013.  This Agreement may also be obtained from a proxy server on the
2087db96d56Sopenharmony_ci      internet using the following URL: http://hdl.handle.net/1895.22/1013."
2097db96d56Sopenharmony_ci
2107db96d56Sopenharmony_ci   3. In the event Licensee prepares a derivative work that is based on or
2117db96d56Sopenharmony_ci      incorporates Python 1.6.1 or any part thereof, and wants to make the derivative
2127db96d56Sopenharmony_ci      work available to others as provided herein, then Licensee hereby agrees to
2137db96d56Sopenharmony_ci      include in any such work a brief summary of the changes made to Python 1.6.1.
2147db96d56Sopenharmony_ci
2157db96d56Sopenharmony_ci   4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS" basis.  CNRI
2167db96d56Sopenharmony_ci      MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED.  BY WAY OF EXAMPLE,
2177db96d56Sopenharmony_ci      BUT NOT LIMITATION, CNRI MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY
2187db96d56Sopenharmony_ci      OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF
2197db96d56Sopenharmony_ci      PYTHON 1.6.1 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
2207db96d56Sopenharmony_ci
2217db96d56Sopenharmony_ci   5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 1.6.1 FOR
2227db96d56Sopenharmony_ci      ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF
2237db96d56Sopenharmony_ci      MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1, OR ANY DERIVATIVE
2247db96d56Sopenharmony_ci      THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
2257db96d56Sopenharmony_ci
2267db96d56Sopenharmony_ci   6. This License Agreement will automatically terminate upon a material breach of
2277db96d56Sopenharmony_ci      its terms and conditions.
2287db96d56Sopenharmony_ci
2297db96d56Sopenharmony_ci   7. This License Agreement shall be governed by the federal intellectual property
2307db96d56Sopenharmony_ci      law of the United States, including without limitation the federal copyright
2317db96d56Sopenharmony_ci      law, and, to the extent such U.S. federal law does not apply, by the law of the
2327db96d56Sopenharmony_ci      Commonwealth of Virginia, excluding Virginia's conflict of law provisions.
2337db96d56Sopenharmony_ci      Notwithstanding the foregoing, with regard to derivative works based on Python
2347db96d56Sopenharmony_ci      1.6.1 that incorporate non-separable material that was previously distributed
2357db96d56Sopenharmony_ci      under the GNU General Public License (GPL), the law of the Commonwealth of
2367db96d56Sopenharmony_ci      Virginia shall govern this License Agreement only as to issues arising under or
2377db96d56Sopenharmony_ci      with respect to Paragraphs 4, 5, and 7 of this License Agreement.  Nothing in
2387db96d56Sopenharmony_ci      this License Agreement shall be deemed to create any relationship of agency,
2397db96d56Sopenharmony_ci      partnership, or joint venture between CNRI and Licensee.  This License Agreement
2407db96d56Sopenharmony_ci      does not grant permission to use CNRI trademarks or trade name in a trademark
2417db96d56Sopenharmony_ci      sense to endorse or promote products or services of Licensee, or any third
2427db96d56Sopenharmony_ci      party.
2437db96d56Sopenharmony_ci
2447db96d56Sopenharmony_ci   8. By clicking on the "ACCEPT" button where indicated, or by copying, installing
2457db96d56Sopenharmony_ci      or otherwise using Python 1.6.1, Licensee agrees to be bound by the terms and
2467db96d56Sopenharmony_ci      conditions of this License Agreement.
2477db96d56Sopenharmony_ci
2487db96d56Sopenharmony_ci
2497db96d56Sopenharmony_ciCWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2
2507db96d56Sopenharmony_ci--------------------------------------------------
2517db96d56Sopenharmony_ci
2527db96d56Sopenharmony_ci.. parsed-literal::
2537db96d56Sopenharmony_ci
2547db96d56Sopenharmony_ci   Copyright © 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, The
2557db96d56Sopenharmony_ci   Netherlands.  All rights reserved.
2567db96d56Sopenharmony_ci
2577db96d56Sopenharmony_ci   Permission to use, copy, modify, and distribute this software and its
2587db96d56Sopenharmony_ci   documentation for any purpose and without fee is hereby granted, provided that
2597db96d56Sopenharmony_ci   the above copyright notice appear in all copies and that both that copyright
2607db96d56Sopenharmony_ci   notice and this permission notice appear in supporting documentation, and that
2617db96d56Sopenharmony_ci   the name of Stichting Mathematisch Centrum or CWI not be used in advertising or
2627db96d56Sopenharmony_ci   publicity pertaining to distribution of the software without specific, written
2637db96d56Sopenharmony_ci   prior permission.
2647db96d56Sopenharmony_ci
2657db96d56Sopenharmony_ci   STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
2667db96d56Sopenharmony_ci   SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
2677db96d56Sopenharmony_ci   EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE FOR ANY SPECIAL, INDIRECT
2687db96d56Sopenharmony_ci   OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
2697db96d56Sopenharmony_ci   DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
2707db96d56Sopenharmony_ci   ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
2717db96d56Sopenharmony_ci   SOFTWARE.
2727db96d56Sopenharmony_ci
2737db96d56Sopenharmony_ci
2747db96d56Sopenharmony_ci.. _BSD0:
2757db96d56Sopenharmony_ci
2767db96d56Sopenharmony_ciZERO-CLAUSE BSD LICENSE FOR CODE IN THE PYTHON |release| DOCUMENTATION
2777db96d56Sopenharmony_ci----------------------------------------------------------------------
2787db96d56Sopenharmony_ci
2797db96d56Sopenharmony_ci.. parsed-literal::
2807db96d56Sopenharmony_ci
2817db96d56Sopenharmony_ci    Permission to use, copy, modify, and/or distribute this software for any
2827db96d56Sopenharmony_ci    purpose with or without fee is hereby granted.
2837db96d56Sopenharmony_ci
2847db96d56Sopenharmony_ci    THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
2857db96d56Sopenharmony_ci    REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
2867db96d56Sopenharmony_ci    AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
2877db96d56Sopenharmony_ci    INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
2887db96d56Sopenharmony_ci    LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
2897db96d56Sopenharmony_ci    OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2907db96d56Sopenharmony_ci    PERFORMANCE OF THIS SOFTWARE.
2917db96d56Sopenharmony_ci
2927db96d56Sopenharmony_ci
2937db96d56Sopenharmony_ci.. _OtherLicenses:
2947db96d56Sopenharmony_ci
2957db96d56Sopenharmony_ciLicenses and Acknowledgements for Incorporated Software
2967db96d56Sopenharmony_ci=======================================================
2977db96d56Sopenharmony_ci
2987db96d56Sopenharmony_ciThis section is an incomplete, but growing list of licenses and acknowledgements
2997db96d56Sopenharmony_cifor third-party software incorporated in the Python distribution.
3007db96d56Sopenharmony_ci
3017db96d56Sopenharmony_ci
3027db96d56Sopenharmony_ciMersenne Twister
3037db96d56Sopenharmony_ci----------------
3047db96d56Sopenharmony_ci
3057db96d56Sopenharmony_ciThe :mod:`_random` module includes code based on a download from
3067db96d56Sopenharmony_cihttp://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/emt19937ar.html. The following are
3077db96d56Sopenharmony_cithe verbatim comments from the original code::
3087db96d56Sopenharmony_ci
3097db96d56Sopenharmony_ci   A C-program for MT19937, with initialization improved 2002/1/26.
3107db96d56Sopenharmony_ci   Coded by Takuji Nishimura and Makoto Matsumoto.
3117db96d56Sopenharmony_ci
3127db96d56Sopenharmony_ci   Before using, initialize the state by using init_genrand(seed)
3137db96d56Sopenharmony_ci   or init_by_array(init_key, key_length).
3147db96d56Sopenharmony_ci
3157db96d56Sopenharmony_ci   Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
3167db96d56Sopenharmony_ci   All rights reserved.
3177db96d56Sopenharmony_ci
3187db96d56Sopenharmony_ci   Redistribution and use in source and binary forms, with or without
3197db96d56Sopenharmony_ci   modification, are permitted provided that the following conditions
3207db96d56Sopenharmony_ci   are met:
3217db96d56Sopenharmony_ci
3227db96d56Sopenharmony_ci    1. Redistributions of source code must retain the above copyright
3237db96d56Sopenharmony_ci       notice, this list of conditions and the following disclaimer.
3247db96d56Sopenharmony_ci
3257db96d56Sopenharmony_ci    2. Redistributions in binary form must reproduce the above copyright
3267db96d56Sopenharmony_ci       notice, this list of conditions and the following disclaimer in the
3277db96d56Sopenharmony_ci       documentation and/or other materials provided with the distribution.
3287db96d56Sopenharmony_ci
3297db96d56Sopenharmony_ci    3. The names of its contributors may not be used to endorse or promote
3307db96d56Sopenharmony_ci       products derived from this software without specific prior written
3317db96d56Sopenharmony_ci       permission.
3327db96d56Sopenharmony_ci
3337db96d56Sopenharmony_ci   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
3347db96d56Sopenharmony_ci   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
3357db96d56Sopenharmony_ci   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
3367db96d56Sopenharmony_ci   A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
3377db96d56Sopenharmony_ci   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
3387db96d56Sopenharmony_ci   EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
3397db96d56Sopenharmony_ci   PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
3407db96d56Sopenharmony_ci   PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
3417db96d56Sopenharmony_ci   LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
3427db96d56Sopenharmony_ci   NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
3437db96d56Sopenharmony_ci   SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3447db96d56Sopenharmony_ci
3457db96d56Sopenharmony_ci
3467db96d56Sopenharmony_ci   Any feedback is very welcome.
3477db96d56Sopenharmony_ci   http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html
3487db96d56Sopenharmony_ci   email: m-mat @ math.sci.hiroshima-u.ac.jp (remove space)
3497db96d56Sopenharmony_ci
3507db96d56Sopenharmony_ci
3517db96d56Sopenharmony_ciSockets
3527db96d56Sopenharmony_ci-------
3537db96d56Sopenharmony_ci
3547db96d56Sopenharmony_ciThe :mod:`socket` module uses the functions, :func:`getaddrinfo`, and
3557db96d56Sopenharmony_ci:func:`getnameinfo`, which are coded in separate source files from the WIDE
3567db96d56Sopenharmony_ciProject, https://www.wide.ad.jp/. ::
3577db96d56Sopenharmony_ci
3587db96d56Sopenharmony_ci   Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
3597db96d56Sopenharmony_ci   All rights reserved.
3607db96d56Sopenharmony_ci
3617db96d56Sopenharmony_ci   Redistribution and use in source and binary forms, with or without
3627db96d56Sopenharmony_ci   modification, are permitted provided that the following conditions
3637db96d56Sopenharmony_ci   are met:
3647db96d56Sopenharmony_ci   1. Redistributions of source code must retain the above copyright
3657db96d56Sopenharmony_ci      notice, this list of conditions and the following disclaimer.
3667db96d56Sopenharmony_ci   2. Redistributions in binary form must reproduce the above copyright
3677db96d56Sopenharmony_ci      notice, this list of conditions and the following disclaimer in the
3687db96d56Sopenharmony_ci      documentation and/or other materials provided with the distribution.
3697db96d56Sopenharmony_ci   3. Neither the name of the project nor the names of its contributors
3707db96d56Sopenharmony_ci      may be used to endorse or promote products derived from this software
3717db96d56Sopenharmony_ci      without specific prior written permission.
3727db96d56Sopenharmony_ci
3737db96d56Sopenharmony_ci   THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
3747db96d56Sopenharmony_ci   ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
3757db96d56Sopenharmony_ci   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
3767db96d56Sopenharmony_ci   ARE DISCLAIMED.  IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
3777db96d56Sopenharmony_ci   FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
3787db96d56Sopenharmony_ci   DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
3797db96d56Sopenharmony_ci   OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
3807db96d56Sopenharmony_ci   HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
3817db96d56Sopenharmony_ci   LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
3827db96d56Sopenharmony_ci   OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3837db96d56Sopenharmony_ci   SUCH DAMAGE.
3847db96d56Sopenharmony_ci
3857db96d56Sopenharmony_ci
3867db96d56Sopenharmony_ciAsynchronous socket services
3877db96d56Sopenharmony_ci----------------------------
3887db96d56Sopenharmony_ci
3897db96d56Sopenharmony_ciThe :mod:`asynchat` and :mod:`asyncore` modules contain the following notice::
3907db96d56Sopenharmony_ci
3917db96d56Sopenharmony_ci   Copyright 1996 by Sam Rushing
3927db96d56Sopenharmony_ci
3937db96d56Sopenharmony_ci                           All Rights Reserved
3947db96d56Sopenharmony_ci
3957db96d56Sopenharmony_ci   Permission to use, copy, modify, and distribute this software and
3967db96d56Sopenharmony_ci   its documentation for any purpose and without fee is hereby
3977db96d56Sopenharmony_ci   granted, provided that the above copyright notice appear in all
3987db96d56Sopenharmony_ci   copies and that both that copyright notice and this permission
3997db96d56Sopenharmony_ci   notice appear in supporting documentation, and that the name of Sam
4007db96d56Sopenharmony_ci   Rushing not be used in advertising or publicity pertaining to
4017db96d56Sopenharmony_ci   distribution of the software without specific, written prior
4027db96d56Sopenharmony_ci   permission.
4037db96d56Sopenharmony_ci
4047db96d56Sopenharmony_ci   SAM RUSHING DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
4057db96d56Sopenharmony_ci   INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
4067db96d56Sopenharmony_ci   NO EVENT SHALL SAM RUSHING BE LIABLE FOR ANY SPECIAL, INDIRECT OR
4077db96d56Sopenharmony_ci   CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
4087db96d56Sopenharmony_ci   OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
4097db96d56Sopenharmony_ci   NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
4107db96d56Sopenharmony_ci   CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
4117db96d56Sopenharmony_ci
4127db96d56Sopenharmony_ci
4137db96d56Sopenharmony_ciCookie management
4147db96d56Sopenharmony_ci-----------------
4157db96d56Sopenharmony_ci
4167db96d56Sopenharmony_ciThe :mod:`http.cookies` module contains the following notice::
4177db96d56Sopenharmony_ci
4187db96d56Sopenharmony_ci   Copyright 2000 by Timothy O'Malley <timo@alum.mit.edu>
4197db96d56Sopenharmony_ci
4207db96d56Sopenharmony_ci                  All Rights Reserved
4217db96d56Sopenharmony_ci
4227db96d56Sopenharmony_ci   Permission to use, copy, modify, and distribute this software
4237db96d56Sopenharmony_ci   and its documentation for any purpose and without fee is hereby
4247db96d56Sopenharmony_ci   granted, provided that the above copyright notice appear in all
4257db96d56Sopenharmony_ci   copies and that both that copyright notice and this permission
4267db96d56Sopenharmony_ci   notice appear in supporting documentation, and that the name of
4277db96d56Sopenharmony_ci   Timothy O'Malley  not be used in advertising or publicity
4287db96d56Sopenharmony_ci   pertaining to distribution of the software without specific, written
4297db96d56Sopenharmony_ci   prior permission.
4307db96d56Sopenharmony_ci
4317db96d56Sopenharmony_ci   Timothy O'Malley DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
4327db96d56Sopenharmony_ci   SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
4337db96d56Sopenharmony_ci   AND FITNESS, IN NO EVENT SHALL Timothy O'Malley BE LIABLE FOR
4347db96d56Sopenharmony_ci   ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
4357db96d56Sopenharmony_ci   WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
4367db96d56Sopenharmony_ci   WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
4377db96d56Sopenharmony_ci   ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
4387db96d56Sopenharmony_ci   PERFORMANCE OF THIS SOFTWARE.
4397db96d56Sopenharmony_ci
4407db96d56Sopenharmony_ci
4417db96d56Sopenharmony_ciExecution tracing
4427db96d56Sopenharmony_ci-----------------
4437db96d56Sopenharmony_ci
4447db96d56Sopenharmony_ciThe :mod:`trace` module contains the following notice::
4457db96d56Sopenharmony_ci
4467db96d56Sopenharmony_ci   portions copyright 2001, Autonomous Zones Industries, Inc., all rights...
4477db96d56Sopenharmony_ci   err...  reserved and offered to the public under the terms of the
4487db96d56Sopenharmony_ci   Python 2.2 license.
4497db96d56Sopenharmony_ci   Author: Zooko O'Whielacronx
4507db96d56Sopenharmony_ci   http://zooko.com/
4517db96d56Sopenharmony_ci   mailto:zooko@zooko.com
4527db96d56Sopenharmony_ci
4537db96d56Sopenharmony_ci   Copyright 2000, Mojam Media, Inc., all rights reserved.
4547db96d56Sopenharmony_ci   Author: Skip Montanaro
4557db96d56Sopenharmony_ci
4567db96d56Sopenharmony_ci   Copyright 1999, Bioreason, Inc., all rights reserved.
4577db96d56Sopenharmony_ci   Author: Andrew Dalke
4587db96d56Sopenharmony_ci
4597db96d56Sopenharmony_ci   Copyright 1995-1997, Automatrix, Inc., all rights reserved.
4607db96d56Sopenharmony_ci   Author: Skip Montanaro
4617db96d56Sopenharmony_ci
4627db96d56Sopenharmony_ci   Copyright 1991-1995, Stichting Mathematisch Centrum, all rights reserved.
4637db96d56Sopenharmony_ci
4647db96d56Sopenharmony_ci
4657db96d56Sopenharmony_ci   Permission to use, copy, modify, and distribute this Python software and
4667db96d56Sopenharmony_ci   its associated documentation for any purpose without fee is hereby
4677db96d56Sopenharmony_ci   granted, provided that the above copyright notice appears in all copies,
4687db96d56Sopenharmony_ci   and that both that copyright notice and this permission notice appear in
4697db96d56Sopenharmony_ci   supporting documentation, and that the name of neither Automatrix,
4707db96d56Sopenharmony_ci   Bioreason or Mojam Media be used in advertising or publicity pertaining to
4717db96d56Sopenharmony_ci   distribution of the software without specific, written prior permission.
4727db96d56Sopenharmony_ci
4737db96d56Sopenharmony_ci
4747db96d56Sopenharmony_ciUUencode and UUdecode functions
4757db96d56Sopenharmony_ci-------------------------------
4767db96d56Sopenharmony_ci
4777db96d56Sopenharmony_ciThe :mod:`uu` module contains the following notice::
4787db96d56Sopenharmony_ci
4797db96d56Sopenharmony_ci   Copyright 1994 by Lance Ellinghouse
4807db96d56Sopenharmony_ci   Cathedral City, California Republic, United States of America.
4817db96d56Sopenharmony_ci                          All Rights Reserved
4827db96d56Sopenharmony_ci   Permission to use, copy, modify, and distribute this software and its
4837db96d56Sopenharmony_ci   documentation for any purpose and without fee is hereby granted,
4847db96d56Sopenharmony_ci   provided that the above copyright notice appear in all copies and that
4857db96d56Sopenharmony_ci   both that copyright notice and this permission notice appear in
4867db96d56Sopenharmony_ci   supporting documentation, and that the name of Lance Ellinghouse
4877db96d56Sopenharmony_ci   not be used in advertising or publicity pertaining to distribution
4887db96d56Sopenharmony_ci   of the software without specific, written prior permission.
4897db96d56Sopenharmony_ci   LANCE ELLINGHOUSE DISCLAIMS ALL WARRANTIES WITH REGARD TO
4907db96d56Sopenharmony_ci   THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
4917db96d56Sopenharmony_ci   FITNESS, IN NO EVENT SHALL LANCE ELLINGHOUSE CENTRUM BE LIABLE
4927db96d56Sopenharmony_ci   FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
4937db96d56Sopenharmony_ci   WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
4947db96d56Sopenharmony_ci   ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
4957db96d56Sopenharmony_ci   OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
4967db96d56Sopenharmony_ci
4977db96d56Sopenharmony_ci   Modified by Jack Jansen, CWI, July 1995:
4987db96d56Sopenharmony_ci   - Use binascii module to do the actual line-by-line conversion
4997db96d56Sopenharmony_ci     between ascii and binary. This results in a 1000-fold speedup. The C
5007db96d56Sopenharmony_ci     version is still 5 times faster, though.
5017db96d56Sopenharmony_ci   - Arguments more compliant with Python standard
5027db96d56Sopenharmony_ci
5037db96d56Sopenharmony_ci
5047db96d56Sopenharmony_ciXML Remote Procedure Calls
5057db96d56Sopenharmony_ci--------------------------
5067db96d56Sopenharmony_ci
5077db96d56Sopenharmony_ciThe :mod:`xmlrpc.client` module contains the following notice::
5087db96d56Sopenharmony_ci
5097db96d56Sopenharmony_ci       The XML-RPC client interface is
5107db96d56Sopenharmony_ci
5117db96d56Sopenharmony_ci   Copyright (c) 1999-2002 by Secret Labs AB
5127db96d56Sopenharmony_ci   Copyright (c) 1999-2002 by Fredrik Lundh
5137db96d56Sopenharmony_ci
5147db96d56Sopenharmony_ci   By obtaining, using, and/or copying this software and/or its
5157db96d56Sopenharmony_ci   associated documentation, you agree that you have read, understood,
5167db96d56Sopenharmony_ci   and will comply with the following terms and conditions:
5177db96d56Sopenharmony_ci
5187db96d56Sopenharmony_ci   Permission to use, copy, modify, and distribute this software and
5197db96d56Sopenharmony_ci   its associated documentation for any purpose and without fee is
5207db96d56Sopenharmony_ci   hereby granted, provided that the above copyright notice appears in
5217db96d56Sopenharmony_ci   all copies, and that both that copyright notice and this permission
5227db96d56Sopenharmony_ci   notice appear in supporting documentation, and that the name of
5237db96d56Sopenharmony_ci   Secret Labs AB or the author not be used in advertising or publicity
5247db96d56Sopenharmony_ci   pertaining to distribution of the software without specific, written
5257db96d56Sopenharmony_ci   prior permission.
5267db96d56Sopenharmony_ci
5277db96d56Sopenharmony_ci   SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD
5287db96d56Sopenharmony_ci   TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANT-
5297db96d56Sopenharmony_ci   ABILITY AND FITNESS.  IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR
5307db96d56Sopenharmony_ci   BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
5317db96d56Sopenharmony_ci   DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
5327db96d56Sopenharmony_ci   WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
5337db96d56Sopenharmony_ci   ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
5347db96d56Sopenharmony_ci   OF THIS SOFTWARE.
5357db96d56Sopenharmony_ci
5367db96d56Sopenharmony_ci
5377db96d56Sopenharmony_citest_epoll
5387db96d56Sopenharmony_ci----------
5397db96d56Sopenharmony_ci
5407db96d56Sopenharmony_ciThe :mod:`test_epoll` module contains the following notice::
5417db96d56Sopenharmony_ci
5427db96d56Sopenharmony_ci  Copyright (c) 2001-2006 Twisted Matrix Laboratories.
5437db96d56Sopenharmony_ci
5447db96d56Sopenharmony_ci  Permission is hereby granted, free of charge, to any person obtaining
5457db96d56Sopenharmony_ci  a copy of this software and associated documentation files (the
5467db96d56Sopenharmony_ci  "Software"), to deal in the Software without restriction, including
5477db96d56Sopenharmony_ci  without limitation the rights to use, copy, modify, merge, publish,
5487db96d56Sopenharmony_ci  distribute, sublicense, and/or sell copies of the Software, and to
5497db96d56Sopenharmony_ci  permit persons to whom the Software is furnished to do so, subject to
5507db96d56Sopenharmony_ci  the following conditions:
5517db96d56Sopenharmony_ci
5527db96d56Sopenharmony_ci  The above copyright notice and this permission notice shall be
5537db96d56Sopenharmony_ci  included in all copies or substantial portions of the Software.
5547db96d56Sopenharmony_ci
5557db96d56Sopenharmony_ci  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
5567db96d56Sopenharmony_ci  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
5577db96d56Sopenharmony_ci  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
5587db96d56Sopenharmony_ci  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
5597db96d56Sopenharmony_ci  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
5607db96d56Sopenharmony_ci  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
5617db96d56Sopenharmony_ci  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
5627db96d56Sopenharmony_ci
5637db96d56Sopenharmony_ciSelect kqueue
5647db96d56Sopenharmony_ci-------------
5657db96d56Sopenharmony_ci
5667db96d56Sopenharmony_ciThe :mod:`select` module contains the following notice for the kqueue
5677db96d56Sopenharmony_ciinterface::
5687db96d56Sopenharmony_ci
5697db96d56Sopenharmony_ci  Copyright (c) 2000 Doug White, 2006 James Knight, 2007 Christian Heimes
5707db96d56Sopenharmony_ci  All rights reserved.
5717db96d56Sopenharmony_ci
5727db96d56Sopenharmony_ci  Redistribution and use in source and binary forms, with or without
5737db96d56Sopenharmony_ci  modification, are permitted provided that the following conditions
5747db96d56Sopenharmony_ci  are met:
5757db96d56Sopenharmony_ci  1. Redistributions of source code must retain the above copyright
5767db96d56Sopenharmony_ci     notice, this list of conditions and the following disclaimer.
5777db96d56Sopenharmony_ci  2. Redistributions in binary form must reproduce the above copyright
5787db96d56Sopenharmony_ci     notice, this list of conditions and the following disclaimer in the
5797db96d56Sopenharmony_ci     documentation and/or other materials provided with the distribution.
5807db96d56Sopenharmony_ci
5817db96d56Sopenharmony_ci  THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
5827db96d56Sopenharmony_ci  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
5837db96d56Sopenharmony_ci  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
5847db96d56Sopenharmony_ci  ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
5857db96d56Sopenharmony_ci  FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
5867db96d56Sopenharmony_ci  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
5877db96d56Sopenharmony_ci  OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
5887db96d56Sopenharmony_ci  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
5897db96d56Sopenharmony_ci  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
5907db96d56Sopenharmony_ci  OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
5917db96d56Sopenharmony_ci  SUCH DAMAGE.
5927db96d56Sopenharmony_ci
5937db96d56Sopenharmony_ci
5947db96d56Sopenharmony_ciSipHash24
5957db96d56Sopenharmony_ci---------
5967db96d56Sopenharmony_ci
5977db96d56Sopenharmony_ciThe file :file:`Python/pyhash.c` contains Marek Majkowski' implementation of
5987db96d56Sopenharmony_ciDan Bernstein's SipHash24 algorithm. It contains the following note::
5997db96d56Sopenharmony_ci
6007db96d56Sopenharmony_ci  <MIT License>
6017db96d56Sopenharmony_ci  Copyright (c) 2013  Marek Majkowski <marek@popcount.org>
6027db96d56Sopenharmony_ci
6037db96d56Sopenharmony_ci  Permission is hereby granted, free of charge, to any person obtaining a copy
6047db96d56Sopenharmony_ci  of this software and associated documentation files (the "Software"), to deal
6057db96d56Sopenharmony_ci  in the Software without restriction, including without limitation the rights
6067db96d56Sopenharmony_ci  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
6077db96d56Sopenharmony_ci  copies of the Software, and to permit persons to whom the Software is
6087db96d56Sopenharmony_ci  furnished to do so, subject to the following conditions:
6097db96d56Sopenharmony_ci
6107db96d56Sopenharmony_ci  The above copyright notice and this permission notice shall be included in
6117db96d56Sopenharmony_ci  all copies or substantial portions of the Software.
6127db96d56Sopenharmony_ci  </MIT License>
6137db96d56Sopenharmony_ci
6147db96d56Sopenharmony_ci  Original location:
6157db96d56Sopenharmony_ci     https://github.com/majek/csiphash/
6167db96d56Sopenharmony_ci
6177db96d56Sopenharmony_ci  Solution inspired by code from:
6187db96d56Sopenharmony_ci     Samuel Neves (supercop/crypto_auth/siphash24/little)
6197db96d56Sopenharmony_ci     djb (supercop/crypto_auth/siphash24/little2)
6207db96d56Sopenharmony_ci     Jean-Philippe Aumasson (https://131002.net/siphash/siphash24.c)
6217db96d56Sopenharmony_ci
6227db96d56Sopenharmony_ci
6237db96d56Sopenharmony_cistrtod and dtoa
6247db96d56Sopenharmony_ci---------------
6257db96d56Sopenharmony_ci
6267db96d56Sopenharmony_ciThe file :file:`Python/dtoa.c`, which supplies C functions dtoa and
6277db96d56Sopenharmony_cistrtod for conversion of C doubles to and from strings, is derived
6287db96d56Sopenharmony_cifrom the file of the same name by David M. Gay, currently available
6297db96d56Sopenharmony_cifrom https://web.archive.org/web/20220517033456/http://www.netlib.org/fp/dtoa.c.
6307db96d56Sopenharmony_ciThe original file, as retrieved on March 16, 2009, contains the following
6317db96d56Sopenharmony_cicopyright and licensing notice::
6327db96d56Sopenharmony_ci
6337db96d56Sopenharmony_ci   /****************************************************************
6347db96d56Sopenharmony_ci    *
6357db96d56Sopenharmony_ci    * The author of this software is David M. Gay.
6367db96d56Sopenharmony_ci    *
6377db96d56Sopenharmony_ci    * Copyright (c) 1991, 2000, 2001 by Lucent Technologies.
6387db96d56Sopenharmony_ci    *
6397db96d56Sopenharmony_ci    * Permission to use, copy, modify, and distribute this software for any
6407db96d56Sopenharmony_ci    * purpose without fee is hereby granted, provided that this entire notice
6417db96d56Sopenharmony_ci    * is included in all copies of any software which is or includes a copy
6427db96d56Sopenharmony_ci    * or modification of this software and in all copies of the supporting
6437db96d56Sopenharmony_ci    * documentation for such software.
6447db96d56Sopenharmony_ci    *
6457db96d56Sopenharmony_ci    * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
6467db96d56Sopenharmony_ci    * WARRANTY.  IN PARTICULAR, NEITHER THE AUTHOR NOR LUCENT MAKES ANY
6477db96d56Sopenharmony_ci    * REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
6487db96d56Sopenharmony_ci    * OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
6497db96d56Sopenharmony_ci    *
6507db96d56Sopenharmony_ci    ***************************************************************/
6517db96d56Sopenharmony_ci
6527db96d56Sopenharmony_ci
6537db96d56Sopenharmony_ciOpenSSL
6547db96d56Sopenharmony_ci-------
6557db96d56Sopenharmony_ci
6567db96d56Sopenharmony_ciThe modules :mod:`hashlib`, :mod:`posix`, :mod:`ssl`, :mod:`crypt` use
6577db96d56Sopenharmony_cithe OpenSSL library for added performance if made available by the
6587db96d56Sopenharmony_cioperating system. Additionally, the Windows and macOS installers for
6597db96d56Sopenharmony_ciPython may include a copy of the OpenSSL libraries, so we include a copy
6607db96d56Sopenharmony_ciof the OpenSSL license here::
6617db96d56Sopenharmony_ci
6627db96d56Sopenharmony_ci
6637db96d56Sopenharmony_ci  LICENSE ISSUES
6647db96d56Sopenharmony_ci  ==============
6657db96d56Sopenharmony_ci
6667db96d56Sopenharmony_ci  The OpenSSL toolkit stays under a dual license, i.e. both the conditions of
6677db96d56Sopenharmony_ci  the OpenSSL License and the original SSLeay license apply to the toolkit.
6687db96d56Sopenharmony_ci  See below for the actual license texts. Actually both licenses are BSD-style
6697db96d56Sopenharmony_ci  Open Source licenses. In case of any license issues related to OpenSSL
6707db96d56Sopenharmony_ci  please contact openssl-core@openssl.org.
6717db96d56Sopenharmony_ci
6727db96d56Sopenharmony_ci  OpenSSL License
6737db96d56Sopenharmony_ci  ---------------
6747db96d56Sopenharmony_ci
6757db96d56Sopenharmony_ci    /* ====================================================================
6767db96d56Sopenharmony_ci     * Copyright (c) 1998-2008 The OpenSSL Project.  All rights reserved.
6777db96d56Sopenharmony_ci     *
6787db96d56Sopenharmony_ci     * Redistribution and use in source and binary forms, with or without
6797db96d56Sopenharmony_ci     * modification, are permitted provided that the following conditions
6807db96d56Sopenharmony_ci     * are met:
6817db96d56Sopenharmony_ci     *
6827db96d56Sopenharmony_ci     * 1. Redistributions of source code must retain the above copyright
6837db96d56Sopenharmony_ci     *    notice, this list of conditions and the following disclaimer.
6847db96d56Sopenharmony_ci     *
6857db96d56Sopenharmony_ci     * 2. Redistributions in binary form must reproduce the above copyright
6867db96d56Sopenharmony_ci     *    notice, this list of conditions and the following disclaimer in
6877db96d56Sopenharmony_ci     *    the documentation and/or other materials provided with the
6887db96d56Sopenharmony_ci     *    distribution.
6897db96d56Sopenharmony_ci     *
6907db96d56Sopenharmony_ci     * 3. All advertising materials mentioning features or use of this
6917db96d56Sopenharmony_ci     *    software must display the following acknowledgment:
6927db96d56Sopenharmony_ci     *    "This product includes software developed by the OpenSSL Project
6937db96d56Sopenharmony_ci     *    for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
6947db96d56Sopenharmony_ci     *
6957db96d56Sopenharmony_ci     * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
6967db96d56Sopenharmony_ci     *    endorse or promote products derived from this software without
6977db96d56Sopenharmony_ci     *    prior written permission. For written permission, please contact
6987db96d56Sopenharmony_ci     *    openssl-core@openssl.org.
6997db96d56Sopenharmony_ci     *
7007db96d56Sopenharmony_ci     * 5. Products derived from this software may not be called "OpenSSL"
7017db96d56Sopenharmony_ci     *    nor may "OpenSSL" appear in their names without prior written
7027db96d56Sopenharmony_ci     *    permission of the OpenSSL Project.
7037db96d56Sopenharmony_ci     *
7047db96d56Sopenharmony_ci     * 6. Redistributions of any form whatsoever must retain the following
7057db96d56Sopenharmony_ci     *    acknowledgment:
7067db96d56Sopenharmony_ci     *    "This product includes software developed by the OpenSSL Project
7077db96d56Sopenharmony_ci     *    for use in the OpenSSL Toolkit (http://www.openssl.org/)"
7087db96d56Sopenharmony_ci     *
7097db96d56Sopenharmony_ci     * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
7107db96d56Sopenharmony_ci     * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
7117db96d56Sopenharmony_ci     * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
7127db96d56Sopenharmony_ci     * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE OpenSSL PROJECT OR
7137db96d56Sopenharmony_ci     * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7147db96d56Sopenharmony_ci     * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
7157db96d56Sopenharmony_ci     * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
7167db96d56Sopenharmony_ci     * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
7177db96d56Sopenharmony_ci     * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
7187db96d56Sopenharmony_ci     * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
7197db96d56Sopenharmony_ci     * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
7207db96d56Sopenharmony_ci     * OF THE POSSIBILITY OF SUCH DAMAGE.
7217db96d56Sopenharmony_ci     * ====================================================================
7227db96d56Sopenharmony_ci     *
7237db96d56Sopenharmony_ci     * This product includes cryptographic software written by Eric Young
7247db96d56Sopenharmony_ci     * (eay@cryptsoft.com).  This product includes software written by Tim
7257db96d56Sopenharmony_ci     * Hudson (tjh@cryptsoft.com).
7267db96d56Sopenharmony_ci     *
7277db96d56Sopenharmony_ci     */
7287db96d56Sopenharmony_ci
7297db96d56Sopenharmony_ci Original SSLeay License
7307db96d56Sopenharmony_ci -----------------------
7317db96d56Sopenharmony_ci
7327db96d56Sopenharmony_ci    /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
7337db96d56Sopenharmony_ci     * All rights reserved.
7347db96d56Sopenharmony_ci     *
7357db96d56Sopenharmony_ci     * This package is an SSL implementation written
7367db96d56Sopenharmony_ci     * by Eric Young (eay@cryptsoft.com).
7377db96d56Sopenharmony_ci     * The implementation was written so as to conform with Netscapes SSL.
7387db96d56Sopenharmony_ci     *
7397db96d56Sopenharmony_ci     * This library is free for commercial and non-commercial use as long as
7407db96d56Sopenharmony_ci     * the following conditions are aheared to.  The following conditions
7417db96d56Sopenharmony_ci     * apply to all code found in this distribution, be it the RC4, RSA,
7427db96d56Sopenharmony_ci     * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
7437db96d56Sopenharmony_ci     * included with this distribution is covered by the same copyright terms
7447db96d56Sopenharmony_ci     * except that the holder is Tim Hudson (tjh@cryptsoft.com).
7457db96d56Sopenharmony_ci     *
7467db96d56Sopenharmony_ci     * Copyright remains Eric Young's, and as such any Copyright notices in
7477db96d56Sopenharmony_ci     * the code are not to be removed.
7487db96d56Sopenharmony_ci     * If this package is used in a product, Eric Young should be given attribution
7497db96d56Sopenharmony_ci     * as the author of the parts of the library used.
7507db96d56Sopenharmony_ci     * This can be in the form of a textual message at program startup or
7517db96d56Sopenharmony_ci     * in documentation (online or textual) provided with the package.
7527db96d56Sopenharmony_ci     *
7537db96d56Sopenharmony_ci     * Redistribution and use in source and binary forms, with or without
7547db96d56Sopenharmony_ci     * modification, are permitted provided that the following conditions
7557db96d56Sopenharmony_ci     * are met:
7567db96d56Sopenharmony_ci     * 1. Redistributions of source code must retain the copyright
7577db96d56Sopenharmony_ci     *    notice, this list of conditions and the following disclaimer.
7587db96d56Sopenharmony_ci     * 2. Redistributions in binary form must reproduce the above copyright
7597db96d56Sopenharmony_ci     *    notice, this list of conditions and the following disclaimer in the
7607db96d56Sopenharmony_ci     *    documentation and/or other materials provided with the distribution.
7617db96d56Sopenharmony_ci     * 3. All advertising materials mentioning features or use of this software
7627db96d56Sopenharmony_ci     *    must display the following acknowledgement:
7637db96d56Sopenharmony_ci     *    "This product includes cryptographic software written by
7647db96d56Sopenharmony_ci     *     Eric Young (eay@cryptsoft.com)"
7657db96d56Sopenharmony_ci     *    The word 'cryptographic' can be left out if the rouines from the library
7667db96d56Sopenharmony_ci     *    being used are not cryptographic related :-).
7677db96d56Sopenharmony_ci     * 4. If you include any Windows specific code (or a derivative thereof) from
7687db96d56Sopenharmony_ci     *    the apps directory (application code) you must include an acknowledgement:
7697db96d56Sopenharmony_ci     *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
7707db96d56Sopenharmony_ci     *
7717db96d56Sopenharmony_ci     * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
7727db96d56Sopenharmony_ci     * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
7737db96d56Sopenharmony_ci     * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
7747db96d56Sopenharmony_ci     * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
7757db96d56Sopenharmony_ci     * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
7767db96d56Sopenharmony_ci     * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
7777db96d56Sopenharmony_ci     * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
7787db96d56Sopenharmony_ci     * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
7797db96d56Sopenharmony_ci     * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
7807db96d56Sopenharmony_ci     * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
7817db96d56Sopenharmony_ci     * SUCH DAMAGE.
7827db96d56Sopenharmony_ci     *
7837db96d56Sopenharmony_ci     * The licence and distribution terms for any publically available version or
7847db96d56Sopenharmony_ci     * derivative of this code cannot be changed.  i.e. this code cannot simply be
7857db96d56Sopenharmony_ci     * copied and put under another distribution licence
7867db96d56Sopenharmony_ci     * [including the GNU Public Licence.]
7877db96d56Sopenharmony_ci     */
7887db96d56Sopenharmony_ci
7897db96d56Sopenharmony_ci
7907db96d56Sopenharmony_ciexpat
7917db96d56Sopenharmony_ci-----
7927db96d56Sopenharmony_ci
7937db96d56Sopenharmony_ciThe :mod:`pyexpat` extension is built using an included copy of the expat
7947db96d56Sopenharmony_cisources unless the build is configured ``--with-system-expat``::
7957db96d56Sopenharmony_ci
7967db96d56Sopenharmony_ci  Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
7977db96d56Sopenharmony_ci                                 and Clark Cooper
7987db96d56Sopenharmony_ci
7997db96d56Sopenharmony_ci  Permission is hereby granted, free of charge, to any person obtaining
8007db96d56Sopenharmony_ci  a copy of this software and associated documentation files (the
8017db96d56Sopenharmony_ci  "Software"), to deal in the Software without restriction, including
8027db96d56Sopenharmony_ci  without limitation the rights to use, copy, modify, merge, publish,
8037db96d56Sopenharmony_ci  distribute, sublicense, and/or sell copies of the Software, and to
8047db96d56Sopenharmony_ci  permit persons to whom the Software is furnished to do so, subject to
8057db96d56Sopenharmony_ci  the following conditions:
8067db96d56Sopenharmony_ci
8077db96d56Sopenharmony_ci  The above copyright notice and this permission notice shall be included
8087db96d56Sopenharmony_ci  in all copies or substantial portions of the Software.
8097db96d56Sopenharmony_ci
8107db96d56Sopenharmony_ci  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
8117db96d56Sopenharmony_ci  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
8127db96d56Sopenharmony_ci  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
8137db96d56Sopenharmony_ci  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
8147db96d56Sopenharmony_ci  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
8157db96d56Sopenharmony_ci  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
8167db96d56Sopenharmony_ci  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8177db96d56Sopenharmony_ci
8187db96d56Sopenharmony_ci
8197db96d56Sopenharmony_cilibffi
8207db96d56Sopenharmony_ci------
8217db96d56Sopenharmony_ci
8227db96d56Sopenharmony_ciThe :mod:`_ctypes` extension is built using an included copy of the libffi
8237db96d56Sopenharmony_cisources unless the build is configured ``--with-system-libffi``::
8247db96d56Sopenharmony_ci
8257db96d56Sopenharmony_ci   Copyright (c) 1996-2008  Red Hat, Inc and others.
8267db96d56Sopenharmony_ci
8277db96d56Sopenharmony_ci   Permission is hereby granted, free of charge, to any person obtaining
8287db96d56Sopenharmony_ci   a copy of this software and associated documentation files (the
8297db96d56Sopenharmony_ci   ``Software''), to deal in the Software without restriction, including
8307db96d56Sopenharmony_ci   without limitation the rights to use, copy, modify, merge, publish,
8317db96d56Sopenharmony_ci   distribute, sublicense, and/or sell copies of the Software, and to
8327db96d56Sopenharmony_ci   permit persons to whom the Software is furnished to do so, subject to
8337db96d56Sopenharmony_ci   the following conditions:
8347db96d56Sopenharmony_ci
8357db96d56Sopenharmony_ci   The above copyright notice and this permission notice shall be included
8367db96d56Sopenharmony_ci   in all copies or substantial portions of the Software.
8377db96d56Sopenharmony_ci
8387db96d56Sopenharmony_ci   THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,
8397db96d56Sopenharmony_ci   EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
8407db96d56Sopenharmony_ci   MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
8417db96d56Sopenharmony_ci   NONINFRINGEMENT.  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
8427db96d56Sopenharmony_ci   HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
8437db96d56Sopenharmony_ci   WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
8447db96d56Sopenharmony_ci   OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
8457db96d56Sopenharmony_ci   DEALINGS IN THE SOFTWARE.
8467db96d56Sopenharmony_ci
8477db96d56Sopenharmony_ci
8487db96d56Sopenharmony_cizlib
8497db96d56Sopenharmony_ci----
8507db96d56Sopenharmony_ci
8517db96d56Sopenharmony_ciThe :mod:`zlib` extension is built using an included copy of the zlib
8527db96d56Sopenharmony_cisources if the zlib version found on the system is too old to be
8537db96d56Sopenharmony_ciused for the build::
8547db96d56Sopenharmony_ci
8557db96d56Sopenharmony_ci  Copyright (C) 1995-2011 Jean-loup Gailly and Mark Adler
8567db96d56Sopenharmony_ci
8577db96d56Sopenharmony_ci  This software is provided 'as-is', without any express or implied
8587db96d56Sopenharmony_ci  warranty.  In no event will the authors be held liable for any damages
8597db96d56Sopenharmony_ci  arising from the use of this software.
8607db96d56Sopenharmony_ci
8617db96d56Sopenharmony_ci  Permission is granted to anyone to use this software for any purpose,
8627db96d56Sopenharmony_ci  including commercial applications, and to alter it and redistribute it
8637db96d56Sopenharmony_ci  freely, subject to the following restrictions:
8647db96d56Sopenharmony_ci
8657db96d56Sopenharmony_ci  1. The origin of this software must not be misrepresented; you must not
8667db96d56Sopenharmony_ci     claim that you wrote the original software. If you use this software
8677db96d56Sopenharmony_ci     in a product, an acknowledgment in the product documentation would be
8687db96d56Sopenharmony_ci     appreciated but is not required.
8697db96d56Sopenharmony_ci
8707db96d56Sopenharmony_ci  2. Altered source versions must be plainly marked as such, and must not be
8717db96d56Sopenharmony_ci     misrepresented as being the original software.
8727db96d56Sopenharmony_ci
8737db96d56Sopenharmony_ci  3. This notice may not be removed or altered from any source distribution.
8747db96d56Sopenharmony_ci
8757db96d56Sopenharmony_ci  Jean-loup Gailly        Mark Adler
8767db96d56Sopenharmony_ci  jloup@gzip.org          madler@alumni.caltech.edu
8777db96d56Sopenharmony_ci
8787db96d56Sopenharmony_ci
8797db96d56Sopenharmony_cicfuhash
8807db96d56Sopenharmony_ci-------
8817db96d56Sopenharmony_ci
8827db96d56Sopenharmony_ciThe implementation of the hash table used by the :mod:`tracemalloc` is based
8837db96d56Sopenharmony_cion the cfuhash project::
8847db96d56Sopenharmony_ci
8857db96d56Sopenharmony_ci   Copyright (c) 2005 Don Owens
8867db96d56Sopenharmony_ci   All rights reserved.
8877db96d56Sopenharmony_ci
8887db96d56Sopenharmony_ci   This code is released under the BSD license:
8897db96d56Sopenharmony_ci
8907db96d56Sopenharmony_ci   Redistribution and use in source and binary forms, with or without
8917db96d56Sopenharmony_ci   modification, are permitted provided that the following conditions
8927db96d56Sopenharmony_ci   are met:
8937db96d56Sopenharmony_ci
8947db96d56Sopenharmony_ci     * Redistributions of source code must retain the above copyright
8957db96d56Sopenharmony_ci       notice, this list of conditions and the following disclaimer.
8967db96d56Sopenharmony_ci
8977db96d56Sopenharmony_ci     * Redistributions in binary form must reproduce the above
8987db96d56Sopenharmony_ci       copyright notice, this list of conditions and the following
8997db96d56Sopenharmony_ci       disclaimer in the documentation and/or other materials provided
9007db96d56Sopenharmony_ci       with the distribution.
9017db96d56Sopenharmony_ci
9027db96d56Sopenharmony_ci     * Neither the name of the author nor the names of its
9037db96d56Sopenharmony_ci       contributors may be used to endorse or promote products derived
9047db96d56Sopenharmony_ci       from this software without specific prior written permission.
9057db96d56Sopenharmony_ci
9067db96d56Sopenharmony_ci   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
9077db96d56Sopenharmony_ci   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
9087db96d56Sopenharmony_ci   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
9097db96d56Sopenharmony_ci   FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
9107db96d56Sopenharmony_ci   COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
9117db96d56Sopenharmony_ci   INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
9127db96d56Sopenharmony_ci   (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
9137db96d56Sopenharmony_ci   SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
9147db96d56Sopenharmony_ci   HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
9157db96d56Sopenharmony_ci   STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
9167db96d56Sopenharmony_ci   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
9177db96d56Sopenharmony_ci   OF THE POSSIBILITY OF SUCH DAMAGE.
9187db96d56Sopenharmony_ci
9197db96d56Sopenharmony_ci
9207db96d56Sopenharmony_cilibmpdec
9217db96d56Sopenharmony_ci--------
9227db96d56Sopenharmony_ci
9237db96d56Sopenharmony_ciThe :mod:`_decimal` module is built using an included copy of the libmpdec
9247db96d56Sopenharmony_cilibrary unless the build is configured ``--with-system-libmpdec``::
9257db96d56Sopenharmony_ci
9267db96d56Sopenharmony_ci   Copyright (c) 2008-2020 Stefan Krah. All rights reserved.
9277db96d56Sopenharmony_ci
9287db96d56Sopenharmony_ci   Redistribution and use in source and binary forms, with or without
9297db96d56Sopenharmony_ci   modification, are permitted provided that the following conditions
9307db96d56Sopenharmony_ci   are met:
9317db96d56Sopenharmony_ci
9327db96d56Sopenharmony_ci   1. Redistributions of source code must retain the above copyright
9337db96d56Sopenharmony_ci      notice, this list of conditions and the following disclaimer.
9347db96d56Sopenharmony_ci
9357db96d56Sopenharmony_ci   2. Redistributions in binary form must reproduce the above copyright
9367db96d56Sopenharmony_ci      notice, this list of conditions and the following disclaimer in the
9377db96d56Sopenharmony_ci      documentation and/or other materials provided with the distribution.
9387db96d56Sopenharmony_ci
9397db96d56Sopenharmony_ci   THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND
9407db96d56Sopenharmony_ci   ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
9417db96d56Sopenharmony_ci   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
9427db96d56Sopenharmony_ci   ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
9437db96d56Sopenharmony_ci   FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
9447db96d56Sopenharmony_ci   DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
9457db96d56Sopenharmony_ci   OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
9467db96d56Sopenharmony_ci   HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
9477db96d56Sopenharmony_ci   LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
9487db96d56Sopenharmony_ci   OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
9497db96d56Sopenharmony_ci   SUCH DAMAGE.
9507db96d56Sopenharmony_ci
9517db96d56Sopenharmony_ci
9527db96d56Sopenharmony_ciW3C C14N test suite
9537db96d56Sopenharmony_ci-------------------
9547db96d56Sopenharmony_ci
9557db96d56Sopenharmony_ciThe C14N 2.0 test suite in the :mod:`test` package
9567db96d56Sopenharmony_ci(``Lib/test/xmltestdata/c14n-20/``) was retrieved from the W3C website at
9577db96d56Sopenharmony_cihttps://www.w3.org/TR/xml-c14n2-testcases/ and is distributed under the
9587db96d56Sopenharmony_ci3-clause BSD license::
9597db96d56Sopenharmony_ci
9607db96d56Sopenharmony_ci   Copyright (c) 2013 W3C(R) (MIT, ERCIM, Keio, Beihang),
9617db96d56Sopenharmony_ci   All Rights Reserved.
9627db96d56Sopenharmony_ci
9637db96d56Sopenharmony_ci   Redistribution and use in source and binary forms, with or without
9647db96d56Sopenharmony_ci   modification, are permitted provided that the following conditions
9657db96d56Sopenharmony_ci   are met:
9667db96d56Sopenharmony_ci
9677db96d56Sopenharmony_ci   * Redistributions of works must retain the original copyright notice,
9687db96d56Sopenharmony_ci     this list of conditions and the following disclaimer.
9697db96d56Sopenharmony_ci   * Redistributions in binary form must reproduce the original copyright
9707db96d56Sopenharmony_ci     notice, this list of conditions and the following disclaimer in the
9717db96d56Sopenharmony_ci     documentation and/or other materials provided with the distribution.
9727db96d56Sopenharmony_ci   * Neither the name of the W3C nor the names of its contributors may be
9737db96d56Sopenharmony_ci     used to endorse or promote products derived from this work without
9747db96d56Sopenharmony_ci     specific prior written permission.
9757db96d56Sopenharmony_ci
9767db96d56Sopenharmony_ci   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
9777db96d56Sopenharmony_ci   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
9787db96d56Sopenharmony_ci   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
9797db96d56Sopenharmony_ci   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
9807db96d56Sopenharmony_ci   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
9817db96d56Sopenharmony_ci   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
9827db96d56Sopenharmony_ci   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
9837db96d56Sopenharmony_ci   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
9847db96d56Sopenharmony_ci   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
9857db96d56Sopenharmony_ci   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
9867db96d56Sopenharmony_ci   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
9877db96d56Sopenharmony_ci
9887db96d56Sopenharmony_ci
9897db96d56Sopenharmony_ciAudioop
9907db96d56Sopenharmony_ci-------
9917db96d56Sopenharmony_ci
9927db96d56Sopenharmony_ciThe audioop module uses the code base in g771.c file of the SoX project::
9937db96d56Sopenharmony_ci
9947db96d56Sopenharmony_ci    Programming the AdLib/Sound Blaster
9957db96d56Sopenharmony_ci    FM Music Chips
9967db96d56Sopenharmony_ci    Version 2.0 (24 Feb 1992)
9977db96d56Sopenharmony_ci    Copyright (c) 1991, 1992 by Jeffrey S. Lee
9987db96d56Sopenharmony_ci    jlee@smylex.uucp
9997db96d56Sopenharmony_ci    Warranty and Copyright Policy
10007db96d56Sopenharmony_ci    This document is provided on an "as-is" basis, and its author makes
10017db96d56Sopenharmony_ci    no warranty or representation, express or implied, with respect to
10027db96d56Sopenharmony_ci    its quality performance or fitness for a particular purpose.  In no
10037db96d56Sopenharmony_ci    event will the author of this document be liable for direct, indirect,
10047db96d56Sopenharmony_ci    special, incidental, or consequential damages arising out of the use
10057db96d56Sopenharmony_ci    or inability to use the information contained within.  Use of this
10067db96d56Sopenharmony_ci    document is at your own risk.
10077db96d56Sopenharmony_ci    This file may be used and copied freely so long as the applicable
10087db96d56Sopenharmony_ci    copyright notices are retained, and no modifications are made to the
10097db96d56Sopenharmony_ci    text of the document.  No money shall be charged for its distribution
10107db96d56Sopenharmony_ci    beyond reasonable shipping, handling and duplication costs, nor shall
10117db96d56Sopenharmony_ci    proprietary changes be made to this document so that it cannot be
10127db96d56Sopenharmony_ci    distributed freely.  This document may not be included in published
10137db96d56Sopenharmony_ci    material or commercial packages without the written consent of its
10147db96d56Sopenharmony_ci    author.
1015