gooderp18绿色标准版
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

1462 行
80KB

  1. <!DOCTYPE html>
  2. <html lang="en" data-content_root="./">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
  6. <meta property="og:title" content="History and License" />
  7. <meta property="og:type" content="website" />
  8. <meta property="og:url" content="https://docs.python.org/3/license.html" />
  9. <meta property="og:site_name" content="Python documentation" />
  10. <meta property="og:description" content="History of the software: Python was created in the early 1990s by Guido van Rossum at Stichting Mathematisch Centrum (CWI, see https://www.cwi.nl/) in the Netherlands as a successor of a language c..." />
  11. <meta property="og:image" content="https://docs.python.org/3/_static/og-image.png" />
  12. <meta property="og:image:alt" content="Python documentation" />
  13. <meta name="description" content="History of the software: Python was created in the early 1990s by Guido van Rossum at Stichting Mathematisch Centrum (CWI, see https://www.cwi.nl/) in the Netherlands as a successor of a language c..." />
  14. <meta property="og:image:width" content="200" />
  15. <meta property="og:image:height" content="200" />
  16. <meta name="theme-color" content="#3776ab" />
  17. <title>History and License &#8212; Python 3.12.3 documentation</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
  18. <link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
  19. <link rel="stylesheet" type="text/css" href="_static/pydoctheme.css?v=bb723527" />
  20. <link id="pygments_dark_css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css" href="_static/pygments_dark.css?v=b20cc3f5" />
  21. <script src="_static/documentation_options.js?v=2c828074"></script>
  22. <script src="_static/doctools.js?v=888ff710"></script>
  23. <script src="_static/sphinx_highlight.js?v=dc90522c"></script>
  24. <script src="_static/sidebar.js"></script>
  25. <link rel="search" type="application/opensearchdescription+xml"
  26. title="Search within Python 3.12.3 documentation"
  27. href="_static/opensearch.xml"/>
  28. <link rel="author" title="About these documents" href="about.html" />
  29. <link rel="index" title="Index" href="genindex.html" />
  30. <link rel="search" title="Search" href="search.html" />
  31. <link rel="copyright" title="Copyright" href="copyright.html" />
  32. <link rel="prev" title="Copyright" href="copyright.html" />
  33. <link rel="canonical" href="https://docs.python.org/3/license.html" />
  34. <style>
  35. @media only screen {
  36. table.full-width-table {
  37. width: 100%;
  38. }
  39. }
  40. </style>
  41. <link rel="stylesheet" href="_static/pydoctheme_dark.css" media="(prefers-color-scheme: dark)" id="pydoctheme_dark_css">
  42. <link rel="shortcut icon" type="image/png" href="_static/py.svg" />
  43. <script type="text/javascript" src="_static/copybutton.js"></script>
  44. <script type="text/javascript" src="_static/menu.js"></script>
  45. <script type="text/javascript" src="_static/search-focus.js"></script>
  46. <script type="text/javascript" src="_static/themetoggle.js"></script>
  47. </head>
  48. <body>
  49. <div class="mobile-nav">
  50. <input type="checkbox" id="menuToggler" class="toggler__input" aria-controls="navigation"
  51. aria-pressed="false" aria-expanded="false" role="button" aria-label="Menu" />
  52. <nav class="nav-content" role="navigation">
  53. <label for="menuToggler" class="toggler__label">
  54. <span></span>
  55. </label>
  56. <span class="nav-items-wrapper">
  57. <a href="https://www.python.org/" class="nav-logo">
  58. <img src="_static/py.svg" alt="Python logo"/>
  59. </a>
  60. <span class="version_switcher_placeholder"></span>
  61. <form role="search" class="search" action="search.html" method="get">
  62. <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" class="search-icon">
  63. <path fill-rule="nonzero" fill="currentColor" d="M15.5 14h-.79l-.28-.27a6.5 6.5 0 001.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 00-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 005.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path>
  64. </svg>
  65. <input placeholder="Quick search" aria-label="Quick search" type="search" name="q" />
  66. <input type="submit" value="Go"/>
  67. </form>
  68. </span>
  69. </nav>
  70. <div class="menu-wrapper">
  71. <nav class="menu" role="navigation" aria-label="main navigation">
  72. <div class="language_switcher_placeholder"></div>
  73. <label class="theme-selector-label">
  74. Theme
  75. <select class="theme-selector" oninput="activateTheme(this.value)">
  76. <option value="auto" selected>Auto</option>
  77. <option value="light">Light</option>
  78. <option value="dark">Dark</option>
  79. </select>
  80. </label>
  81. <div>
  82. <h3><a href="contents.html">Table of Contents</a></h3>
  83. <ul>
  84. <li><a class="reference internal" href="#">History and License</a><ul>
  85. <li><a class="reference internal" href="#history-of-the-software">History of the software</a></li>
  86. <li><a class="reference internal" href="#terms-and-conditions-for-accessing-or-otherwise-using-python">Terms and conditions for accessing or otherwise using Python</a><ul>
  87. <li><a class="reference internal" href="#psf-license-agreement-for-python-release">PSF LICENSE AGREEMENT FOR PYTHON 3.12.3</a></li>
  88. <li><a class="reference internal" href="#beopen-com-license-agreement-for-python-2-0">BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0</a></li>
  89. <li><a class="reference internal" href="#cnri-license-agreement-for-python-1-6-1">CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1</a></li>
  90. <li><a class="reference internal" href="#cwi-license-agreement-for-python-0-9-0-through-1-2">CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2</a></li>
  91. <li><a class="reference internal" href="#zero-clause-bsd-license-for-code-in-the-python-release-documentation">ZERO-CLAUSE BSD LICENSE FOR CODE IN THE PYTHON 3.12.3 DOCUMENTATION</a></li>
  92. </ul>
  93. </li>
  94. <li><a class="reference internal" href="#licenses-and-acknowledgements-for-incorporated-software">Licenses and Acknowledgements for Incorporated Software</a><ul>
  95. <li><a class="reference internal" href="#mersenne-twister">Mersenne Twister</a></li>
  96. <li><a class="reference internal" href="#sockets">Sockets</a></li>
  97. <li><a class="reference internal" href="#asynchronous-socket-services">Asynchronous socket services</a></li>
  98. <li><a class="reference internal" href="#cookie-management">Cookie management</a></li>
  99. <li><a class="reference internal" href="#execution-tracing">Execution tracing</a></li>
  100. <li><a class="reference internal" href="#uuencode-and-uudecode-functions">UUencode and UUdecode functions</a></li>
  101. <li><a class="reference internal" href="#xml-remote-procedure-calls">XML Remote Procedure Calls</a></li>
  102. <li><a class="reference internal" href="#test-epoll">test_epoll</a></li>
  103. <li><a class="reference internal" href="#select-kqueue">Select kqueue</a></li>
  104. <li><a class="reference internal" href="#siphash24">SipHash24</a></li>
  105. <li><a class="reference internal" href="#strtod-and-dtoa">strtod and dtoa</a></li>
  106. <li><a class="reference internal" href="#openssl">OpenSSL</a></li>
  107. <li><a class="reference internal" href="#expat">expat</a></li>
  108. <li><a class="reference internal" href="#libffi">libffi</a></li>
  109. <li><a class="reference internal" href="#zlib">zlib</a></li>
  110. <li><a class="reference internal" href="#cfuhash">cfuhash</a></li>
  111. <li><a class="reference internal" href="#libmpdec">libmpdec</a></li>
  112. <li><a class="reference internal" href="#w3c-c14n-test-suite">W3C C14N test suite</a></li>
  113. <li><a class="reference internal" href="#audioop">Audioop</a></li>
  114. <li><a class="reference internal" href="#asyncio">asyncio</a></li>
  115. </ul>
  116. </li>
  117. </ul>
  118. </li>
  119. </ul>
  120. </div>
  121. <div>
  122. <h4>Previous topic</h4>
  123. <p class="topless"><a href="copyright.html"
  124. title="previous chapter">Copyright</a></p>
  125. </div>
  126. <div role="note" aria-label="source link">
  127. <h3>This Page</h3>
  128. <ul class="this-page-menu">
  129. <li><a href="bugs.html">Report a Bug</a></li>
  130. <li>
  131. <a href="https://github.com/python/cpython/blob/main/Doc/license.rst"
  132. rel="nofollow">Show Source
  133. </a>
  134. </li>
  135. </ul>
  136. </div>
  137. </nav>
  138. </div>
  139. </div>
  140. <div class="related" role="navigation" aria-label="related navigation">
  141. <h3>Navigation</h3>
  142. <ul>
  143. <li class="right" style="margin-right: 10px">
  144. <a href="genindex.html" title="General Index"
  145. accesskey="I">index</a></li>
  146. <li class="right" >
  147. <a href="py-modindex.html" title="Python Module Index"
  148. >modules</a> |</li>
  149. <li class="right" >
  150. <a href="copyright.html" title="Copyright"
  151. accesskey="P">previous</a> |</li>
  152. <li><img src="_static/py.svg" alt="Python logo" style="vertical-align: middle; margin-top: -1px"/></li>
  153. <li><a href="https://www.python.org/">Python</a> &#187;</li>
  154. <li class="switchers">
  155. <div class="language_switcher_placeholder"></div>
  156. <div class="version_switcher_placeholder"></div>
  157. </li>
  158. <li>
  159. </li>
  160. <li id="cpython-language-and-version">
  161. <a href="index.html">3.12.3 Documentation</a> &#187;
  162. </li>
  163. <li class="nav-item nav-item-this"><a href="">History and License</a></li>
  164. <li class="right">
  165. <div class="inline-search" role="search">
  166. <form class="inline-search" action="search.html" method="get">
  167. <input placeholder="Quick search" aria-label="Quick search" type="search" name="q" id="search-box" />
  168. <input type="submit" value="Go" />
  169. </form>
  170. </div>
  171. |
  172. </li>
  173. <li class="right">
  174. <label class="theme-selector-label">
  175. Theme
  176. <select class="theme-selector" oninput="activateTheme(this.value)">
  177. <option value="auto" selected>Auto</option>
  178. <option value="light">Light</option>
  179. <option value="dark">Dark</option>
  180. </select>
  181. </label> |</li>
  182. </ul>
  183. </div>
  184. <div class="document">
  185. <div class="documentwrapper">
  186. <div class="bodywrapper">
  187. <div class="body" role="main">
  188. <section id="history-and-license">
  189. <span id="id1"></span><h1>History and License<a class="headerlink" href="#history-and-license" title="Link to this heading">¶</a></h1>
  190. <section id="history-of-the-software">
  191. <h2>History of the software<a class="headerlink" href="#history-of-the-software" title="Link to this heading">¶</a></h2>
  192. <p>Python was created in the early 1990s by Guido van Rossum at Stichting
  193. Mathematisch Centrum (CWI, see <a class="reference external" href="https://www.cwi.nl/">https://www.cwi.nl/</a>) in the Netherlands as a
  194. successor of a language called ABC. Guido remains Python’s principal author,
  195. although it includes many contributions from others.</p>
  196. <p>In 1995, Guido continued his work on Python at the Corporation for National
  197. Research Initiatives (CNRI, see <a class="reference external" href="https://www.cnri.reston.va.us/">https://www.cnri.reston.va.us/</a>) in Reston,
  198. Virginia where he released several versions of the software.</p>
  199. <p>In May 2000, Guido and the Python core development team moved to BeOpen.com to
  200. form the BeOpen PythonLabs team. In October of the same year, the PythonLabs
  201. team moved to Digital Creations (now Zope Corporation; see
  202. <a class="reference external" href="https://www.zope.org/">https://www.zope.org/</a>). In 2001, the Python Software Foundation (PSF, see
  203. <a class="reference external" href="https://www.python.org/psf/">https://www.python.org/psf/</a>) was formed, a non-profit organization created
  204. specifically to own Python-related Intellectual Property. Zope Corporation is a
  205. sponsoring member of the PSF.</p>
  206. <p>All Python releases are Open Source (see <a class="reference external" href="https://opensource.org/">https://opensource.org/</a> for the Open
  207. Source Definition). Historically, most, but not all, Python releases have also
  208. been GPL-compatible; the table below summarizes the various releases.</p>
  209. <table class="docutils align-default">
  210. <thead>
  211. <tr class="row-odd"><th class="head"><p>Release</p></th>
  212. <th class="head"><p>Derived from</p></th>
  213. <th class="head"><p>Year</p></th>
  214. <th class="head"><p>Owner</p></th>
  215. <th class="head"><p>GPL compatible?</p></th>
  216. </tr>
  217. </thead>
  218. <tbody>
  219. <tr class="row-even"><td><p>0.9.0 thru 1.2</p></td>
  220. <td><p>n/a</p></td>
  221. <td><p>1991-1995</p></td>
  222. <td><p>CWI</p></td>
  223. <td><p>yes</p></td>
  224. </tr>
  225. <tr class="row-odd"><td><p>1.3 thru 1.5.2</p></td>
  226. <td><p>1.2</p></td>
  227. <td><p>1995-1999</p></td>
  228. <td><p>CNRI</p></td>
  229. <td><p>yes</p></td>
  230. </tr>
  231. <tr class="row-even"><td><p>1.6</p></td>
  232. <td><p>1.5.2</p></td>
  233. <td><p>2000</p></td>
  234. <td><p>CNRI</p></td>
  235. <td><p>no</p></td>
  236. </tr>
  237. <tr class="row-odd"><td><p>2.0</p></td>
  238. <td><p>1.6</p></td>
  239. <td><p>2000</p></td>
  240. <td><p>BeOpen.com</p></td>
  241. <td><p>no</p></td>
  242. </tr>
  243. <tr class="row-even"><td><p>1.6.1</p></td>
  244. <td><p>1.6</p></td>
  245. <td><p>2001</p></td>
  246. <td><p>CNRI</p></td>
  247. <td><p>no</p></td>
  248. </tr>
  249. <tr class="row-odd"><td><p>2.1</p></td>
  250. <td><p>2.0+1.6.1</p></td>
  251. <td><p>2001</p></td>
  252. <td><p>PSF</p></td>
  253. <td><p>no</p></td>
  254. </tr>
  255. <tr class="row-even"><td><p>2.0.1</p></td>
  256. <td><p>2.0+1.6.1</p></td>
  257. <td><p>2001</p></td>
  258. <td><p>PSF</p></td>
  259. <td><p>yes</p></td>
  260. </tr>
  261. <tr class="row-odd"><td><p>2.1.1</p></td>
  262. <td><p>2.1+2.0.1</p></td>
  263. <td><p>2001</p></td>
  264. <td><p>PSF</p></td>
  265. <td><p>yes</p></td>
  266. </tr>
  267. <tr class="row-even"><td><p>2.1.2</p></td>
  268. <td><p>2.1.1</p></td>
  269. <td><p>2002</p></td>
  270. <td><p>PSF</p></td>
  271. <td><p>yes</p></td>
  272. </tr>
  273. <tr class="row-odd"><td><p>2.1.3</p></td>
  274. <td><p>2.1.2</p></td>
  275. <td><p>2002</p></td>
  276. <td><p>PSF</p></td>
  277. <td><p>yes</p></td>
  278. </tr>
  279. <tr class="row-even"><td><p>2.2 and above</p></td>
  280. <td><p>2.1.1</p></td>
  281. <td><p>2001-now</p></td>
  282. <td><p>PSF</p></td>
  283. <td><p>yes</p></td>
  284. </tr>
  285. </tbody>
  286. </table>
  287. <div class="admonition note">
  288. <p class="admonition-title">Note</p>
  289. <p>GPL-compatible doesn’t mean that we’re distributing Python under the GPL. All
  290. Python licenses, unlike the GPL, let you distribute a modified version without
  291. making your changes open source. The GPL-compatible licenses make it possible to
  292. combine Python with other software that is released under the GPL; the others
  293. don’t.</p>
  294. </div>
  295. <p>Thanks to the many outside volunteers who have worked under Guido’s direction to
  296. make these releases possible.</p>
  297. </section>
  298. <section id="terms-and-conditions-for-accessing-or-otherwise-using-python">
  299. <h2>Terms and conditions for accessing or otherwise using Python<a class="headerlink" href="#terms-and-conditions-for-accessing-or-otherwise-using-python" title="Link to this heading">¶</a></h2>
  300. <p>Python software and documentation are licensed under the
  301. <a class="reference internal" href="#psf-license"><span class="std std-ref">PSF License Agreement</span></a>.</p>
  302. <p>Starting with Python 3.8.6, examples, recipes, and other code in
  303. the documentation are dual licensed under the PSF License Agreement
  304. and the <a class="reference internal" href="#bsd0"><span class="std std-ref">Zero-Clause BSD license</span></a>.</p>
  305. <p>Some software incorporated into Python is under different licenses.
  306. The licenses are listed with code falling under that license.
  307. See <a class="reference internal" href="#otherlicenses"><span class="std std-ref">Licenses and Acknowledgements for Incorporated Software</span></a> for an incomplete list of these licenses.</p>
  308. <section id="psf-license-agreement-for-python-release">
  309. <span id="psf-license"></span><h3>PSF LICENSE AGREEMENT FOR PYTHON 3.12.3<a class="headerlink" href="#psf-license-agreement-for-python-release" title="Link to this heading">¶</a></h3>
  310. <pre class="literal-block">1. This LICENSE AGREEMENT is between the Python Software Foundation (&quot;PSF&quot;), and
  311. the Individual or Organization (&quot;Licensee&quot;) accessing and otherwise using Python
  312. 3.12.3 software in source or binary form and its associated documentation.
  313. 2. Subject to the terms and conditions of this License Agreement, PSF hereby
  314. grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
  315. analyze, test, perform and/or display publicly, prepare derivative works,
  316. distribute, and otherwise use Python 3.12.3 alone or in any derivative
  317. version, provided, however, that PSF's License Agreement and PSF's notice of
  318. copyright, i.e., &quot;Copyright © 2001-2023 Python Software Foundation; All Rights
  319. Reserved&quot; are retained in Python 3.12.3 alone or in any derivative version
  320. prepared by Licensee.
  321. 3. In the event Licensee prepares a derivative work that is based on or
  322. incorporates Python 3.12.3 or any part thereof, and wants to make the
  323. derivative work available to others as provided herein, then Licensee hereby
  324. agrees to include in any such work a brief summary of the changes made to Python
  325. 3.12.3.
  326. 4. PSF is making Python 3.12.3 available to Licensee on an &quot;AS IS&quot; basis.
  327. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF
  328. EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR
  329. WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE
  330. USE OF PYTHON 3.12.3 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
  331. 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 3.12.3
  332. FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF
  333. MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 3.12.3, OR ANY DERIVATIVE
  334. THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
  335. 6. This License Agreement will automatically terminate upon a material breach of
  336. its terms and conditions.
  337. 7. Nothing in this License Agreement shall be deemed to create any relationship
  338. of agency, partnership, or joint venture between PSF and Licensee. This License
  339. Agreement does not grant permission to use PSF trademarks or trade name in a
  340. trademark sense to endorse or promote products or services of Licensee, or any
  341. third party.
  342. 8. By copying, installing or otherwise using Python 3.12.3, Licensee agrees
  343. to be bound by the terms and conditions of this License Agreement.</pre>
  344. </section>
  345. <section id="beopen-com-license-agreement-for-python-2-0">
  346. <h3>BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0<a class="headerlink" href="#beopen-com-license-agreement-for-python-2-0" title="Link to this heading">¶</a></h3>
  347. <p>BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1</p>
  348. <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>1. This LICENSE AGREEMENT is between BeOpen.com (&quot;BeOpen&quot;), having an office at
  349. 160 Saratoga Avenue, Santa Clara, CA 95051, and the Individual or Organization
  350. (&quot;Licensee&quot;) accessing and otherwise using this software in source or binary
  351. form and its associated documentation (&quot;the Software&quot;).
  352. 2. Subject to the terms and conditions of this BeOpen Python License Agreement,
  353. BeOpen hereby grants Licensee a non-exclusive, royalty-free, world-wide license
  354. to reproduce, analyze, test, perform and/or display publicly, prepare derivative
  355. works, distribute, and otherwise use the Software alone or in any derivative
  356. version, provided, however, that the BeOpen Python License is retained in the
  357. Software, alone or in any derivative version prepared by Licensee.
  358. 3. BeOpen is making the Software available to Licensee on an &quot;AS IS&quot; basis.
  359. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF
  360. EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND DISCLAIMS ANY REPRESENTATION OR
  361. WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE
  362. USE OF THE SOFTWARE WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
  363. 4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE SOFTWARE FOR
  364. ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF USING,
  365. MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY DERIVATIVE THEREOF, EVEN IF
  366. ADVISED OF THE POSSIBILITY THEREOF.
  367. 5. This License Agreement will automatically terminate upon a material breach of
  368. its terms and conditions.
  369. 6. This License Agreement shall be governed by and interpreted in all respects
  370. by the law of the State of California, excluding conflict of law provisions.
  371. Nothing in this License Agreement shall be deemed to create any relationship of
  372. agency, partnership, or joint venture between BeOpen and Licensee. This License
  373. Agreement does not grant permission to use BeOpen trademarks or trade names in a
  374. trademark sense to endorse or promote products or services of Licensee, or any
  375. third party. As an exception, the &quot;BeOpen Python&quot; logos available at
  376. http://www.pythonlabs.com/logos.html may be used according to the permissions
  377. granted on that web page.
  378. 7. By copying, installing or otherwise using the software, Licensee agrees to be
  379. bound by the terms and conditions of this License Agreement.
  380. </pre></div>
  381. </div>
  382. </section>
  383. <section id="cnri-license-agreement-for-python-1-6-1">
  384. <h3>CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1<a class="headerlink" href="#cnri-license-agreement-for-python-1-6-1" title="Link to this heading">¶</a></h3>
  385. <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>1. This LICENSE AGREEMENT is between the Corporation for National Research
  386. Initiatives, having an office at 1895 Preston White Drive, Reston, VA 20191
  387. (&quot;CNRI&quot;), and the Individual or Organization (&quot;Licensee&quot;) accessing and
  388. otherwise using Python 1.6.1 software in source or binary form and its
  389. associated documentation.
  390. 2. Subject to the terms and conditions of this License Agreement, CNRI hereby
  391. grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
  392. analyze, test, perform and/or display publicly, prepare derivative works,
  393. distribute, and otherwise use Python 1.6.1 alone or in any derivative version,
  394. provided, however, that CNRI&#39;s License Agreement and CNRI&#39;s notice of copyright,
  395. i.e., &quot;Copyright © 1995-2001 Corporation for National Research Initiatives; All
  396. Rights Reserved&quot; are retained in Python 1.6.1 alone or in any derivative version
  397. prepared by Licensee. Alternately, in lieu of CNRI&#39;s License Agreement,
  398. Licensee may substitute the following text (omitting the quotes): &quot;Python 1.6.1
  399. is made available subject to the terms and conditions in CNRI&#39;s License
  400. Agreement. This Agreement together with Python 1.6.1 may be located on the
  401. internet using the following unique, persistent identifier (known as a handle):
  402. 1895.22/1013. This Agreement may also be obtained from a proxy server on the
  403. internet using the following URL: http://hdl.handle.net/1895.22/1013.&quot;
  404. 3. In the event Licensee prepares a derivative work that is based on or
  405. incorporates Python 1.6.1 or any part thereof, and wants to make the derivative
  406. work available to others as provided herein, then Licensee hereby agrees to
  407. include in any such work a brief summary of the changes made to Python 1.6.1.
  408. 4. CNRI is making Python 1.6.1 available to Licensee on an &quot;AS IS&quot; basis. CNRI
  409. MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE,
  410. BUT NOT LIMITATION, CNRI MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY
  411. OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF
  412. PYTHON 1.6.1 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
  413. 5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 1.6.1 FOR
  414. ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF
  415. MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1, OR ANY DERIVATIVE
  416. THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
  417. 6. This License Agreement will automatically terminate upon a material breach of
  418. its terms and conditions.
  419. 7. This License Agreement shall be governed by the federal intellectual property
  420. law of the United States, including without limitation the federal copyright
  421. law, and, to the extent such U.S. federal law does not apply, by the law of the
  422. Commonwealth of Virginia, excluding Virginia&#39;s conflict of law provisions.
  423. Notwithstanding the foregoing, with regard to derivative works based on Python
  424. 1.6.1 that incorporate non-separable material that was previously distributed
  425. under the GNU General Public License (GPL), the law of the Commonwealth of
  426. Virginia shall govern this License Agreement only as to issues arising under or
  427. with respect to Paragraphs 4, 5, and 7 of this License Agreement. Nothing in
  428. this License Agreement shall be deemed to create any relationship of agency,
  429. partnership, or joint venture between CNRI and Licensee. This License Agreement
  430. does not grant permission to use CNRI trademarks or trade name in a trademark
  431. sense to endorse or promote products or services of Licensee, or any third
  432. party.
  433. 8. By clicking on the &quot;ACCEPT&quot; button where indicated, or by copying, installing
  434. or otherwise using Python 1.6.1, Licensee agrees to be bound by the terms and
  435. conditions of this License Agreement.
  436. </pre></div>
  437. </div>
  438. </section>
  439. <section id="cwi-license-agreement-for-python-0-9-0-through-1-2">
  440. <h3>CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2<a class="headerlink" href="#cwi-license-agreement-for-python-0-9-0-through-1-2" title="Link to this heading">¶</a></h3>
  441. <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>Copyright © 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, The
  442. Netherlands. All rights reserved.
  443. Permission to use, copy, modify, and distribute this software and its
  444. documentation for any purpose and without fee is hereby granted, provided that
  445. the above copyright notice appear in all copies and that both that copyright
  446. notice and this permission notice appear in supporting documentation, and that
  447. the name of Stichting Mathematisch Centrum or CWI not be used in advertising or
  448. publicity pertaining to distribution of the software without specific, written
  449. prior permission.
  450. STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
  451. SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
  452. EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE FOR ANY SPECIAL, INDIRECT
  453. OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
  454. DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
  455. ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  456. SOFTWARE.
  457. </pre></div>
  458. </div>
  459. </section>
  460. <section id="zero-clause-bsd-license-for-code-in-the-python-release-documentation">
  461. <span id="bsd0"></span><h3>ZERO-CLAUSE BSD LICENSE FOR CODE IN THE PYTHON 3.12.3 DOCUMENTATION<a class="headerlink" href="#zero-clause-bsd-license-for-code-in-the-python-release-documentation" title="Link to this heading">¶</a></h3>
  462. <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>Permission to use, copy, modify, and/or distribute this software for any
  463. purpose with or without fee is hereby granted.
  464. THE SOFTWARE IS PROVIDED &quot;AS IS&quot; AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
  465. REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  466. AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
  467. INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  468. LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  469. OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  470. PERFORMANCE OF THIS SOFTWARE.
  471. </pre></div>
  472. </div>
  473. </section>
  474. </section>
  475. <section id="licenses-and-acknowledgements-for-incorporated-software">
  476. <span id="otherlicenses"></span><h2>Licenses and Acknowledgements for Incorporated Software<a class="headerlink" href="#licenses-and-acknowledgements-for-incorporated-software" title="Link to this heading">¶</a></h2>
  477. <p>This section is an incomplete, but growing list of licenses and acknowledgements
  478. for third-party software incorporated in the Python distribution.</p>
  479. <section id="mersenne-twister">
  480. <h3>Mersenne Twister<a class="headerlink" href="#mersenne-twister" title="Link to this heading">¶</a></h3>
  481. <p>The <code class="xref py py-mod docutils literal notranslate"><span class="pre">_random</span></code> C extension underlying the <a class="reference internal" href="library/random.html#module-random" title="random: Generate pseudo-random numbers with various common distributions."><code class="xref py py-mod docutils literal notranslate"><span class="pre">random</span></code></a> module
  482. includes code based on a download from
  483. <a class="reference external" href="http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/emt19937ar.html">http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/emt19937ar.html</a>. The following are
  484. the verbatim comments from the original code:</p>
  485. <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>A C-program for MT19937, with initialization improved 2002/1/26.
  486. Coded by Takuji Nishimura and Makoto Matsumoto.
  487. Before using, initialize the state by using init_genrand(seed)
  488. or init_by_array(init_key, key_length).
  489. Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
  490. All rights reserved.
  491. Redistribution and use in source and binary forms, with or without
  492. modification, are permitted provided that the following conditions
  493. are met:
  494. 1. Redistributions of source code must retain the above copyright
  495. notice, this list of conditions and the following disclaimer.
  496. 2. Redistributions in binary form must reproduce the above copyright
  497. notice, this list of conditions and the following disclaimer in the
  498. documentation and/or other materials provided with the distribution.
  499. 3. The names of its contributors may not be used to endorse or promote
  500. products derived from this software without specific prior written
  501. permission.
  502. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  503. &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  504. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  505. A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  506. CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  507. EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  508. PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  509. PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
  510. LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  511. NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  512. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  513. Any feedback is very welcome.
  514. http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html
  515. email: m-mat @ math.sci.hiroshima-u.ac.jp (remove space)
  516. </pre></div>
  517. </div>
  518. </section>
  519. <section id="sockets">
  520. <h3>Sockets<a class="headerlink" href="#sockets" title="Link to this heading">¶</a></h3>
  521. <p>The <a class="reference internal" href="library/socket.html#module-socket" title="socket: Low-level networking interface."><code class="xref py py-mod docutils literal notranslate"><span class="pre">socket</span></code></a> module uses the functions, <code class="xref c c-func docutils literal notranslate"><span class="pre">getaddrinfo()</span></code>, and
  522. <code class="xref c c-func docutils literal notranslate"><span class="pre">getnameinfo()</span></code>, which are coded in separate source files from the WIDE
  523. Project, <a class="reference external" href="https://www.wide.ad.jp/">https://www.wide.ad.jp/</a>.</p>
  524. <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
  525. All rights reserved.
  526. Redistribution and use in source and binary forms, with or without
  527. modification, are permitted provided that the following conditions
  528. are met:
  529. 1. Redistributions of source code must retain the above copyright
  530. notice, this list of conditions and the following disclaimer.
  531. 2. Redistributions in binary form must reproduce the above copyright
  532. notice, this list of conditions and the following disclaimer in the
  533. documentation and/or other materials provided with the distribution.
  534. 3. Neither the name of the project nor the names of its contributors
  535. may be used to endorse or promote products derived from this software
  536. without specific prior written permission.
  537. THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS&#39;&#39; AND
  538. ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  539. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  540. ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
  541. FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  542. DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  543. OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  544. HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  545. LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  546. OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  547. SUCH DAMAGE.
  548. </pre></div>
  549. </div>
  550. </section>
  551. <section id="asynchronous-socket-services">
  552. <h3>Asynchronous socket services<a class="headerlink" href="#asynchronous-socket-services" title="Link to this heading">¶</a></h3>
  553. <p>The <code class="xref py py-mod docutils literal notranslate"><span class="pre">test.support.asynchat</span></code> and <code class="xref py py-mod docutils literal notranslate"><span class="pre">test.support.asyncore</span></code>
  554. modules contain the following notice:</p>
  555. <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>Copyright 1996 by Sam Rushing
  556. All Rights Reserved
  557. Permission to use, copy, modify, and distribute this software and
  558. its documentation for any purpose and without fee is hereby
  559. granted, provided that the above copyright notice appear in all
  560. copies and that both that copyright notice and this permission
  561. notice appear in supporting documentation, and that the name of Sam
  562. Rushing not be used in advertising or publicity pertaining to
  563. distribution of the software without specific, written prior
  564. permission.
  565. SAM RUSHING DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
  566. INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
  567. NO EVENT SHALL SAM RUSHING BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  568. CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
  569. OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
  570. NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  571. CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  572. </pre></div>
  573. </div>
  574. </section>
  575. <section id="cookie-management">
  576. <h3>Cookie management<a class="headerlink" href="#cookie-management" title="Link to this heading">¶</a></h3>
  577. <p>The <a class="reference internal" href="library/http.cookies.html#module-http.cookies" title="http.cookies: Support for HTTP state management (cookies)."><code class="xref py py-mod docutils literal notranslate"><span class="pre">http.cookies</span></code></a> module contains the following notice:</p>
  578. <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>Copyright 2000 by Timothy O&#39;Malley &lt;timo@alum.mit.edu&gt;
  579. All Rights Reserved
  580. Permission to use, copy, modify, and distribute this software
  581. and its documentation for any purpose and without fee is hereby
  582. granted, provided that the above copyright notice appear in all
  583. copies and that both that copyright notice and this permission
  584. notice appear in supporting documentation, and that the name of
  585. Timothy O&#39;Malley not be used in advertising or publicity
  586. pertaining to distribution of the software without specific, written
  587. prior permission.
  588. Timothy O&#39;Malley DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
  589. SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  590. AND FITNESS, IN NO EVENT SHALL Timothy O&#39;Malley BE LIABLE FOR
  591. ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  592. WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  593. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
  594. ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  595. PERFORMANCE OF THIS SOFTWARE.
  596. </pre></div>
  597. </div>
  598. </section>
  599. <section id="execution-tracing">
  600. <h3>Execution tracing<a class="headerlink" href="#execution-tracing" title="Link to this heading">¶</a></h3>
  601. <p>The <a class="reference internal" href="library/trace.html#module-trace" title="trace: Trace or track Python statement execution."><code class="xref py py-mod docutils literal notranslate"><span class="pre">trace</span></code></a> module contains the following notice:</p>
  602. <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>portions copyright 2001, Autonomous Zones Industries, Inc., all rights...
  603. err... reserved and offered to the public under the terms of the
  604. Python 2.2 license.
  605. Author: Zooko O&#39;Whielacronx
  606. http://zooko.com/
  607. mailto:zooko@zooko.com
  608. Copyright 2000, Mojam Media, Inc., all rights reserved.
  609. Author: Skip Montanaro
  610. Copyright 1999, Bioreason, Inc., all rights reserved.
  611. Author: Andrew Dalke
  612. Copyright 1995-1997, Automatrix, Inc., all rights reserved.
  613. Author: Skip Montanaro
  614. Copyright 1991-1995, Stichting Mathematisch Centrum, all rights reserved.
  615. Permission to use, copy, modify, and distribute this Python software and
  616. its associated documentation for any purpose without fee is hereby
  617. granted, provided that the above copyright notice appears in all copies,
  618. and that both that copyright notice and this permission notice appear in
  619. supporting documentation, and that the name of neither Automatrix,
  620. Bioreason or Mojam Media be used in advertising or publicity pertaining to
  621. distribution of the software without specific, written prior permission.
  622. </pre></div>
  623. </div>
  624. </section>
  625. <section id="uuencode-and-uudecode-functions">
  626. <h3>UUencode and UUdecode functions<a class="headerlink" href="#uuencode-and-uudecode-functions" title="Link to this heading">¶</a></h3>
  627. <p>The <a class="reference internal" href="library/uu.html#module-uu" title="uu: Encode and decode files in uuencode format. (deprecated)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">uu</span></code></a> module contains the following notice:</p>
  628. <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>Copyright 1994 by Lance Ellinghouse
  629. Cathedral City, California Republic, United States of America.
  630. All Rights Reserved
  631. Permission to use, copy, modify, and distribute this software and its
  632. documentation for any purpose and without fee is hereby granted,
  633. provided that the above copyright notice appear in all copies and that
  634. both that copyright notice and this permission notice appear in
  635. supporting documentation, and that the name of Lance Ellinghouse
  636. not be used in advertising or publicity pertaining to distribution
  637. of the software without specific, written prior permission.
  638. LANCE ELLINGHOUSE DISCLAIMS ALL WARRANTIES WITH REGARD TO
  639. THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
  640. FITNESS, IN NO EVENT SHALL LANCE ELLINGHOUSE CENTRUM BE LIABLE
  641. FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  642. WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  643. ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
  644. OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  645. Modified by Jack Jansen, CWI, July 1995:
  646. - Use binascii module to do the actual line-by-line conversion
  647. between ascii and binary. This results in a 1000-fold speedup. The C
  648. version is still 5 times faster, though.
  649. - Arguments more compliant with Python standard
  650. </pre></div>
  651. </div>
  652. </section>
  653. <section id="xml-remote-procedure-calls">
  654. <h3>XML Remote Procedure Calls<a class="headerlink" href="#xml-remote-procedure-calls" title="Link to this heading">¶</a></h3>
  655. <p>The <a class="reference internal" href="library/xmlrpc.client.html#module-xmlrpc.client" title="xmlrpc.client: XML-RPC client access."><code class="xref py py-mod docutils literal notranslate"><span class="pre">xmlrpc.client</span></code></a> module contains the following notice:</p>
  656. <div class="highlight-none notranslate"><div class="highlight"><pre><span></span> The XML-RPC client interface is
  657. Copyright (c) 1999-2002 by Secret Labs AB
  658. Copyright (c) 1999-2002 by Fredrik Lundh
  659. By obtaining, using, and/or copying this software and/or its
  660. associated documentation, you agree that you have read, understood,
  661. and will comply with the following terms and conditions:
  662. Permission to use, copy, modify, and distribute this software and
  663. its associated documentation for any purpose and without fee is
  664. hereby granted, provided that the above copyright notice appears in
  665. all copies, and that both that copyright notice and this permission
  666. notice appear in supporting documentation, and that the name of
  667. Secret Labs AB or the author not be used in advertising or publicity
  668. pertaining to distribution of the software without specific, written
  669. prior permission.
  670. SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD
  671. TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANT-
  672. ABILITY AND FITNESS. IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR
  673. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
  674. DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  675. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
  676. ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
  677. OF THIS SOFTWARE.
  678. </pre></div>
  679. </div>
  680. </section>
  681. <section id="test-epoll">
  682. <h3>test_epoll<a class="headerlink" href="#test-epoll" title="Link to this heading">¶</a></h3>
  683. <p>The <code class="xref py py-mod docutils literal notranslate"><span class="pre">test.test_epoll</span></code> module contains the following notice:</p>
  684. <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>Copyright (c) 2001-2006 Twisted Matrix Laboratories.
  685. Permission is hereby granted, free of charge, to any person obtaining
  686. a copy of this software and associated documentation files (the
  687. &quot;Software&quot;), to deal in the Software without restriction, including
  688. without limitation the rights to use, copy, modify, merge, publish,
  689. distribute, sublicense, and/or sell copies of the Software, and to
  690. permit persons to whom the Software is furnished to do so, subject to
  691. the following conditions:
  692. The above copyright notice and this permission notice shall be
  693. included in all copies or substantial portions of the Software.
  694. THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND,
  695. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  696. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  697. NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  698. LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  699. OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  700. WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  701. </pre></div>
  702. </div>
  703. </section>
  704. <section id="select-kqueue">
  705. <h3>Select kqueue<a class="headerlink" href="#select-kqueue" title="Link to this heading">¶</a></h3>
  706. <p>The <a class="reference internal" href="library/select.html#module-select" title="select: Wait for I/O completion on multiple streams."><code class="xref py py-mod docutils literal notranslate"><span class="pre">select</span></code></a> module contains the following notice for the kqueue
  707. interface:</p>
  708. <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>Copyright (c) 2000 Doug White, 2006 James Knight, 2007 Christian Heimes
  709. All rights reserved.
  710. Redistribution and use in source and binary forms, with or without
  711. modification, are permitted provided that the following conditions
  712. are met:
  713. 1. Redistributions of source code must retain the above copyright
  714. notice, this list of conditions and the following disclaimer.
  715. 2. Redistributions in binary form must reproduce the above copyright
  716. notice, this list of conditions and the following disclaimer in the
  717. documentation and/or other materials provided with the distribution.
  718. THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS&#39;&#39; AND
  719. ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  720. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  721. ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
  722. FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  723. DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  724. OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  725. HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  726. LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  727. OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  728. SUCH DAMAGE.
  729. </pre></div>
  730. </div>
  731. </section>
  732. <section id="siphash24">
  733. <h3>SipHash24<a class="headerlink" href="#siphash24" title="Link to this heading">¶</a></h3>
  734. <p>The file <code class="file docutils literal notranslate"><span class="pre">Python/pyhash.c</span></code> contains Marek Majkowski’ implementation of
  735. Dan Bernstein’s SipHash24 algorithm. It contains the following note:</p>
  736. <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>&lt;MIT License&gt;
  737. Copyright (c) 2013 Marek Majkowski &lt;marek@popcount.org&gt;
  738. Permission is hereby granted, free of charge, to any person obtaining a copy
  739. of this software and associated documentation files (the &quot;Software&quot;), to deal
  740. in the Software without restriction, including without limitation the rights
  741. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  742. copies of the Software, and to permit persons to whom the Software is
  743. furnished to do so, subject to the following conditions:
  744. The above copyright notice and this permission notice shall be included in
  745. all copies or substantial portions of the Software.
  746. &lt;/MIT License&gt;
  747. Original location:
  748. https://github.com/majek/csiphash/
  749. Solution inspired by code from:
  750. Samuel Neves (supercop/crypto_auth/siphash24/little)
  751. djb (supercop/crypto_auth/siphash24/little2)
  752. Jean-Philippe Aumasson (https://131002.net/siphash/siphash24.c)
  753. </pre></div>
  754. </div>
  755. </section>
  756. <section id="strtod-and-dtoa">
  757. <h3>strtod and dtoa<a class="headerlink" href="#strtod-and-dtoa" title="Link to this heading">¶</a></h3>
  758. <p>The file <code class="file docutils literal notranslate"><span class="pre">Python/dtoa.c</span></code>, which supplies C functions dtoa and
  759. strtod for conversion of C doubles to and from strings, is derived
  760. from the file of the same name by David M. Gay, currently available
  761. from <a class="reference external" href="https://web.archive.org/web/20220517033456/http://www.netlib.org/fp/dtoa.c">https://web.archive.org/web/20220517033456/http://www.netlib.org/fp/dtoa.c</a>.
  762. The original file, as retrieved on March 16, 2009, contains the following
  763. copyright and licensing notice:</p>
  764. <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>/****************************************************************
  765. *
  766. * The author of this software is David M. Gay.
  767. *
  768. * Copyright (c) 1991, 2000, 2001 by Lucent Technologies.
  769. *
  770. * Permission to use, copy, modify, and distribute this software for any
  771. * purpose without fee is hereby granted, provided that this entire notice
  772. * is included in all copies of any software which is or includes a copy
  773. * or modification of this software and in all copies of the supporting
  774. * documentation for such software.
  775. *
  776. * THIS SOFTWARE IS BEING PROVIDED &quot;AS IS&quot;, WITHOUT ANY EXPRESS OR IMPLIED
  777. * WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR LUCENT MAKES ANY
  778. * REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
  779. * OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
  780. *
  781. ***************************************************************/
  782. </pre></div>
  783. </div>
  784. </section>
  785. <section id="openssl">
  786. <h3>OpenSSL<a class="headerlink" href="#openssl" title="Link to this heading">¶</a></h3>
  787. <p>The modules <a class="reference internal" href="library/hashlib.html#module-hashlib" title="hashlib: Secure hash and message digest algorithms."><code class="xref py py-mod docutils literal notranslate"><span class="pre">hashlib</span></code></a>, <a class="reference internal" href="library/posix.html#module-posix" title="posix: The most common POSIX system calls (normally used via module os). (Unix)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">posix</span></code></a>, <a class="reference internal" href="library/ssl.html#module-ssl" title="ssl: TLS/SSL wrapper for socket objects"><code class="xref py py-mod docutils literal notranslate"><span class="pre">ssl</span></code></a>, <a class="reference internal" href="library/crypt.html#module-crypt" title="crypt: The crypt() function used to check Unix passwords. (deprecated) (Unix)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">crypt</span></code></a> use
  788. the OpenSSL library for added performance if made available by the
  789. operating system. Additionally, the Windows and macOS installers for
  790. Python may include a copy of the OpenSSL libraries, so we include a copy
  791. of the OpenSSL license here. For the OpenSSL 3.0 release,
  792. and later releases derived from that, the Apache License v2 applies:</p>
  793. <div class="highlight-none notranslate"><div class="highlight"><pre><span></span> Apache License
  794. Version 2.0, January 2004
  795. https://www.apache.org/licenses/
  796. TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
  797. 1. Definitions.
  798. &quot;License&quot; shall mean the terms and conditions for use, reproduction,
  799. and distribution as defined by Sections 1 through 9 of this document.
  800. &quot;Licensor&quot; shall mean the copyright owner or entity authorized by
  801. the copyright owner that is granting the License.
  802. &quot;Legal Entity&quot; shall mean the union of the acting entity and all
  803. other entities that control, are controlled by, or are under common
  804. control with that entity. For the purposes of this definition,
  805. &quot;control&quot; means (i) the power, direct or indirect, to cause the
  806. direction or management of such entity, whether by contract or
  807. otherwise, or (ii) ownership of fifty percent (50%) or more of the
  808. outstanding shares, or (iii) beneficial ownership of such entity.
  809. &quot;You&quot; (or &quot;Your&quot;) shall mean an individual or Legal Entity
  810. exercising permissions granted by this License.
  811. &quot;Source&quot; form shall mean the preferred form for making modifications,
  812. including but not limited to software source code, documentation
  813. source, and configuration files.
  814. &quot;Object&quot; form shall mean any form resulting from mechanical
  815. transformation or translation of a Source form, including but
  816. not limited to compiled object code, generated documentation,
  817. and conversions to other media types.
  818. &quot;Work&quot; shall mean the work of authorship, whether in Source or
  819. Object form, made available under the License, as indicated by a
  820. copyright notice that is included in or attached to the work
  821. (an example is provided in the Appendix below).
  822. &quot;Derivative Works&quot; shall mean any work, whether in Source or Object
  823. form, that is based on (or derived from) the Work and for which the
  824. editorial revisions, annotations, elaborations, or other modifications
  825. represent, as a whole, an original work of authorship. For the purposes
  826. of this License, Derivative Works shall not include works that remain
  827. separable from, or merely link (or bind by name) to the interfaces of,
  828. the Work and Derivative Works thereof.
  829. &quot;Contribution&quot; shall mean any work of authorship, including
  830. the original version of the Work and any modifications or additions
  831. to that Work or Derivative Works thereof, that is intentionally
  832. submitted to Licensor for inclusion in the Work by the copyright owner
  833. or by an individual or Legal Entity authorized to submit on behalf of
  834. the copyright owner. For the purposes of this definition, &quot;submitted&quot;
  835. means any form of electronic, verbal, or written communication sent
  836. to the Licensor or its representatives, including but not limited to
  837. communication on electronic mailing lists, source code control systems,
  838. and issue tracking systems that are managed by, or on behalf of, the
  839. Licensor for the purpose of discussing and improving the Work, but
  840. excluding communication that is conspicuously marked or otherwise
  841. designated in writing by the copyright owner as &quot;Not a Contribution.&quot;
  842. &quot;Contributor&quot; shall mean Licensor and any individual or Legal Entity
  843. on behalf of whom a Contribution has been received by Licensor and
  844. subsequently incorporated within the Work.
  845. 2. Grant of Copyright License. Subject to the terms and conditions of
  846. this License, each Contributor hereby grants to You a perpetual,
  847. worldwide, non-exclusive, no-charge, royalty-free, irrevocable
  848. copyright license to reproduce, prepare Derivative Works of,
  849. publicly display, publicly perform, sublicense, and distribute the
  850. Work and such Derivative Works in Source or Object form.
  851. 3. Grant of Patent License. Subject to the terms and conditions of
  852. this License, each Contributor hereby grants to You a perpetual,
  853. worldwide, non-exclusive, no-charge, royalty-free, irrevocable
  854. (except as stated in this section) patent license to make, have made,
  855. use, offer to sell, sell, import, and otherwise transfer the Work,
  856. where such license applies only to those patent claims licensable
  857. by such Contributor that are necessarily infringed by their
  858. Contribution(s) alone or by combination of their Contribution(s)
  859. with the Work to which such Contribution(s) was submitted. If You
  860. institute patent litigation against any entity (including a
  861. cross-claim or counterclaim in a lawsuit) alleging that the Work
  862. or a Contribution incorporated within the Work constitutes direct
  863. or contributory patent infringement, then any patent licenses
  864. granted to You under this License for that Work shall terminate
  865. as of the date such litigation is filed.
  866. 4. Redistribution. You may reproduce and distribute copies of the
  867. Work or Derivative Works thereof in any medium, with or without
  868. modifications, and in Source or Object form, provided that You
  869. meet the following conditions:
  870. (a) You must give any other recipients of the Work or
  871. Derivative Works a copy of this License; and
  872. (b) You must cause any modified files to carry prominent notices
  873. stating that You changed the files; and
  874. (c) You must retain, in the Source form of any Derivative Works
  875. that You distribute, all copyright, patent, trademark, and
  876. attribution notices from the Source form of the Work,
  877. excluding those notices that do not pertain to any part of
  878. the Derivative Works; and
  879. (d) If the Work includes a &quot;NOTICE&quot; text file as part of its
  880. distribution, then any Derivative Works that You distribute must
  881. include a readable copy of the attribution notices contained
  882. within such NOTICE file, excluding those notices that do not
  883. pertain to any part of the Derivative Works, in at least one
  884. of the following places: within a NOTICE text file distributed
  885. as part of the Derivative Works; within the Source form or
  886. documentation, if provided along with the Derivative Works; or,
  887. within a display generated by the Derivative Works, if and
  888. wherever such third-party notices normally appear. The contents
  889. of the NOTICE file are for informational purposes only and
  890. do not modify the License. You may add Your own attribution
  891. notices within Derivative Works that You distribute, alongside
  892. or as an addendum to the NOTICE text from the Work, provided
  893. that such additional attribution notices cannot be construed
  894. as modifying the License.
  895. You may add Your own copyright statement to Your modifications and
  896. may provide additional or different license terms and conditions
  897. for use, reproduction, or distribution of Your modifications, or
  898. for any such Derivative Works as a whole, provided Your use,
  899. reproduction, and distribution of the Work otherwise complies with
  900. the conditions stated in this License.
  901. 5. Submission of Contributions. Unless You explicitly state otherwise,
  902. any Contribution intentionally submitted for inclusion in the Work
  903. by You to the Licensor shall be under the terms and conditions of
  904. this License, without any additional terms or conditions.
  905. Notwithstanding the above, nothing herein shall supersede or modify
  906. the terms of any separate license agreement you may have executed
  907. with Licensor regarding such Contributions.
  908. 6. Trademarks. This License does not grant permission to use the trade
  909. names, trademarks, service marks, or product names of the Licensor,
  910. except as required for reasonable and customary use in describing the
  911. origin of the Work and reproducing the content of the NOTICE file.
  912. 7. Disclaimer of Warranty. Unless required by applicable law or
  913. agreed to in writing, Licensor provides the Work (and each
  914. Contributor provides its Contributions) on an &quot;AS IS&quot; BASIS,
  915. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
  916. implied, including, without limitation, any warranties or conditions
  917. of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
  918. PARTICULAR PURPOSE. You are solely responsible for determining the
  919. appropriateness of using or redistributing the Work and assume any
  920. risks associated with Your exercise of permissions under this License.
  921. 8. Limitation of Liability. In no event and under no legal theory,
  922. whether in tort (including negligence), contract, or otherwise,
  923. unless required by applicable law (such as deliberate and grossly
  924. negligent acts) or agreed to in writing, shall any Contributor be
  925. liable to You for damages, including any direct, indirect, special,
  926. incidental, or consequential damages of any character arising as a
  927. result of this License or out of the use or inability to use the
  928. Work (including but not limited to damages for loss of goodwill,
  929. work stoppage, computer failure or malfunction, or any and all
  930. other commercial damages or losses), even if such Contributor
  931. has been advised of the possibility of such damages.
  932. 9. Accepting Warranty or Additional Liability. While redistributing
  933. the Work or Derivative Works thereof, You may choose to offer,
  934. and charge a fee for, acceptance of support, warranty, indemnity,
  935. or other liability obligations and/or rights consistent with this
  936. License. However, in accepting such obligations, You may act only
  937. on Your own behalf and on Your sole responsibility, not on behalf
  938. of any other Contributor, and only if You agree to indemnify,
  939. defend, and hold each Contributor harmless for any liability
  940. incurred by, or claims asserted against, such Contributor by reason
  941. of your accepting any such warranty or additional liability.
  942. END OF TERMS AND CONDITIONS
  943. </pre></div>
  944. </div>
  945. </section>
  946. <section id="expat">
  947. <h3>expat<a class="headerlink" href="#expat" title="Link to this heading">¶</a></h3>
  948. <p>The <a class="reference internal" href="library/pyexpat.html#module-xml.parsers.expat" title="xml.parsers.expat: An interface to the Expat non-validating XML parser."><code class="xref py py-mod docutils literal notranslate"><span class="pre">pyexpat</span></code></a> extension is built using an included copy of the expat
  949. sources unless the build is configured <code class="docutils literal notranslate"><span class="pre">--with-system-expat</span></code>:</p>
  950. <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
  951. and Clark Cooper
  952. Permission is hereby granted, free of charge, to any person obtaining
  953. a copy of this software and associated documentation files (the
  954. &quot;Software&quot;), to deal in the Software without restriction, including
  955. without limitation the rights to use, copy, modify, merge, publish,
  956. distribute, sublicense, and/or sell copies of the Software, and to
  957. permit persons to whom the Software is furnished to do so, subject to
  958. the following conditions:
  959. The above copyright notice and this permission notice shall be included
  960. in all copies or substantial portions of the Software.
  961. THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND,
  962. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  963. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  964. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  965. CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  966. TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  967. SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  968. </pre></div>
  969. </div>
  970. </section>
  971. <section id="libffi">
  972. <h3>libffi<a class="headerlink" href="#libffi" title="Link to this heading">¶</a></h3>
  973. <p>The <code class="xref py py-mod docutils literal notranslate"><span class="pre">_ctypes</span></code> C extension underlying the <a class="reference internal" href="library/ctypes.html#module-ctypes" title="ctypes: A foreign function library for Python."><code class="xref py py-mod docutils literal notranslate"><span class="pre">ctypes</span></code></a> module
  974. is built using an included copy of the libffi
  975. sources unless the build is configured <code class="docutils literal notranslate"><span class="pre">--with-system-libffi</span></code>:</p>
  976. <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>Copyright (c) 1996-2008 Red Hat, Inc and others.
  977. Permission is hereby granted, free of charge, to any person obtaining
  978. a copy of this software and associated documentation files (the
  979. ``Software&#39;&#39;), to deal in the Software without restriction, including
  980. without limitation the rights to use, copy, modify, merge, publish,
  981. distribute, sublicense, and/or sell copies of the Software, and to
  982. permit persons to whom the Software is furnished to do so, subject to
  983. the following conditions:
  984. The above copyright notice and this permission notice shall be included
  985. in all copies or substantial portions of the Software.
  986. THE SOFTWARE IS PROVIDED ``AS IS&#39;&#39;, WITHOUT WARRANTY OF ANY KIND,
  987. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  988. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  989. NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
  990. HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  991. WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  992. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  993. DEALINGS IN THE SOFTWARE.
  994. </pre></div>
  995. </div>
  996. </section>
  997. <section id="zlib">
  998. <h3>zlib<a class="headerlink" href="#zlib" title="Link to this heading">¶</a></h3>
  999. <p>The <a class="reference internal" href="library/zlib.html#module-zlib" title="zlib: Low-level interface to compression and decompression routines compatible with gzip."><code class="xref py py-mod docutils literal notranslate"><span class="pre">zlib</span></code></a> extension is built using an included copy of the zlib
  1000. sources if the zlib version found on the system is too old to be
  1001. used for the build:</p>
  1002. <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>Copyright (C) 1995-2011 Jean-loup Gailly and Mark Adler
  1003. This software is provided &#39;as-is&#39;, without any express or implied
  1004. warranty. In no event will the authors be held liable for any damages
  1005. arising from the use of this software.
  1006. Permission is granted to anyone to use this software for any purpose,
  1007. including commercial applications, and to alter it and redistribute it
  1008. freely, subject to the following restrictions:
  1009. 1. The origin of this software must not be misrepresented; you must not
  1010. claim that you wrote the original software. If you use this software
  1011. in a product, an acknowledgment in the product documentation would be
  1012. appreciated but is not required.
  1013. 2. Altered source versions must be plainly marked as such, and must not be
  1014. misrepresented as being the original software.
  1015. 3. This notice may not be removed or altered from any source distribution.
  1016. Jean-loup Gailly Mark Adler
  1017. jloup@gzip.org madler@alumni.caltech.edu
  1018. </pre></div>
  1019. </div>
  1020. </section>
  1021. <section id="cfuhash">
  1022. <h3>cfuhash<a class="headerlink" href="#cfuhash" title="Link to this heading">¶</a></h3>
  1023. <p>The implementation of the hash table used by the <a class="reference internal" href="library/tracemalloc.html#module-tracemalloc" title="tracemalloc: Trace memory allocations."><code class="xref py py-mod docutils literal notranslate"><span class="pre">tracemalloc</span></code></a> is based
  1024. on the cfuhash project:</p>
  1025. <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>Copyright (c) 2005 Don Owens
  1026. All rights reserved.
  1027. This code is released under the BSD license:
  1028. Redistribution and use in source and binary forms, with or without
  1029. modification, are permitted provided that the following conditions
  1030. are met:
  1031. * Redistributions of source code must retain the above copyright
  1032. notice, this list of conditions and the following disclaimer.
  1033. * Redistributions in binary form must reproduce the above
  1034. copyright notice, this list of conditions and the following
  1035. disclaimer in the documentation and/or other materials provided
  1036. with the distribution.
  1037. * Neither the name of the author nor the names of its
  1038. contributors may be used to endorse or promote products derived
  1039. from this software without specific prior written permission.
  1040. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  1041. &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  1042. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  1043. FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
  1044. COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
  1045. INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  1046. (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  1047. SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1048. HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  1049. STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  1050. ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
  1051. OF THE POSSIBILITY OF SUCH DAMAGE.
  1052. </pre></div>
  1053. </div>
  1054. </section>
  1055. <section id="libmpdec">
  1056. <h3>libmpdec<a class="headerlink" href="#libmpdec" title="Link to this heading">¶</a></h3>
  1057. <p>The <code class="xref py py-mod docutils literal notranslate"><span class="pre">_decimal</span></code> C extension underlying the <a class="reference internal" href="library/decimal.html#module-decimal" title="decimal: Implementation of the General Decimal Arithmetic Specification."><code class="xref py py-mod docutils literal notranslate"><span class="pre">decimal</span></code></a> module
  1058. is built using an included copy of the libmpdec
  1059. library unless the build is configured <code class="docutils literal notranslate"><span class="pre">--with-system-libmpdec</span></code>:</p>
  1060. <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>Copyright (c) 2008-2020 Stefan Krah. All rights reserved.
  1061. Redistribution and use in source and binary forms, with or without
  1062. modification, are permitted provided that the following conditions
  1063. are met:
  1064. 1. Redistributions of source code must retain the above copyright
  1065. notice, this list of conditions and the following disclaimer.
  1066. 2. Redistributions in binary form must reproduce the above copyright
  1067. notice, this list of conditions and the following disclaimer in the
  1068. documentation and/or other materials provided with the distribution.
  1069. THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS &quot;AS IS&quot; AND
  1070. ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1071. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1072. ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
  1073. FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1074. DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1075. OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1076. HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1077. LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1078. OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1079. SUCH DAMAGE.
  1080. </pre></div>
  1081. </div>
  1082. </section>
  1083. <section id="w3c-c14n-test-suite">
  1084. <h3>W3C C14N test suite<a class="headerlink" href="#w3c-c14n-test-suite" title="Link to this heading">¶</a></h3>
  1085. <p>The C14N 2.0 test suite in the <a class="reference internal" href="library/test.html#module-test" title="test: Regression tests package containing the testing suite for Python."><code class="xref py py-mod docutils literal notranslate"><span class="pre">test</span></code></a> package
  1086. (<code class="docutils literal notranslate"><span class="pre">Lib/test/xmltestdata/c14n-20/</span></code>) was retrieved from the W3C website at
  1087. <a class="reference external" href="https://www.w3.org/TR/xml-c14n2-testcases/">https://www.w3.org/TR/xml-c14n2-testcases/</a> and is distributed under the
  1088. 3-clause BSD license:</p>
  1089. <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>Copyright (c) 2013 W3C(R) (MIT, ERCIM, Keio, Beihang),
  1090. All Rights Reserved.
  1091. Redistribution and use in source and binary forms, with or without
  1092. modification, are permitted provided that the following conditions
  1093. are met:
  1094. * Redistributions of works must retain the original copyright notice,
  1095. this list of conditions and the following disclaimer.
  1096. * Redistributions in binary form must reproduce the original copyright
  1097. notice, this list of conditions and the following disclaimer in the
  1098. documentation and/or other materials provided with the distribution.
  1099. * Neither the name of the W3C nor the names of its contributors may be
  1100. used to endorse or promote products derived from this work without
  1101. specific prior written permission.
  1102. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  1103. &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  1104. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  1105. A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  1106. OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  1107. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  1108. LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  1109. DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  1110. THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  1111. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  1112. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  1113. </pre></div>
  1114. </div>
  1115. </section>
  1116. <section id="audioop">
  1117. <h3>Audioop<a class="headerlink" href="#audioop" title="Link to this heading">¶</a></h3>
  1118. <p>The audioop module uses the code base in g771.c file of the SoX project.
  1119. <a class="reference external" href="https://sourceforge.net/projects/sox/files/sox/12.17.7/sox-12.17.7.tar.gz">https://sourceforge.net/projects/sox/files/sox/12.17.7/sox-12.17.7.tar.gz</a></p>
  1120. <blockquote>
  1121. <div><p>This source code is a product of Sun Microsystems, Inc. and is provided
  1122. for unrestricted use. Users may copy or modify this source code without
  1123. charge.</p>
  1124. <p>SUN SOURCE CODE IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING
  1125. THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
  1126. PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.</p>
  1127. <p>Sun source code is provided with no support and without any obligation on
  1128. the part of Sun Microsystems, Inc. to assist in its use, correction,
  1129. modification or enhancement.</p>
  1130. <p>SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
  1131. INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY THIS SOFTWARE
  1132. OR ANY PART THEREOF.</p>
  1133. <p>In no event will Sun Microsystems, Inc. be liable for any lost revenue
  1134. or profits or other special, indirect and consequential damages, even if
  1135. Sun has been advised of the possibility of such damages.</p>
  1136. <p>Sun Microsystems, Inc.
  1137. 2550 Garcia Avenue
  1138. Mountain View, California 94043</p>
  1139. </div></blockquote>
  1140. </section>
  1141. <section id="asyncio">
  1142. <h3>asyncio<a class="headerlink" href="#asyncio" title="Link to this heading">¶</a></h3>
  1143. <p>Parts of the <a class="reference internal" href="library/asyncio.html#module-asyncio" title="asyncio: Asynchronous I/O."><code class="xref py py-mod docutils literal notranslate"><span class="pre">asyncio</span></code></a> module are incorporated from
  1144. <a class="reference external" href="https://github.com/MagicStack/uvloop/tree/v0.16.0">uvloop 0.16</a>,
  1145. which is distributed under the MIT license:</p>
  1146. <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>Copyright (c) 2015-2021 MagicStack Inc. http://magic.io
  1147. Permission is hereby granted, free of charge, to any person obtaining
  1148. a copy of this software and associated documentation files (the
  1149. &quot;Software&quot;), to deal in the Software without restriction, including
  1150. without limitation the rights to use, copy, modify, merge, publish,
  1151. distribute, sublicense, and/or sell copies of the Software, and to
  1152. permit persons to whom the Software is furnished to do so, subject to
  1153. the following conditions:
  1154. The above copyright notice and this permission notice shall be
  1155. included in all copies or substantial portions of the Software.
  1156. THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND,
  1157. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  1158. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  1159. NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  1160. LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  1161. OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  1162. WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  1163. </pre></div>
  1164. </div>
  1165. </section>
  1166. </section>
  1167. </section>
  1168. <div class="clearer"></div>
  1169. </div>
  1170. </div>
  1171. </div>
  1172. <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
  1173. <div class="sphinxsidebarwrapper">
  1174. <div>
  1175. <h3><a href="contents.html">Table of Contents</a></h3>
  1176. <ul>
  1177. <li><a class="reference internal" href="#">History and License</a><ul>
  1178. <li><a class="reference internal" href="#history-of-the-software">History of the software</a></li>
  1179. <li><a class="reference internal" href="#terms-and-conditions-for-accessing-or-otherwise-using-python">Terms and conditions for accessing or otherwise using Python</a><ul>
  1180. <li><a class="reference internal" href="#psf-license-agreement-for-python-release">PSF LICENSE AGREEMENT FOR PYTHON 3.12.3</a></li>
  1181. <li><a class="reference internal" href="#beopen-com-license-agreement-for-python-2-0">BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0</a></li>
  1182. <li><a class="reference internal" href="#cnri-license-agreement-for-python-1-6-1">CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1</a></li>
  1183. <li><a class="reference internal" href="#cwi-license-agreement-for-python-0-9-0-through-1-2">CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2</a></li>
  1184. <li><a class="reference internal" href="#zero-clause-bsd-license-for-code-in-the-python-release-documentation">ZERO-CLAUSE BSD LICENSE FOR CODE IN THE PYTHON 3.12.3 DOCUMENTATION</a></li>
  1185. </ul>
  1186. </li>
  1187. <li><a class="reference internal" href="#licenses-and-acknowledgements-for-incorporated-software">Licenses and Acknowledgements for Incorporated Software</a><ul>
  1188. <li><a class="reference internal" href="#mersenne-twister">Mersenne Twister</a></li>
  1189. <li><a class="reference internal" href="#sockets">Sockets</a></li>
  1190. <li><a class="reference internal" href="#asynchronous-socket-services">Asynchronous socket services</a></li>
  1191. <li><a class="reference internal" href="#cookie-management">Cookie management</a></li>
  1192. <li><a class="reference internal" href="#execution-tracing">Execution tracing</a></li>
  1193. <li><a class="reference internal" href="#uuencode-and-uudecode-functions">UUencode and UUdecode functions</a></li>
  1194. <li><a class="reference internal" href="#xml-remote-procedure-calls">XML Remote Procedure Calls</a></li>
  1195. <li><a class="reference internal" href="#test-epoll">test_epoll</a></li>
  1196. <li><a class="reference internal" href="#select-kqueue">Select kqueue</a></li>
  1197. <li><a class="reference internal" href="#siphash24">SipHash24</a></li>
  1198. <li><a class="reference internal" href="#strtod-and-dtoa">strtod and dtoa</a></li>
  1199. <li><a class="reference internal" href="#openssl">OpenSSL</a></li>
  1200. <li><a class="reference internal" href="#expat">expat</a></li>
  1201. <li><a class="reference internal" href="#libffi">libffi</a></li>
  1202. <li><a class="reference internal" href="#zlib">zlib</a></li>
  1203. <li><a class="reference internal" href="#cfuhash">cfuhash</a></li>
  1204. <li><a class="reference internal" href="#libmpdec">libmpdec</a></li>
  1205. <li><a class="reference internal" href="#w3c-c14n-test-suite">W3C C14N test suite</a></li>
  1206. <li><a class="reference internal" href="#audioop">Audioop</a></li>
  1207. <li><a class="reference internal" href="#asyncio">asyncio</a></li>
  1208. </ul>
  1209. </li>
  1210. </ul>
  1211. </li>
  1212. </ul>
  1213. </div>
  1214. <div>
  1215. <h4>Previous topic</h4>
  1216. <p class="topless"><a href="copyright.html"
  1217. title="previous chapter">Copyright</a></p>
  1218. </div>
  1219. <div role="note" aria-label="source link">
  1220. <h3>This Page</h3>
  1221. <ul class="this-page-menu">
  1222. <li><a href="bugs.html">Report a Bug</a></li>
  1223. <li>
  1224. <a href="https://github.com/python/cpython/blob/main/Doc/license.rst"
  1225. rel="nofollow">Show Source
  1226. </a>
  1227. </li>
  1228. </ul>
  1229. </div>
  1230. </div>
  1231. <div id="sidebarbutton" title="Collapse sidebar">
  1232. <span>«</span>
  1233. </div>
  1234. </div>
  1235. <div class="clearer"></div>
  1236. </div>
  1237. <div class="related" role="navigation" aria-label="related navigation">
  1238. <h3>Navigation</h3>
  1239. <ul>
  1240. <li class="right" style="margin-right: 10px">
  1241. <a href="genindex.html" title="General Index"
  1242. >index</a></li>
  1243. <li class="right" >
  1244. <a href="py-modindex.html" title="Python Module Index"
  1245. >modules</a> |</li>
  1246. <li class="right" >
  1247. <a href="copyright.html" title="Copyright"
  1248. >previous</a> |</li>
  1249. <li><img src="_static/py.svg" alt="Python logo" style="vertical-align: middle; margin-top: -1px"/></li>
  1250. <li><a href="https://www.python.org/">Python</a> &#187;</li>
  1251. <li class="switchers">
  1252. <div class="language_switcher_placeholder"></div>
  1253. <div class="version_switcher_placeholder"></div>
  1254. </li>
  1255. <li>
  1256. </li>
  1257. <li id="cpython-language-and-version">
  1258. <a href="index.html">3.12.3 Documentation</a> &#187;
  1259. </li>
  1260. <li class="nav-item nav-item-this"><a href="">History and License</a></li>
  1261. <li class="right">
  1262. <div class="inline-search" role="search">
  1263. <form class="inline-search" action="search.html" method="get">
  1264. <input placeholder="Quick search" aria-label="Quick search" type="search" name="q" id="search-box" />
  1265. <input type="submit" value="Go" />
  1266. </form>
  1267. </div>
  1268. |
  1269. </li>
  1270. <li class="right">
  1271. <label class="theme-selector-label">
  1272. Theme
  1273. <select class="theme-selector" oninput="activateTheme(this.value)">
  1274. <option value="auto" selected>Auto</option>
  1275. <option value="light">Light</option>
  1276. <option value="dark">Dark</option>
  1277. </select>
  1278. </label> |</li>
  1279. </ul>
  1280. </div>
  1281. <div class="footer">
  1282. &copy;
  1283. <a href="copyright.html">
  1284. Copyright
  1285. </a>
  1286. 2001-2024, Python Software Foundation.
  1287. <br />
  1288. This page is licensed under the Python Software Foundation License Version 2.
  1289. <br />
  1290. Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
  1291. <br />
  1292. See <a href="/license.html">History and License</a> for more information.<br />
  1293. <br />
  1294. The Python Software Foundation is a non-profit corporation.
  1295. <a href="https://www.python.org/psf/donations/">Please donate.</a>
  1296. <br />
  1297. <br />
  1298. Last updated on Apr 09, 2024 (13:47 UTC).
  1299. <a href="/bugs.html">Found a bug</a>?
  1300. <br />
  1301. Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.2.6.
  1302. </div>
  1303. </body>
  1304. </html>
上海开阖软件有限公司 沪ICP备12045867号-1