wasi-python 0.1.0a3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1573 @@
1
+ ==== CPython LICENSE ====
2
+ A. HISTORY OF THE SOFTWARE
3
+ ==========================
4
+
5
+ Python was created in the early 1990s by Guido van Rossum at Stichting
6
+ Mathematisch Centrum (CWI, see https://www.cwi.nl) in the Netherlands
7
+ as a successor of a language called ABC. Guido remains Python's
8
+ principal author, although it includes many contributions from others.
9
+
10
+ In 1995, Guido continued his work on Python at the Corporation for
11
+ National Research Initiatives (CNRI, see https://www.cnri.reston.va.us)
12
+ in Reston, Virginia where he released several versions of the
13
+ software.
14
+
15
+ In May 2000, Guido and the Python core development team moved to
16
+ BeOpen.com to form the BeOpen PythonLabs team. In October of the same
17
+ year, the PythonLabs team moved to Digital Creations, which became
18
+ Zope Corporation. In 2001, the Python Software Foundation (PSF, see
19
+ https://www.python.org/psf/) was formed, a non-profit organization
20
+ created specifically to own Python-related Intellectual Property.
21
+ Zope Corporation was a sponsoring member of the PSF.
22
+
23
+ All Python releases are Open Source (see https://opensource.org for
24
+ the Open Source Definition). Historically, most, but not all, Python
25
+ releases have also been GPL-compatible; the table below summarizes
26
+ the various releases.
27
+
28
+ Release Derived Year Owner GPL-
29
+ from compatible? (1)
30
+
31
+ 0.9.0 thru 1.2 1991-1995 CWI yes
32
+ 1.3 thru 1.5.2 1.2 1995-1999 CNRI yes
33
+ 1.6 1.5.2 2000 CNRI no
34
+ 2.0 1.6 2000 BeOpen.com no
35
+ 1.6.1 1.6 2001 CNRI yes (2)
36
+ 2.1 2.0+1.6.1 2001 PSF no
37
+ 2.0.1 2.0+1.6.1 2001 PSF yes
38
+ 2.1.1 2.1+2.0.1 2001 PSF yes
39
+ 2.1.2 2.1.1 2002 PSF yes
40
+ 2.1.3 2.1.2 2002 PSF yes
41
+ 2.2 and above 2.1.1 2001-now PSF yes
42
+
43
+ Footnotes:
44
+
45
+ (1) GPL-compatible doesn't mean that we're distributing Python under
46
+ the GPL. All Python licenses, unlike the GPL, let you distribute
47
+ a modified version without making your changes open source. The
48
+ GPL-compatible licenses make it possible to combine Python with
49
+ other software that is released under the GPL; the others don't.
50
+
51
+ (2) According to Richard Stallman, 1.6.1 is not GPL-compatible,
52
+ because its license has a choice of law clause. According to
53
+ CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1
54
+ is "not incompatible" with the GPL.
55
+
56
+ Thanks to the many outside volunteers who have worked under Guido's
57
+ direction to make these releases possible.
58
+
59
+
60
+ B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON
61
+ ===============================================================
62
+
63
+ Python software and documentation are licensed under the
64
+ Python Software Foundation License Version 2.
65
+
66
+ Starting with Python 3.8.6, examples, recipes, and other code in
67
+ the documentation are dual licensed under the PSF License Version 2
68
+ and the Zero-Clause BSD license.
69
+
70
+ Some software incorporated into Python is under different licenses.
71
+ The licenses are listed with code falling under that license.
72
+
73
+
74
+ PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
75
+ --------------------------------------------
76
+
77
+ 1. This LICENSE AGREEMENT is between the Python Software Foundation
78
+ ("PSF"), and the Individual or Organization ("Licensee") accessing and
79
+ otherwise using this software ("Python") in source or binary form and
80
+ its associated documentation.
81
+
82
+ 2. Subject to the terms and conditions of this License Agreement, PSF hereby
83
+ grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
84
+ analyze, test, perform and/or display publicly, prepare derivative works,
85
+ distribute, and otherwise use Python alone or in any derivative version,
86
+ provided, however, that PSF's License Agreement and PSF's notice of copyright,
87
+ i.e., "Copyright (c) 2001 Python Software Foundation; All Rights Reserved"
88
+ are retained in Python alone or in any derivative version prepared by Licensee.
89
+
90
+ 3. In the event Licensee prepares a derivative work that is based on
91
+ or incorporates Python or any part thereof, and wants to make
92
+ the derivative work available to others as provided herein, then
93
+ Licensee hereby agrees to include in any such work a brief summary of
94
+ the changes made to Python.
95
+
96
+ 4. PSF is making Python available to Licensee on an "AS IS"
97
+ basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
98
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
99
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
100
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
101
+ INFRINGE ANY THIRD PARTY RIGHTS.
102
+
103
+ 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
104
+ FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
105
+ A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
106
+ OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
107
+
108
+ 6. This License Agreement will automatically terminate upon a material
109
+ breach of its terms and conditions.
110
+
111
+ 7. Nothing in this License Agreement shall be deemed to create any
112
+ relationship of agency, partnership, or joint venture between PSF and
113
+ Licensee. This License Agreement does not grant permission to use PSF
114
+ trademarks or trade name in a trademark sense to endorse or promote
115
+ products or services of Licensee, or any third party.
116
+
117
+ 8. By copying, installing or otherwise using Python, Licensee
118
+ agrees to be bound by the terms and conditions of this License
119
+ Agreement.
120
+
121
+
122
+ BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0
123
+ -------------------------------------------
124
+
125
+ BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1
126
+
127
+ 1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an
128
+ office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the
129
+ Individual or Organization ("Licensee") accessing and otherwise using
130
+ this software in source or binary form and its associated
131
+ documentation ("the Software").
132
+
133
+ 2. Subject to the terms and conditions of this BeOpen Python License
134
+ Agreement, BeOpen hereby grants Licensee a non-exclusive,
135
+ royalty-free, world-wide license to reproduce, analyze, test, perform
136
+ and/or display publicly, prepare derivative works, distribute, and
137
+ otherwise use the Software alone or in any derivative version,
138
+ provided, however, that the BeOpen Python License is retained in the
139
+ Software, alone or in any derivative version prepared by Licensee.
140
+
141
+ 3. BeOpen is making the Software available to Licensee on an "AS IS"
142
+ basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
143
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND
144
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
145
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT
146
+ INFRINGE ANY THIRD PARTY RIGHTS.
147
+
148
+ 4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE
149
+ SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS
150
+ AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY
151
+ DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
152
+
153
+ 5. This License Agreement will automatically terminate upon a material
154
+ breach of its terms and conditions.
155
+
156
+ 6. This License Agreement shall be governed by and interpreted in all
157
+ respects by the law of the State of California, excluding conflict of
158
+ law provisions. Nothing in this License Agreement shall be deemed to
159
+ create any relationship of agency, partnership, or joint venture
160
+ between BeOpen and Licensee. This License Agreement does not grant
161
+ permission to use BeOpen trademarks or trade names in a trademark
162
+ sense to endorse or promote products or services of Licensee, or any
163
+ third party. As an exception, the "BeOpen Python" logos available at
164
+ http://www.pythonlabs.com/logos.html may be used according to the
165
+ permissions granted on that web page.
166
+
167
+ 7. By copying, installing or otherwise using the software, Licensee
168
+ agrees to be bound by the terms and conditions of this License
169
+ Agreement.
170
+
171
+
172
+ CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1
173
+ ---------------------------------------
174
+
175
+ 1. This LICENSE AGREEMENT is between the Corporation for National
176
+ Research Initiatives, having an office at 1895 Preston White Drive,
177
+ Reston, VA 20191 ("CNRI"), and the Individual or Organization
178
+ ("Licensee") accessing and otherwise using Python 1.6.1 software in
179
+ source or binary form and its associated documentation.
180
+
181
+ 2. Subject to the terms and conditions of this License Agreement, CNRI
182
+ hereby grants Licensee a nonexclusive, royalty-free, world-wide
183
+ license to reproduce, analyze, test, perform and/or display publicly,
184
+ prepare derivative works, distribute, and otherwise use Python 1.6.1
185
+ alone or in any derivative version, provided, however, that CNRI's
186
+ License Agreement and CNRI's notice of copyright, i.e., "Copyright (c)
187
+ 1995-2001 Corporation for National Research Initiatives; All Rights
188
+ Reserved" are retained in Python 1.6.1 alone or in any derivative
189
+ version prepared by Licensee. Alternately, in lieu of CNRI's License
190
+ Agreement, Licensee may substitute the following text (omitting the
191
+ quotes): "Python 1.6.1 is made available subject to the terms and
192
+ conditions in CNRI's License Agreement. This Agreement together with
193
+ Python 1.6.1 may be located on the internet using the following
194
+ unique, persistent identifier (known as a handle): 1895.22/1013. This
195
+ Agreement may also be obtained from a proxy server on the internet
196
+ using the following URL: http://hdl.handle.net/1895.22/1013".
197
+
198
+ 3. In the event Licensee prepares a derivative work that is based on
199
+ or incorporates Python 1.6.1 or any part thereof, and wants to make
200
+ the derivative work available to others as provided herein, then
201
+ Licensee hereby agrees to include in any such work a brief summary of
202
+ the changes made to Python 1.6.1.
203
+
204
+ 4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS"
205
+ basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
206
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND
207
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
208
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT
209
+ INFRINGE ANY THIRD PARTY RIGHTS.
210
+
211
+ 5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
212
+ 1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
213
+ A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,
214
+ OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
215
+
216
+ 6. This License Agreement will automatically terminate upon a material
217
+ breach of its terms and conditions.
218
+
219
+ 7. This License Agreement shall be governed by the federal
220
+ intellectual property law of the United States, including without
221
+ limitation the federal copyright law, and, to the extent such
222
+ U.S. federal law does not apply, by the law of the Commonwealth of
223
+ Virginia, excluding Virginia's conflict of law provisions.
224
+ Notwithstanding the foregoing, with regard to derivative works based
225
+ on Python 1.6.1 that incorporate non-separable material that was
226
+ previously distributed under the GNU General Public License (GPL), the
227
+ law of the Commonwealth of Virginia shall govern this License
228
+ Agreement only as to issues arising under or with respect to
229
+ Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this
230
+ License Agreement shall be deemed to create any relationship of
231
+ agency, partnership, or joint venture between CNRI and Licensee. This
232
+ License Agreement does not grant permission to use CNRI trademarks or
233
+ trade name in a trademark sense to endorse or promote products or
234
+ services of Licensee, or any third party.
235
+
236
+ 8. By clicking on the "ACCEPT" button where indicated, or by copying,
237
+ installing or otherwise using Python 1.6.1, Licensee agrees to be
238
+ bound by the terms and conditions of this License Agreement.
239
+
240
+ ACCEPT
241
+
242
+
243
+ CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2
244
+ --------------------------------------------------
245
+
246
+ Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,
247
+ The Netherlands. All rights reserved.
248
+
249
+ Permission to use, copy, modify, and distribute this software and its
250
+ documentation for any purpose and without fee is hereby granted,
251
+ provided that the above copyright notice appear in all copies and that
252
+ both that copyright notice and this permission notice appear in
253
+ supporting documentation, and that the name of Stichting Mathematisch
254
+ Centrum or CWI not be used in advertising or publicity pertaining to
255
+ distribution of the software without specific, written prior
256
+ permission.
257
+
258
+ STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
259
+ THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
260
+ FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
261
+ FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
262
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
263
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
264
+ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
265
+
266
+ ZERO-CLAUSE BSD LICENSE FOR CODE IN THE PYTHON DOCUMENTATION
267
+ ----------------------------------------------------------------------
268
+
269
+ Permission to use, copy, modify, and/or distribute this software for any
270
+ purpose with or without fee is hereby granted.
271
+
272
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
273
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
274
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
275
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
276
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
277
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
278
+ PERFORMANCE OF THIS SOFTWARE.
279
+
280
+ ==== CPython Doc/license.rst ====
281
+ .. highlight:: none
282
+
283
+ .. _history-and-license:
284
+
285
+ *******************
286
+ History and License
287
+ *******************
288
+
289
+
290
+ History of the software
291
+ =======================
292
+
293
+ Python was created in the early 1990s by Guido van Rossum at Stichting
294
+ Mathematisch Centrum (CWI, see https://www.cwi.nl) in the Netherlands as a
295
+ successor of a language called ABC. Guido remains Python's principal author,
296
+ although it includes many contributions from others.
297
+
298
+ In 1995, Guido continued his work on Python at the Corporation for National
299
+ Research Initiatives (CNRI, see https://www.cnri.reston.va.us) in Reston,
300
+ Virginia where he released several versions of the software.
301
+
302
+ In May 2000, Guido and the Python core development team moved to BeOpen.com to
303
+ form the BeOpen PythonLabs team. In October of the same year, the PythonLabs
304
+ team moved to Digital Creations, which became
305
+ Zope Corporation. In 2001, the Python Software Foundation (PSF, see
306
+ https://www.python.org/psf/) was formed, a non-profit organization created
307
+ specifically to own Python-related Intellectual Property. Zope Corporation was a
308
+ sponsoring member of the PSF.
309
+
310
+ All Python releases are Open Source (see https://opensource.org for the Open
311
+ Source Definition). Historically, most, but not all, Python releases have also
312
+ been GPL-compatible; the table below summarizes the various releases.
313
+
314
+ +----------------+--------------+------------+------------+---------------------+
315
+ | Release | Derived from | Year | Owner | GPL-compatible? (1) |
316
+ +================+==============+============+============+=====================+
317
+ | 0.9.0 thru 1.2 | n/a | 1991-1995 | CWI | yes |
318
+ +----------------+--------------+------------+------------+---------------------+
319
+ | 1.3 thru 1.5.2 | 1.2 | 1995-1999 | CNRI | yes |
320
+ +----------------+--------------+------------+------------+---------------------+
321
+ | 1.6 | 1.5.2 | 2000 | CNRI | no |
322
+ +----------------+--------------+------------+------------+---------------------+
323
+ | 2.0 | 1.6 | 2000 | BeOpen.com | no |
324
+ +----------------+--------------+------------+------------+---------------------+
325
+ | 1.6.1 | 1.6 | 2001 | CNRI | yes (2) |
326
+ +----------------+--------------+------------+------------+---------------------+
327
+ | 2.1 | 2.0+1.6.1 | 2001 | PSF | no |
328
+ +----------------+--------------+------------+------------+---------------------+
329
+ | 2.0.1 | 2.0+1.6.1 | 2001 | PSF | yes |
330
+ +----------------+--------------+------------+------------+---------------------+
331
+ | 2.1.1 | 2.1+2.0.1 | 2001 | PSF | yes |
332
+ +----------------+--------------+------------+------------+---------------------+
333
+ | 2.1.2 | 2.1.1 | 2002 | PSF | yes |
334
+ +----------------+--------------+------------+------------+---------------------+
335
+ | 2.1.3 | 2.1.2 | 2002 | PSF | yes |
336
+ +----------------+--------------+------------+------------+---------------------+
337
+ | 2.2 and above | 2.1.1 | 2001-now | PSF | yes |
338
+ +----------------+--------------+------------+------------+---------------------+
339
+
340
+ .. note::
341
+
342
+ (1) GPL-compatible doesn't mean that we're distributing Python under the GPL.
343
+ All Python licenses, unlike the GPL, let you distribute a modified version
344
+ without making your changes open source. The GPL-compatible licenses make
345
+ it possible to combine Python with other software that is released under
346
+ the GPL; the others don't.
347
+
348
+ (2) According to Richard Stallman, 1.6.1 is not GPL-compatible, because its license
349
+ has a choice of law clause. According to CNRI, however, Stallman's lawyer has
350
+ told CNRI's lawyer that 1.6.1 is "not incompatible" with the GPL.
351
+
352
+ Thanks to the many outside volunteers who have worked under Guido's direction to
353
+ make these releases possible.
354
+
355
+
356
+ Terms and conditions for accessing or otherwise using Python
357
+ ============================================================
358
+
359
+ Python software and documentation are licensed under the
360
+ Python Software Foundation License Version 2.
361
+
362
+ Starting with Python 3.8.6, examples, recipes, and other code in
363
+ the documentation are dual licensed under the PSF License Version 2
364
+ and the :ref:`Zero-Clause BSD license <BSD0>`.
365
+
366
+ Some software incorporated into Python is under different licenses.
367
+ The licenses are listed with code falling under that license.
368
+ See :ref:`OtherLicenses` for an incomplete list of these licenses.
369
+
370
+
371
+ .. _PSF-license:
372
+
373
+ PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
374
+ --------------------------------------------
375
+
376
+ .. parsed-literal::
377
+
378
+ 1. This LICENSE AGREEMENT is between the Python Software Foundation ("PSF"), and
379
+ the Individual or Organization ("Licensee") accessing and otherwise using this
380
+ software ("Python") in source or binary form and its associated documentation.
381
+
382
+ 2. Subject to the terms and conditions of this License Agreement, PSF hereby
383
+ grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
384
+ analyze, test, perform and/or display publicly, prepare derivative works,
385
+ distribute, and otherwise use Python alone or in any derivative
386
+ version, provided, however, that PSF's License Agreement and PSF's notice of
387
+ copyright, i.e., "Copyright © 2001 Python Software Foundation; All Rights
388
+ Reserved" are retained in Python alone or in any derivative version
389
+ prepared by Licensee.
390
+
391
+ 3. In the event Licensee prepares a derivative work that is based on or
392
+ incorporates Python or any part thereof, and wants to make the
393
+ derivative work available to others as provided herein, then Licensee hereby
394
+ agrees to include in any such work a brief summary of the changes made to Python.
395
+
396
+ 4. PSF is making Python available to Licensee on an "AS IS" basis.
397
+ PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF
398
+ EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR
399
+ WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE
400
+ USE OF PYTHON WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
401
+
402
+ 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
403
+ FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF
404
+ MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, OR ANY DERIVATIVE
405
+ THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
406
+
407
+ 6. This License Agreement will automatically terminate upon a material breach of
408
+ its terms and conditions.
409
+
410
+ 7. Nothing in this License Agreement shall be deemed to create any relationship
411
+ of agency, partnership, or joint venture between PSF and Licensee. This License
412
+ Agreement does not grant permission to use PSF trademarks or trade name in a
413
+ trademark sense to endorse or promote products or services of Licensee, or any
414
+ third party.
415
+
416
+ 8. By copying, installing or otherwise using Python, Licensee agrees
417
+ to be bound by the terms and conditions of this License Agreement.
418
+
419
+
420
+ BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0
421
+ -------------------------------------------
422
+
423
+ BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1
424
+
425
+ .. parsed-literal::
426
+
427
+ 1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an office at
428
+ 160 Saratoga Avenue, Santa Clara, CA 95051, and the Individual or Organization
429
+ ("Licensee") accessing and otherwise using this software in source or binary
430
+ form and its associated documentation ("the Software").
431
+
432
+ 2. Subject to the terms and conditions of this BeOpen Python License Agreement,
433
+ BeOpen hereby grants Licensee a non-exclusive, royalty-free, world-wide license
434
+ to reproduce, analyze, test, perform and/or display publicly, prepare derivative
435
+ works, distribute, and otherwise use the Software alone or in any derivative
436
+ version, provided, however, that the BeOpen Python License is retained in the
437
+ Software, alone or in any derivative version prepared by Licensee.
438
+
439
+ 3. BeOpen is making the Software available to Licensee on an "AS IS" basis.
440
+ BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF
441
+ EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND DISCLAIMS ANY REPRESENTATION OR
442
+ WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE
443
+ USE OF THE SOFTWARE WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
444
+
445
+ 4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE SOFTWARE FOR
446
+ ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF USING,
447
+ MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY DERIVATIVE THEREOF, EVEN IF
448
+ ADVISED OF THE POSSIBILITY THEREOF.
449
+
450
+ 5. This License Agreement will automatically terminate upon a material breach of
451
+ its terms and conditions.
452
+
453
+ 6. This License Agreement shall be governed by and interpreted in all respects
454
+ by the law of the State of California, excluding conflict of law provisions.
455
+ Nothing in this License Agreement shall be deemed to create any relationship of
456
+ agency, partnership, or joint venture between BeOpen and Licensee. This License
457
+ Agreement does not grant permission to use BeOpen trademarks or trade names in a
458
+ trademark sense to endorse or promote products or services of Licensee, or any
459
+ third party. As an exception, the "BeOpen Python" logos available at
460
+ http://www.pythonlabs.com/logos.html may be used according to the permissions
461
+ granted on that web page.
462
+
463
+ 7. By copying, installing or otherwise using the software, Licensee agrees to be
464
+ bound by the terms and conditions of this License Agreement.
465
+
466
+
467
+ CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1
468
+ ---------------------------------------
469
+
470
+ .. parsed-literal::
471
+
472
+ 1. This LICENSE AGREEMENT is between the Corporation for National Research
473
+ Initiatives, having an office at 1895 Preston White Drive, Reston, VA 20191
474
+ ("CNRI"), and the Individual or Organization ("Licensee") accessing and
475
+ otherwise using Python 1.6.1 software in source or binary form and its
476
+ associated documentation.
477
+
478
+ 2. Subject to the terms and conditions of this License Agreement, CNRI hereby
479
+ grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
480
+ analyze, test, perform and/or display publicly, prepare derivative works,
481
+ distribute, and otherwise use Python 1.6.1 alone or in any derivative version,
482
+ provided, however, that CNRI's License Agreement and CNRI's notice of copyright,
483
+ i.e., "Copyright © 1995-2001 Corporation for National Research Initiatives; All
484
+ Rights Reserved" are retained in Python 1.6.1 alone or in any derivative version
485
+ prepared by Licensee. Alternately, in lieu of CNRI's License Agreement,
486
+ Licensee may substitute the following text (omitting the quotes): "Python 1.6.1
487
+ is made available subject to the terms and conditions in CNRI's License
488
+ Agreement. This Agreement together with Python 1.6.1 may be located on the
489
+ internet using the following unique, persistent identifier (known as a handle):
490
+ 1895.22/1013. This Agreement may also be obtained from a proxy server on the
491
+ internet using the following URL: http://hdl.handle.net/1895.22/1013".
492
+
493
+ 3. In the event Licensee prepares a derivative work that is based on or
494
+ incorporates Python 1.6.1 or any part thereof, and wants to make the derivative
495
+ work available to others as provided herein, then Licensee hereby agrees to
496
+ include in any such work a brief summary of the changes made to Python 1.6.1.
497
+
498
+ 4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS" basis. CNRI
499
+ MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE,
500
+ BUT NOT LIMITATION, CNRI MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY
501
+ OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF
502
+ PYTHON 1.6.1 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
503
+
504
+ 5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 1.6.1 FOR
505
+ ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF
506
+ MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1, OR ANY DERIVATIVE
507
+ THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
508
+
509
+ 6. This License Agreement will automatically terminate upon a material breach of
510
+ its terms and conditions.
511
+
512
+ 7. This License Agreement shall be governed by the federal intellectual property
513
+ law of the United States, including without limitation the federal copyright
514
+ law, and, to the extent such U.S. federal law does not apply, by the law of the
515
+ Commonwealth of Virginia, excluding Virginia's conflict of law provisions.
516
+ Notwithstanding the foregoing, with regard to derivative works based on Python
517
+ 1.6.1 that incorporate non-separable material that was previously distributed
518
+ under the GNU General Public License (GPL), the law of the Commonwealth of
519
+ Virginia shall govern this License Agreement only as to issues arising under or
520
+ with respect to Paragraphs 4, 5, and 7 of this License Agreement. Nothing in
521
+ this License Agreement shall be deemed to create any relationship of agency,
522
+ partnership, or joint venture between CNRI and Licensee. This License Agreement
523
+ does not grant permission to use CNRI trademarks or trade name in a trademark
524
+ sense to endorse or promote products or services of Licensee, or any third
525
+ party.
526
+
527
+ 8. By clicking on the "ACCEPT" button where indicated, or by copying, installing
528
+ or otherwise using Python 1.6.1, Licensee agrees to be bound by the terms and
529
+ conditions of this License Agreement.
530
+
531
+
532
+ CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2
533
+ --------------------------------------------------
534
+
535
+ .. parsed-literal::
536
+
537
+ Copyright © 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, The
538
+ Netherlands. All rights reserved.
539
+
540
+ Permission to use, copy, modify, and distribute this software and its
541
+ documentation for any purpose and without fee is hereby granted, provided that
542
+ the above copyright notice appear in all copies and that both that copyright
543
+ notice and this permission notice appear in supporting documentation, and that
544
+ the name of Stichting Mathematisch Centrum or CWI not be used in advertising or
545
+ publicity pertaining to distribution of the software without specific, written
546
+ prior permission.
547
+
548
+ STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
549
+ SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
550
+ EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE FOR ANY SPECIAL, INDIRECT
551
+ OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
552
+ DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
553
+ ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
554
+ SOFTWARE.
555
+
556
+
557
+ .. _BSD0:
558
+
559
+ ZERO-CLAUSE BSD LICENSE FOR CODE IN THE PYTHON DOCUMENTATION
560
+ ------------------------------------------------------------
561
+
562
+ .. parsed-literal::
563
+
564
+ Permission to use, copy, modify, and/or distribute this software for any
565
+ purpose with or without fee is hereby granted.
566
+
567
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
568
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
569
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
570
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
571
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
572
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
573
+ PERFORMANCE OF THIS SOFTWARE.
574
+
575
+
576
+ .. _OtherLicenses:
577
+
578
+ Licenses and Acknowledgements for Incorporated Software
579
+ =======================================================
580
+
581
+ This section is an incomplete, but growing list of licenses and acknowledgements
582
+ for third-party software incorporated in the Python distribution.
583
+
584
+
585
+ Mersenne Twister
586
+ ----------------
587
+
588
+ The :mod:`!_random` C extension underlying the :mod:`random` module
589
+ includes code based on a download from
590
+ http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/emt19937ar.html. The following are
591
+ the verbatim comments from the original code::
592
+
593
+ A C-program for MT19937, with initialization improved 2002/1/26.
594
+ Coded by Takuji Nishimura and Makoto Matsumoto.
595
+
596
+ Before using, initialize the state by using init_genrand(seed)
597
+ or init_by_array(init_key, key_length).
598
+
599
+ Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
600
+ All rights reserved.
601
+
602
+ Redistribution and use in source and binary forms, with or without
603
+ modification, are permitted provided that the following conditions
604
+ are met:
605
+
606
+ 1. Redistributions of source code must retain the above copyright
607
+ notice, this list of conditions and the following disclaimer.
608
+
609
+ 2. Redistributions in binary form must reproduce the above copyright
610
+ notice, this list of conditions and the following disclaimer in the
611
+ documentation and/or other materials provided with the distribution.
612
+
613
+ 3. The names of its contributors may not be used to endorse or promote
614
+ products derived from this software without specific prior written
615
+ permission.
616
+
617
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
618
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
619
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
620
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
621
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
622
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
623
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
624
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
625
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
626
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
627
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
628
+
629
+
630
+ Any feedback is very welcome.
631
+ http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html
632
+ email: m-mat @ math.sci.hiroshima-u.ac.jp (remove space)
633
+
634
+
635
+ Sockets
636
+ -------
637
+
638
+ The :mod:`socket` module uses the functions, :c:func:`!getaddrinfo`, and
639
+ :c:func:`!getnameinfo`, which are coded in separate source files from the WIDE
640
+ Project, https://www.wide.ad.jp/. ::
641
+
642
+ Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
643
+ All rights reserved.
644
+
645
+ Redistribution and use in source and binary forms, with or without
646
+ modification, are permitted provided that the following conditions
647
+ are met:
648
+ 1. Redistributions of source code must retain the above copyright
649
+ notice, this list of conditions and the following disclaimer.
650
+ 2. Redistributions in binary form must reproduce the above copyright
651
+ notice, this list of conditions and the following disclaimer in the
652
+ documentation and/or other materials provided with the distribution.
653
+ 3. Neither the name of the project nor the names of its contributors
654
+ may be used to endorse or promote products derived from this software
655
+ without specific prior written permission.
656
+
657
+ THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS "AS IS" AND
658
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
659
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
660
+ ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
661
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
662
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
663
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
664
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
665
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
666
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
667
+ SUCH DAMAGE.
668
+
669
+
670
+ Asynchronous socket services
671
+ ----------------------------
672
+
673
+ The :mod:`!test.support.asynchat` and :mod:`!test.support.asyncore`
674
+ modules contain the following notice::
675
+
676
+ Copyright 1996 by Sam Rushing
677
+
678
+ All Rights Reserved
679
+
680
+ Permission to use, copy, modify, and distribute this software and
681
+ its documentation for any purpose and without fee is hereby
682
+ granted, provided that the above copyright notice appear in all
683
+ copies and that both that copyright notice and this permission
684
+ notice appear in supporting documentation, and that the name of Sam
685
+ Rushing not be used in advertising or publicity pertaining to
686
+ distribution of the software without specific, written prior
687
+ permission.
688
+
689
+ SAM RUSHING DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
690
+ INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
691
+ NO EVENT SHALL SAM RUSHING BE LIABLE FOR ANY SPECIAL, INDIRECT OR
692
+ CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
693
+ OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
694
+ NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
695
+ CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
696
+
697
+
698
+ Cookie management
699
+ -----------------
700
+
701
+ The :mod:`http.cookies` module contains the following notice::
702
+
703
+ Copyright 2000 by Timothy O'Malley <timo@alum.mit.edu>
704
+
705
+ All Rights Reserved
706
+
707
+ Permission to use, copy, modify, and distribute this software
708
+ and its documentation for any purpose and without fee is hereby
709
+ granted, provided that the above copyright notice appear in all
710
+ copies and that both that copyright notice and this permission
711
+ notice appear in supporting documentation, and that the name of
712
+ Timothy O'Malley not be used in advertising or publicity
713
+ pertaining to distribution of the software without specific, written
714
+ prior permission.
715
+
716
+ Timothy O'Malley DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
717
+ SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
718
+ AND FITNESS, IN NO EVENT SHALL Timothy O'Malley BE LIABLE FOR
719
+ ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
720
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
721
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
722
+ ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
723
+ PERFORMANCE OF THIS SOFTWARE.
724
+
725
+
726
+ Execution tracing
727
+ -----------------
728
+
729
+ The :mod:`trace` module contains the following notice::
730
+
731
+ portions copyright 2001, Autonomous Zones Industries, Inc., all rights...
732
+ err... reserved and offered to the public under the terms of the
733
+ Python 2.2 license.
734
+ Author: Zooko O'Whielacronx
735
+ http://zooko.com/
736
+ mailto:zooko@zooko.com
737
+
738
+ Copyright 2000, Mojam Media, Inc., all rights reserved.
739
+ Author: Skip Montanaro
740
+
741
+ Copyright 1999, Bioreason, Inc., all rights reserved.
742
+ Author: Andrew Dalke
743
+
744
+ Copyright 1995-1997, Automatrix, Inc., all rights reserved.
745
+ Author: Skip Montanaro
746
+
747
+ Copyright 1991-1995, Stichting Mathematisch Centrum, all rights reserved.
748
+
749
+
750
+ Permission to use, copy, modify, and distribute this Python software and
751
+ its associated documentation for any purpose without fee is hereby
752
+ granted, provided that the above copyright notice appears in all copies,
753
+ and that both that copyright notice and this permission notice appear in
754
+ supporting documentation, and that the name of neither Automatrix,
755
+ Bioreason or Mojam Media be used in advertising or publicity pertaining to
756
+ distribution of the software without specific, written prior permission.
757
+
758
+
759
+ UUencode and UUdecode functions
760
+ -------------------------------
761
+
762
+ The ``uu`` codec contains the following notice::
763
+
764
+ Copyright 1994 by Lance Ellinghouse
765
+ Cathedral City, California Republic, United States of America.
766
+ All Rights Reserved
767
+ Permission to use, copy, modify, and distribute this software and its
768
+ documentation for any purpose and without fee is hereby granted,
769
+ provided that the above copyright notice appear in all copies and that
770
+ both that copyright notice and this permission notice appear in
771
+ supporting documentation, and that the name of Lance Ellinghouse
772
+ not be used in advertising or publicity pertaining to distribution
773
+ of the software without specific, written prior permission.
774
+ LANCE ELLINGHOUSE DISCLAIMS ALL WARRANTIES WITH REGARD TO
775
+ THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
776
+ FITNESS, IN NO EVENT SHALL LANCE ELLINGHOUSE CENTRUM BE LIABLE
777
+ FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
778
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
779
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
780
+ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
781
+
782
+ Modified by Jack Jansen, CWI, July 1995:
783
+ - Use binascii module to do the actual line-by-line conversion
784
+ between ascii and binary. This results in a 1000-fold speedup. The C
785
+ version is still 5 times faster, though.
786
+ - Arguments more compliant with Python standard
787
+
788
+
789
+ XML Remote Procedure Calls
790
+ --------------------------
791
+
792
+ The :mod:`xmlrpc.client` module contains the following notice::
793
+
794
+ The XML-RPC client interface is
795
+
796
+ Copyright (c) 1999-2002 by Secret Labs AB
797
+ Copyright (c) 1999-2002 by Fredrik Lundh
798
+
799
+ By obtaining, using, and/or copying this software and/or its
800
+ associated documentation, you agree that you have read, understood,
801
+ and will comply with the following terms and conditions:
802
+
803
+ Permission to use, copy, modify, and distribute this software and
804
+ its associated documentation for any purpose and without fee is
805
+ hereby granted, provided that the above copyright notice appears in
806
+ all copies, and that both that copyright notice and this permission
807
+ notice appear in supporting documentation, and that the name of
808
+ Secret Labs AB or the author not be used in advertising or publicity
809
+ pertaining to distribution of the software without specific, written
810
+ prior permission.
811
+
812
+ SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD
813
+ TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANT-
814
+ ABILITY AND FITNESS. IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR
815
+ BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
816
+ DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
817
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
818
+ ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
819
+ OF THIS SOFTWARE.
820
+
821
+
822
+ test_epoll
823
+ ----------
824
+
825
+ The :mod:`!test.test_epoll` module contains the following notice::
826
+
827
+ Copyright (c) 2001-2006 Twisted Matrix Laboratories.
828
+
829
+ Permission is hereby granted, free of charge, to any person obtaining
830
+ a copy of this software and associated documentation files (the
831
+ "Software"), to deal in the Software without restriction, including
832
+ without limitation the rights to use, copy, modify, merge, publish,
833
+ distribute, sublicense, and/or sell copies of the Software, and to
834
+ permit persons to whom the Software is furnished to do so, subject to
835
+ the following conditions:
836
+
837
+ The above copyright notice and this permission notice shall be
838
+ included in all copies or substantial portions of the Software.
839
+
840
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
841
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
842
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
843
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
844
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
845
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
846
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
847
+
848
+ Select kqueue
849
+ -------------
850
+
851
+ The :mod:`select` module contains the following notice for the kqueue
852
+ interface::
853
+
854
+ Copyright (c) 2000 Doug White, 2006 James Knight, 2007 Christian Heimes
855
+ All rights reserved.
856
+
857
+ Redistribution and use in source and binary forms, with or without
858
+ modification, are permitted provided that the following conditions
859
+ are met:
860
+ 1. Redistributions of source code must retain the above copyright
861
+ notice, this list of conditions and the following disclaimer.
862
+ 2. Redistributions in binary form must reproduce the above copyright
863
+ notice, this list of conditions and the following disclaimer in the
864
+ documentation and/or other materials provided with the distribution.
865
+
866
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND
867
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
868
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
869
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
870
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
871
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
872
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
873
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
874
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
875
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
876
+ SUCH DAMAGE.
877
+
878
+
879
+ SipHash24
880
+ ---------
881
+
882
+ The file :file:`Python/pyhash.c` contains Marek Majkowski' implementation of
883
+ Dan Bernstein's SipHash24 algorithm. It contains the following note::
884
+
885
+ <MIT License>
886
+ Copyright (c) 2013 Marek Majkowski <marek@popcount.org>
887
+
888
+ Permission is hereby granted, free of charge, to any person obtaining a copy
889
+ of this software and associated documentation files (the "Software"), to deal
890
+ in the Software without restriction, including without limitation the rights
891
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
892
+ copies of the Software, and to permit persons to whom the Software is
893
+ furnished to do so, subject to the following conditions:
894
+
895
+ The above copyright notice and this permission notice shall be included in
896
+ all copies or substantial portions of the Software.
897
+ </MIT License>
898
+
899
+ Original location:
900
+ https://github.com/majek/csiphash/
901
+
902
+ Solution inspired by code from:
903
+ Samuel Neves (supercop/crypto_auth/siphash24/little)
904
+ djb (supercop/crypto_auth/siphash24/little2)
905
+ Jean-Philippe Aumasson (https://131002.net/siphash/siphash24.c)
906
+
907
+
908
+ strtod and dtoa
909
+ ---------------
910
+
911
+ The file :file:`Python/dtoa.c`, which supplies C functions dtoa and
912
+ strtod for conversion of C doubles to and from strings, is derived
913
+ from the file of the same name by David M. Gay, currently available
914
+ from https://web.archive.org/web/20220517033456/http://www.netlib.org/fp/dtoa.c.
915
+ The original file, as retrieved on March 16, 2009, contains the following
916
+ copyright and licensing notice::
917
+
918
+ /****************************************************************
919
+ *
920
+ * The author of this software is David M. Gay.
921
+ *
922
+ * Copyright (c) 1991, 2000, 2001 by Lucent Technologies.
923
+ *
924
+ * Permission to use, copy, modify, and distribute this software for any
925
+ * purpose without fee is hereby granted, provided that this entire notice
926
+ * is included in all copies of any software which is or includes a copy
927
+ * or modification of this software and in all copies of the supporting
928
+ * documentation for such software.
929
+ *
930
+ * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
931
+ * WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR LUCENT MAKES ANY
932
+ * REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
933
+ * OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
934
+ *
935
+ ***************************************************************/
936
+
937
+
938
+ OpenSSL
939
+ -------
940
+
941
+ The modules :mod:`hashlib`, :mod:`posix` and :mod:`ssl` use
942
+ the OpenSSL library for added performance if made available by the
943
+ operating system. Additionally, the Windows and macOS installers for
944
+ Python may include a copy of the OpenSSL libraries, so we include a copy
945
+ of the OpenSSL license here. For the OpenSSL 3.0 release,
946
+ and later releases derived from that, the Apache License v2 applies::
947
+
948
+
949
+ Apache License
950
+ Version 2.0, January 2004
951
+ https://www.apache.org/licenses/
952
+
953
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
954
+
955
+ 1. Definitions.
956
+
957
+ "License" shall mean the terms and conditions for use, reproduction,
958
+ and distribution as defined by Sections 1 through 9 of this document.
959
+
960
+ "Licensor" shall mean the copyright owner or entity authorized by
961
+ the copyright owner that is granting the License.
962
+
963
+ "Legal Entity" shall mean the union of the acting entity and all
964
+ other entities that control, are controlled by, or are under common
965
+ control with that entity. For the purposes of this definition,
966
+ "control" means (i) the power, direct or indirect, to cause the
967
+ direction or management of such entity, whether by contract or
968
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
969
+ outstanding shares, or (iii) beneficial ownership of such entity.
970
+
971
+ "You" (or "Your") shall mean an individual or Legal Entity
972
+ exercising permissions granted by this License.
973
+
974
+ "Source" form shall mean the preferred form for making modifications,
975
+ including but not limited to software source code, documentation
976
+ source, and configuration files.
977
+
978
+ "Object" form shall mean any form resulting from mechanical
979
+ transformation or translation of a Source form, including but
980
+ not limited to compiled object code, generated documentation,
981
+ and conversions to other media types.
982
+
983
+ "Work" shall mean the work of authorship, whether in Source or
984
+ Object form, made available under the License, as indicated by a
985
+ copyright notice that is included in or attached to the work
986
+ (an example is provided in the Appendix below).
987
+
988
+ "Derivative Works" shall mean any work, whether in Source or Object
989
+ form, that is based on (or derived from) the Work and for which the
990
+ editorial revisions, annotations, elaborations, or other modifications
991
+ represent, as a whole, an original work of authorship. For the purposes
992
+ of this License, Derivative Works shall not include works that remain
993
+ separable from, or merely link (or bind by name) to the interfaces of,
994
+ the Work and Derivative Works thereof.
995
+
996
+ "Contribution" shall mean any work of authorship, including
997
+ the original version of the Work and any modifications or additions
998
+ to that Work or Derivative Works thereof, that is intentionally
999
+ submitted to Licensor for inclusion in the Work by the copyright owner
1000
+ or by an individual or Legal Entity authorized to submit on behalf of
1001
+ the copyright owner. For the purposes of this definition, "submitted"
1002
+ means any form of electronic, verbal, or written communication sent
1003
+ to the Licensor or its representatives, including but not limited to
1004
+ communication on electronic mailing lists, source code control systems,
1005
+ and issue tracking systems that are managed by, or on behalf of, the
1006
+ Licensor for the purpose of discussing and improving the Work, but
1007
+ excluding communication that is conspicuously marked or otherwise
1008
+ designated in writing by the copyright owner as "Not a Contribution."
1009
+
1010
+ "Contributor" shall mean Licensor and any individual or Legal Entity
1011
+ on behalf of whom a Contribution has been received by Licensor and
1012
+ subsequently incorporated within the Work.
1013
+
1014
+ 2. Grant of Copyright License. Subject to the terms and conditions of
1015
+ this License, each Contributor hereby grants to You a perpetual,
1016
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1017
+ copyright license to reproduce, prepare Derivative Works of,
1018
+ publicly display, publicly perform, sublicense, and distribute the
1019
+ Work and such Derivative Works in Source or Object form.
1020
+
1021
+ 3. Grant of Patent License. Subject to the terms and conditions of
1022
+ this License, each Contributor hereby grants to You a perpetual,
1023
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1024
+ (except as stated in this section) patent license to make, have made,
1025
+ use, offer to sell, sell, import, and otherwise transfer the Work,
1026
+ where such license applies only to those patent claims licensable
1027
+ by such Contributor that are necessarily infringed by their
1028
+ Contribution(s) alone or by combination of their Contribution(s)
1029
+ with the Work to which such Contribution(s) was submitted. If You
1030
+ institute patent litigation against any entity (including a
1031
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
1032
+ or a Contribution incorporated within the Work constitutes direct
1033
+ or contributory patent infringement, then any patent licenses
1034
+ granted to You under this License for that Work shall terminate
1035
+ as of the date such litigation is filed.
1036
+
1037
+ 4. Redistribution. You may reproduce and distribute copies of the
1038
+ Work or Derivative Works thereof in any medium, with or without
1039
+ modifications, and in Source or Object form, provided that You
1040
+ meet the following conditions:
1041
+
1042
+ (a) You must give any other recipients of the Work or
1043
+ Derivative Works a copy of this License; and
1044
+
1045
+ (b) You must cause any modified files to carry prominent notices
1046
+ stating that You changed the files; and
1047
+
1048
+ (c) You must retain, in the Source form of any Derivative Works
1049
+ that You distribute, all copyright, patent, trademark, and
1050
+ attribution notices from the Source form of the Work,
1051
+ excluding those notices that do not pertain to any part of
1052
+ the Derivative Works; and
1053
+
1054
+ (d) If the Work includes a "NOTICE" text file as part of its
1055
+ distribution, then any Derivative Works that You distribute must
1056
+ include a readable copy of the attribution notices contained
1057
+ within such NOTICE file, excluding those notices that do not
1058
+ pertain to any part of the Derivative Works, in at least one
1059
+ of the following places: within a NOTICE text file distributed
1060
+ as part of the Derivative Works; within the Source form or
1061
+ documentation, if provided along with the Derivative Works; or,
1062
+ within a display generated by the Derivative Works, if and
1063
+ wherever such third-party notices normally appear. The contents
1064
+ of the NOTICE file are for informational purposes only and
1065
+ do not modify the License. You may add Your own attribution
1066
+ notices within Derivative Works that You distribute, alongside
1067
+ or as an addendum to the NOTICE text from the Work, provided
1068
+ that such additional attribution notices cannot be construed
1069
+ as modifying the License.
1070
+
1071
+ You may add Your own copyright statement to Your modifications and
1072
+ may provide additional or different license terms and conditions
1073
+ for use, reproduction, or distribution of Your modifications, or
1074
+ for any such Derivative Works as a whole, provided Your use,
1075
+ reproduction, and distribution of the Work otherwise complies with
1076
+ the conditions stated in this License.
1077
+
1078
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
1079
+ any Contribution intentionally submitted for inclusion in the Work
1080
+ by You to the Licensor shall be under the terms and conditions of
1081
+ this License, without any additional terms or conditions.
1082
+ Notwithstanding the above, nothing herein shall supersede or modify
1083
+ the terms of any separate license agreement you may have executed
1084
+ with Licensor regarding such Contributions.
1085
+
1086
+ 6. Trademarks. This License does not grant permission to use the trade
1087
+ names, trademarks, service marks, or product names of the Licensor,
1088
+ except as required for reasonable and customary use in describing the
1089
+ origin of the Work and reproducing the content of the NOTICE file.
1090
+
1091
+ 7. Disclaimer of Warranty. Unless required by applicable law or
1092
+ agreed to in writing, Licensor provides the Work (and each
1093
+ Contributor provides its Contributions) on an "AS IS" BASIS,
1094
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1095
+ implied, including, without limitation, any warranties or conditions
1096
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1097
+ PARTICULAR PURPOSE. You are solely responsible for determining the
1098
+ appropriateness of using or redistributing the Work and assume any
1099
+ risks associated with Your exercise of permissions under this License.
1100
+
1101
+ 8. Limitation of Liability. In no event and under no legal theory,
1102
+ whether in tort (including negligence), contract, or otherwise,
1103
+ unless required by applicable law (such as deliberate and grossly
1104
+ negligent acts) or agreed to in writing, shall any Contributor be
1105
+ liable to You for damages, including any direct, indirect, special,
1106
+ incidental, or consequential damages of any character arising as a
1107
+ result of this License or out of the use or inability to use the
1108
+ Work (including but not limited to damages for loss of goodwill,
1109
+ work stoppage, computer failure or malfunction, or any and all
1110
+ other commercial damages or losses), even if such Contributor
1111
+ has been advised of the possibility of such damages.
1112
+
1113
+ 9. Accepting Warranty or Additional Liability. While redistributing
1114
+ the Work or Derivative Works thereof, You may choose to offer,
1115
+ and charge a fee for, acceptance of support, warranty, indemnity,
1116
+ or other liability obligations and/or rights consistent with this
1117
+ License. However, in accepting such obligations, You may act only
1118
+ on Your own behalf and on Your sole responsibility, not on behalf
1119
+ of any other Contributor, and only if You agree to indemnify,
1120
+ defend, and hold each Contributor harmless for any liability
1121
+ incurred by, or claims asserted against, such Contributor by reason
1122
+ of your accepting any such warranty or additional liability.
1123
+
1124
+ END OF TERMS AND CONDITIONS
1125
+
1126
+
1127
+ expat
1128
+ -----
1129
+
1130
+ The :mod:`pyexpat <xml.parsers.expat>` extension is built using an included copy of the expat
1131
+ sources unless the build is configured :option:`--with-system-expat`:
1132
+
1133
+ .. literalinclude:: ../Modules/expat/COPYING
1134
+ :language: text
1135
+
1136
+
1137
+ libffi
1138
+ ------
1139
+
1140
+ The :mod:`!_ctypes` C extension underlying the :mod:`ctypes` module
1141
+ is built using an included copy of the libffi
1142
+ sources unless the build is configured ``--with-system-libffi``::
1143
+
1144
+ Copyright (c) 1996-2008 Red Hat, Inc and others.
1145
+
1146
+ Permission is hereby granted, free of charge, to any person obtaining
1147
+ a copy of this software and associated documentation files (the
1148
+ "Software"), to deal in the Software without restriction, including
1149
+ without limitation the rights to use, copy, modify, merge, publish,
1150
+ distribute, sublicense, and/or sell copies of the Software, and to
1151
+ permit persons to whom the Software is furnished to do so, subject to
1152
+ the following conditions:
1153
+
1154
+ The above copyright notice and this permission notice shall be included
1155
+ in all copies or substantial portions of the Software.
1156
+
1157
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
1158
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1159
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
1160
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
1161
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
1162
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1163
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
1164
+ DEALINGS IN THE SOFTWARE.
1165
+
1166
+
1167
+ zlib
1168
+ ----
1169
+
1170
+ The :mod:`zlib` extension is built using an included copy of the zlib
1171
+ sources if the zlib version found on the system is too old to be
1172
+ used for the build::
1173
+
1174
+ Copyright (C) 1995-2011 Jean-loup Gailly and Mark Adler
1175
+
1176
+ This software is provided 'as-is', without any express or implied
1177
+ warranty. In no event will the authors be held liable for any damages
1178
+ arising from the use of this software.
1179
+
1180
+ Permission is granted to anyone to use this software for any purpose,
1181
+ including commercial applications, and to alter it and redistribute it
1182
+ freely, subject to the following restrictions:
1183
+
1184
+ 1. The origin of this software must not be misrepresented; you must not
1185
+ claim that you wrote the original software. If you use this software
1186
+ in a product, an acknowledgment in the product documentation would be
1187
+ appreciated but is not required.
1188
+
1189
+ 2. Altered source versions must be plainly marked as such, and must not be
1190
+ misrepresented as being the original software.
1191
+
1192
+ 3. This notice may not be removed or altered from any source distribution.
1193
+
1194
+ Jean-loup Gailly Mark Adler
1195
+ jloup@gzip.org madler@alumni.caltech.edu
1196
+
1197
+
1198
+ cfuhash
1199
+ -------
1200
+
1201
+ The implementation of the hash table used by the :mod:`tracemalloc` is based
1202
+ on the cfuhash project::
1203
+
1204
+ Copyright (c) 2005 Don Owens
1205
+ All rights reserved.
1206
+
1207
+ This code is released under the BSD license:
1208
+
1209
+ Redistribution and use in source and binary forms, with or without
1210
+ modification, are permitted provided that the following conditions
1211
+ are met:
1212
+
1213
+ * Redistributions of source code must retain the above copyright
1214
+ notice, this list of conditions and the following disclaimer.
1215
+
1216
+ * Redistributions in binary form must reproduce the above
1217
+ copyright notice, this list of conditions and the following
1218
+ disclaimer in the documentation and/or other materials provided
1219
+ with the distribution.
1220
+
1221
+ * Neither the name of the author nor the names of its
1222
+ contributors may be used to endorse or promote products derived
1223
+ from this software without specific prior written permission.
1224
+
1225
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1226
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1227
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
1228
+ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
1229
+ COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
1230
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1231
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1232
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1233
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
1234
+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
1235
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
1236
+ OF THE POSSIBILITY OF SUCH DAMAGE.
1237
+
1238
+
1239
+ libmpdec
1240
+ --------
1241
+
1242
+ The :mod:`!_decimal` C extension underlying the :mod:`decimal` module
1243
+ is built using an included copy of the libmpdec
1244
+ library unless the build is configured ``--with-system-libmpdec``::
1245
+
1246
+ Copyright (c) 2008-2020 Stefan Krah. All rights reserved.
1247
+
1248
+ Redistribution and use in source and binary forms, with or without
1249
+ modification, are permitted provided that the following conditions
1250
+ are met:
1251
+
1252
+ 1. Redistributions of source code must retain the above copyright
1253
+ notice, this list of conditions and the following disclaimer.
1254
+
1255
+ 2. Redistributions in binary form must reproduce the above copyright
1256
+ notice, this list of conditions and the following disclaimer in the
1257
+ documentation and/or other materials provided with the distribution.
1258
+
1259
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND
1260
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1261
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1262
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1263
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1264
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1265
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1266
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1267
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1268
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1269
+ SUCH DAMAGE.
1270
+
1271
+
1272
+ W3C C14N test suite
1273
+ -------------------
1274
+
1275
+ The C14N 2.0 test suite in the :mod:`test` package
1276
+ (``Lib/test/xmltestdata/c14n-20/``) was retrieved from the W3C website at
1277
+ https://www.w3.org/TR/xml-c14n2-testcases/ and is distributed under the
1278
+ 3-clause BSD license::
1279
+
1280
+ Copyright (c) 2013 W3C(R) (MIT, ERCIM, Keio, Beihang),
1281
+ All Rights Reserved.
1282
+
1283
+ Redistribution and use in source and binary forms, with or without
1284
+ modification, are permitted provided that the following conditions
1285
+ are met:
1286
+
1287
+ * Redistributions of works must retain the original copyright notice,
1288
+ this list of conditions and the following disclaimer.
1289
+ * Redistributions in binary form must reproduce the original copyright
1290
+ notice, this list of conditions and the following disclaimer in the
1291
+ documentation and/or other materials provided with the distribution.
1292
+ * Neither the name of the W3C nor the names of its contributors may be
1293
+ used to endorse or promote products derived from this work without
1294
+ specific prior written permission.
1295
+
1296
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1297
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1298
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1299
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1300
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1301
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1302
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1303
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1304
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1305
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1306
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1307
+
1308
+
1309
+ .. _mimalloc-license:
1310
+
1311
+ mimalloc
1312
+ --------
1313
+
1314
+ MIT License::
1315
+
1316
+ Copyright (c) 2018-2021 Microsoft Corporation, Daan Leijen
1317
+
1318
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1319
+ of this software and associated documentation files (the "Software"), to deal
1320
+ in the Software without restriction, including without limitation the rights
1321
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1322
+ copies of the Software, and to permit persons to whom the Software is
1323
+ furnished to do so, subject to the following conditions:
1324
+
1325
+ The above copyright notice and this permission notice shall be included in all
1326
+ copies or substantial portions of the Software.
1327
+
1328
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1329
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1330
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1331
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1332
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1333
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1334
+ SOFTWARE.
1335
+
1336
+
1337
+ asyncio
1338
+ ----------
1339
+
1340
+ Parts of the :mod:`asyncio` module are incorporated from
1341
+ `uvloop 0.16 <https://github.com/MagicStack/uvloop/tree/v0.16.0>`_,
1342
+ which is distributed under the MIT license::
1343
+
1344
+ Copyright (c) 2015-2021 MagicStack Inc. http://magic.io
1345
+
1346
+ Permission is hereby granted, free of charge, to any person obtaining
1347
+ a copy of this software and associated documentation files (the
1348
+ "Software"), to deal in the Software without restriction, including
1349
+ without limitation the rights to use, copy, modify, merge, publish,
1350
+ distribute, sublicense, and/or sell copies of the Software, and to
1351
+ permit persons to whom the Software is furnished to do so, subject to
1352
+ the following conditions:
1353
+
1354
+ The above copyright notice and this permission notice shall be
1355
+ included in all copies or substantial portions of the Software.
1356
+
1357
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
1358
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1359
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
1360
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
1361
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
1362
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
1363
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1364
+
1365
+
1366
+ Global Unbounded Sequences (GUS)
1367
+ --------------------------------
1368
+
1369
+ The file :file:`Python/qsbr.c` is adapted from FreeBSD's "Global Unbounded
1370
+ Sequences" safe memory reclamation scheme in
1371
+ `subr_smr.c <https://github.com/freebsd/freebsd-src/blob/main/sys/kern/subr_smr.c>`_.
1372
+ The file is distributed under the 2-Clause BSD License::
1373
+
1374
+ Copyright (c) 2019,2020 Jeffrey Roberson <jeff@FreeBSD.org>
1375
+
1376
+ Redistribution and use in source and binary forms, with or without
1377
+ modification, are permitted provided that the following conditions
1378
+ are met:
1379
+ 1. Redistributions of source code must retain the above copyright
1380
+ notice unmodified, this list of conditions, and the following
1381
+ disclaimer.
1382
+ 2. Redistributions in binary form must reproduce the above copyright
1383
+ notice, this list of conditions and the following disclaimer in the
1384
+ documentation and/or other materials provided with the distribution.
1385
+
1386
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR
1387
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
1388
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
1389
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
1390
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
1391
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1392
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1393
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1394
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
1395
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1396
+
1397
+
1398
+ Zstandard bindings
1399
+ ------------------
1400
+
1401
+ Zstandard bindings in :file:`Modules/_zstd` and :file:`Lib/compression/zstd`
1402
+ are based on code from the
1403
+ `pyzstd library <https://github.com/Rogdham/pyzstd/>`_, copyright Ma Lin and
1404
+ contributors. The pyzstd code is distributed under the 3-Clause BSD License::
1405
+
1406
+ Copyright (c) 2020-present, Ma Lin and contributors.
1407
+ All rights reserved.
1408
+
1409
+ Redistribution and use in source and binary forms, with or without
1410
+ modification, are permitted provided that the following conditions are met:
1411
+
1412
+ 1. Redistributions of source code must retain the above copyright notice, this
1413
+ list of conditions and the following disclaimer.
1414
+
1415
+ 2. Redistributions in binary form must reproduce the above copyright notice,
1416
+ this list of conditions and the following disclaimer in the documentation
1417
+ and/or other materials provided with the distribution.
1418
+
1419
+ 3. Neither the name of the copyright holder nor the names of its
1420
+ contributors may be used to endorse or promote products derived from
1421
+ this software without specific prior written permission.
1422
+
1423
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
1424
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1425
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1426
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
1427
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1428
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1429
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
1430
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
1431
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1432
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1433
+
1434
+
1435
+ Profiling module
1436
+ ----------------
1437
+
1438
+ The :mod:`!profiling` module includes vendored third-party libraries in
1439
+ :file:`Lib/profiling/sampling/_vendor/` with the following licenses:
1440
+
1441
+ **d3-flamegraph**
1442
+
1443
+ The d3-flamegraph library is distributed under the Apache License, Version 2.0.
1444
+ See the OpenSSL section above for the full text of the Apache License Version 2.0.
1445
+
1446
+ **d3.js**
1447
+
1448
+ The d3.js library contains the following notice::
1449
+
1450
+ Copyright 2010-2021 Mike Bostock
1451
+
1452
+ Permission to use, copy, modify, and/or distribute this software for any purpose
1453
+ with or without fee is hereby granted, provided that the above copyright notice
1454
+ and this permission notice appear in all copies.
1455
+
1456
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
1457
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
1458
+ FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
1459
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
1460
+ OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
1461
+ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
1462
+ THIS SOFTWARE.
1463
+
1464
+
1465
+ Pixi packages
1466
+ -------------
1467
+
1468
+ The Pixi package definitions found in :file:`Tools/pixi-packages` are derived
1469
+ from https://github.com/conda-forge/python-feedstock which contains the following
1470
+ license::
1471
+
1472
+ BSD-3-Clause license
1473
+ Copyright (c) 2015-2026, conda-forge contributors
1474
+ All rights reserved.
1475
+
1476
+ Redistribution and use in source and binary forms, with or without
1477
+ modification, are permitted provided that the following conditions are met:
1478
+
1479
+ 1. Redistributions of source code must retain the above copyright notice,
1480
+ this list of conditions and the following disclaimer.
1481
+ 2. Redistributions in binary form must reproduce the above copyright
1482
+ notice, this list of conditions and the following disclaimer in the
1483
+ documentation and/or other materials provided with the distribution.
1484
+ 3. Neither the name of the copyright holder nor the names of its
1485
+ contributors may be used to endorse or promote products derived from
1486
+ this software without specific prior written permission.
1487
+
1488
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
1489
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1490
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1491
+ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR
1492
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1493
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1494
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
1495
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1496
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1497
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
1498
+ DAMAGE.
1499
+
1500
+
1501
+ Unicode Character Database
1502
+ --------------------------
1503
+
1504
+ An extract of the `Unicode Character Database <https://www.unicode.org/ucd/>`__,
1505
+ converted to an internal format, is used by the :mod:`unicodedata` module and
1506
+ for the Unicode support of the :class:`str` type. The original Unicode data
1507
+ files are distributed under the `Unicode License <https://www.unicode.org/license.txt>`__::
1508
+
1509
+ UNICODE LICENSE V3
1510
+
1511
+ COPYRIGHT AND PERMISSION NOTICE
1512
+
1513
+ Copyright © 1991-2026 Unicode, Inc.
1514
+
1515
+ NOTICE TO USER: Carefully read the following legal agreement. BY
1516
+ DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
1517
+ SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
1518
+ TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
1519
+ DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
1520
+
1521
+ Permission is hereby granted, free of charge, to any person obtaining a
1522
+ copy of data files and any associated documentation (the "Data Files") or
1523
+ software and any associated documentation (the "Software") to deal in the
1524
+ Data Files or Software without restriction, including without limitation
1525
+ the rights to use, copy, modify, merge, publish, distribute, and/or sell
1526
+ copies of the Data Files or Software, and to permit persons to whom the
1527
+ Data Files or Software are furnished to do so, provided that either (a)
1528
+ this copyright and permission notice appear with all copies of the Data
1529
+ Files or Software, or (b) this copyright and permission notice appear in
1530
+ associated Documentation.
1531
+
1532
+ THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
1533
+ KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1534
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
1535
+ THIRD PARTY RIGHTS.
1536
+
1537
+ IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
1538
+ BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
1539
+ OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
1540
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
1541
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
1542
+ FILES OR SOFTWARE.
1543
+
1544
+ Except as contained in this notice, the name of a copyright holder shall
1545
+ not be used in advertising or otherwise to promote the sale, use or other
1546
+ dealings in these Data Files or Software without prior written
1547
+ authorization of the copyright holder.
1548
+
1549
+ ==== CPython Modules/_hacl (HACL*), the header of Hacl_Hash_SHA2.h ====
1550
+ /* MIT License
1551
+ *
1552
+ * Copyright (c) 2016-2022 INRIA, CMU and Microsoft Corporation
1553
+ * Copyright (c) 2022-2023 HACL* Contributors
1554
+ *
1555
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
1556
+ * of this software and associated documentation files (the "Software"), to deal
1557
+ * in the Software without restriction, including without limitation the rights
1558
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1559
+ * copies of the Software, and to permit persons to whom the Software is
1560
+ * furnished to do so, subject to the following conditions:
1561
+ *
1562
+ * The above copyright notice and this permission notice shall be included in all
1563
+ * copies or substantial portions of the Software.
1564
+ *
1565
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1566
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1567
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1568
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1569
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1570
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1571
+ * SOFTWARE.
1572
+ */
1573
+