历史和许可证

该软件的历史

Python 由荷兰数学和计算机科学研究学会(CWI,见 https://www.cwi.nl/ )的 Guido van Rossum 于 1990 年代初设计,作为一门叫做 ABC 的语言的替代品。尽管 Python 包含了许多来自其他人的贡献,Guido 仍是其主要作者。

1995 年,Guido 在弗吉尼亚州的国家创新研究公司(CNRI,见 https://www.cnri.reston.va.us/ )继续他在 Python 上的工作,并在那里发布了该软件的多个版本。

2000 年五月,Guido 和 Python 核心开发团队转到 BeOpen.com 并组建了 BeOpen PythonLabs 团队。 同年十月,PythonLabs 团队转到 Digital Creations (现为 Zope 公司;见 https://www.zope.org/)。 2001 年,Python 软件基金会 (PSF,见 https://www.python.org/psf/) 成立,这是一个专为拥有 Python 相关知识产权而创建的非营利组织。 Zope 公司现在是 Python 软件基金会的赞助成员。

所有的 Python 版本都是开源的(有关开源的定义参阅 https://opensource.org/ )。历史上,绝大多数 Python 版本是 GPL 兼容的;下表总结了各个版本情况。

发布版本

源自

年份

所有者

GPL 兼容?

0.9.0 至 1.2

n/a

1991-1995

CWI

1.3 至 1.5.2

1.2

1995-1999

CNRI

1.6

1.5.2

2000

CNRI

2.0

1.6

2000

BeOpen.com

1.6.1

1.6

2001

CNRI

2.1

2.0+1.6.1

2001

PSF

2.0.1

2.0+1.6.1

2001

PSF

2.1.1

2.1+2.0.1

2001

PSF

2.1.2

2.1.1

2002

PSF

2.1.3

2.1.2

2002

PSF

2.2 及更高

2.1.1

2001 至今

PSF

备注

GPL 兼容并不意味着 Python 在 GPL 下发布。与 GPL 不同,所有 Python 许可证都允许您分发修改后的版本,而无需开源所做的更改。GPL 兼容的许可证使得 Python 可以与其它在 GPL 下发布的软件结合使用;但其它的许可证则不行。

感谢众多在 Guido 指导下工作的外部志愿者,使得这些发布成为可能。

获取或以其他方式使用 Python 的条款和条件

Python 软件和文档的使用许可均基于 PSF 许可协议

从 Python 3.8.6 开始,文档中的示例、操作指导和其他代码采用的是 PSF 许可协议和 零条款 BSD 许可 的双重使用许可。

某些包含在 Python 中的软件基于不同的许可。这些许可会与相应许可之下的代码一同列出。有关这些许可的不完整列表请参阅 收录软件的许可与鸣谢

用于 PYTHON 3.11.0 的 PSF 许可协议

  1. 1. This LICENSE AGREEMENT is between the Python Software Foundation ("PSF"), and
  2. the Individual or Organization ("Licensee") accessing and otherwise using Python
  3. 3.11.0 software in source or binary form and its associated documentation.
  4. 2. Subject to the terms and conditions of this License Agreement, PSF hereby
  5. grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
  6. analyze, test, perform and/or display publicly, prepare derivative works,
  7. distribute, and otherwise use Python 3.11.0 alone or in any derivative
  8. version, provided, however, that PSF's License Agreement and PSF's notice of
  9. copyright, i.e., "Copyright © 2001-2022 Python Software Foundation; All Rights
  10. Reserved" are retained in Python 3.11.0 alone or in any derivative version
  11. prepared by Licensee.
  12. 3. In the event Licensee prepares a derivative work that is based on or
  13. incorporates Python 3.11.0 or any part thereof, and wants to make the
  14. derivative work available to others as provided herein, then Licensee hereby
  15. agrees to include in any such work a brief summary of the changes made to Python
  16. 3.11.0.
  17. 4. PSF is making Python 3.11.0 available to Licensee on an "AS IS" basis.
  18. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF
  19. EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR
  20. WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE
  21. USE OF PYTHON 3.11.0 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
  22. 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 3.11.0
  23. FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF
  24. MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 3.11.0, OR ANY DERIVATIVE
  25. THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
  26. 6. This License Agreement will automatically terminate upon a material breach of
  27. its terms and conditions.
  28. 7. Nothing in this License Agreement shall be deemed to create any relationship
  29. of agency, partnership, or joint venture between PSF and Licensee. This License
  30. Agreement does not grant permission to use PSF trademarks or trade name in a
  31. trademark sense to endorse or promote products or services of Licensee, or any
  32. third party.
  33. 8. By copying, installing or otherwise using Python 3.11.0, Licensee agrees
  34. to be bound by the terms and conditions of this License Agreement.

用于 PYTHON 2.0 的 BEOPEN.COM 许可协议

BEOPEN PYTHON 开源许可协议第 1 版

  1. 1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an office at
  2. 160 Saratoga Avenue, Santa Clara, CA 95051, and the Individual or Organization
  3. ("Licensee") accessing and otherwise using this software in source or binary
  4. form and its associated documentation ("the Software").
  5. 2. Subject to the terms and conditions of this BeOpen Python License Agreement,
  6. BeOpen hereby grants Licensee a non-exclusive, royalty-free, world-wide license
  7. to reproduce, analyze, test, perform and/or display publicly, prepare derivative
  8. works, distribute, and otherwise use the Software alone or in any derivative
  9. version, provided, however, that the BeOpen Python License is retained in the
  10. Software, alone or in any derivative version prepared by Licensee.
  11. 3. BeOpen is making the Software available to Licensee on an "AS IS" basis.
  12. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF
  13. EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND DISCLAIMS ANY REPRESENTATION OR
  14. WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE
  15. USE OF THE SOFTWARE WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
  16. 4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE SOFTWARE FOR
  17. ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF USING,
  18. MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY DERIVATIVE THEREOF, EVEN IF
  19. ADVISED OF THE POSSIBILITY THEREOF.
  20. 5. This License Agreement will automatically terminate upon a material breach of
  21. its terms and conditions.
  22. 6. This License Agreement shall be governed by and interpreted in all respects
  23. by the law of the State of California, excluding conflict of law provisions.
  24. Nothing in this License Agreement shall be deemed to create any relationship of
  25. agency, partnership, or joint venture between BeOpen and Licensee. This License
  26. Agreement does not grant permission to use BeOpen trademarks or trade names in a
  27. trademark sense to endorse or promote products or services of Licensee, or any
  28. third party. As an exception, the "BeOpen Python" logos available at
  29. http://www.pythonlabs.com/logos.html may be used according to the permissions
  30. granted on that web page.
  31. 7. By copying, installing or otherwise using the software, Licensee agrees to be
  32. bound by the terms and conditions of this License Agreement.

用于 PYTHON 1.6.1 的 CNRI 许可协议

  1. 1. This LICENSE AGREEMENT is between the Corporation for National Research
  2. Initiatives, having an office at 1895 Preston White Drive, Reston, VA 20191
  3. ("CNRI"), and the Individual or Organization ("Licensee") accessing and
  4. otherwise using Python 1.6.1 software in source or binary form and its
  5. associated documentation.
  6. 2. Subject to the terms and conditions of this License Agreement, CNRI hereby
  7. grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
  8. analyze, test, perform and/or display publicly, prepare derivative works,
  9. distribute, and otherwise use Python 1.6.1 alone or in any derivative version,
  10. provided, however, that CNRI's License Agreement and CNRI's notice of copyright,
  11. i.e., "Copyright © 1995-2001 Corporation for National Research Initiatives; All
  12. Rights Reserved" are retained in Python 1.6.1 alone or in any derivative version
  13. prepared by Licensee. Alternately, in lieu of CNRI's License Agreement,
  14. Licensee may substitute the following text (omitting the quotes): "Python 1.6.1
  15. is made available subject to the terms and conditions in CNRI's License
  16. Agreement. This Agreement together with Python 1.6.1 may be located on the
  17. internet using the following unique, persistent identifier (known as a handle):
  18. 1895.22/1013. This Agreement may also be obtained from a proxy server on the
  19. internet using the following URL: http://hdl.handle.net/1895.22/1013."
  20. 3. In the event Licensee prepares a derivative work that is based on or
  21. incorporates Python 1.6.1 or any part thereof, and wants to make the derivative
  22. work available to others as provided herein, then Licensee hereby agrees to
  23. include in any such work a brief summary of the changes made to Python 1.6.1.
  24. 4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS" basis. CNRI
  25. MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE,
  26. BUT NOT LIMITATION, CNRI MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY
  27. OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF
  28. PYTHON 1.6.1 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
  29. 5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 1.6.1 FOR
  30. ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF
  31. MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1, OR ANY DERIVATIVE
  32. THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
  33. 6. This License Agreement will automatically terminate upon a material breach of
  34. its terms and conditions.
  35. 7. This License Agreement shall be governed by the federal intellectual property
  36. law of the United States, including without limitation the federal copyright
  37. law, and, to the extent such U.S. federal law does not apply, by the law of the
  38. Commonwealth of Virginia, excluding Virginia's conflict of law provisions.
  39. Notwithstanding the foregoing, with regard to derivative works based on Python
  40. 1.6.1 that incorporate non-separable material that was previously distributed
  41. under the GNU General Public License (GPL), the law of the Commonwealth of
  42. Virginia shall govern this License Agreement only as to issues arising under or
  43. with respect to Paragraphs 4, 5, and 7 of this License Agreement. Nothing in
  44. this License Agreement shall be deemed to create any relationship of agency,
  45. partnership, or joint venture between CNRI and Licensee. This License Agreement
  46. does not grant permission to use CNRI trademarks or trade name in a trademark
  47. sense to endorse or promote products or services of Licensee, or any third
  48. party.
  49. 8. By clicking on the "ACCEPT" button where indicated, or by copying, installing
  50. or otherwise using Python 1.6.1, Licensee agrees to be bound by the terms and
  51. conditions of this License Agreement.

用于 PYTHON 0.9.0 至 1.2 的 CWI 许可协议

  1. Copyright © 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, The
  2. Netherlands. All rights reserved.
  3. Permission to use, copy, modify, and distribute this software and its
  4. documentation for any purpose and without fee is hereby granted, provided that
  5. the above copyright notice appear in all copies and that both that copyright
  6. notice and this permission notice appear in supporting documentation, and that
  7. the name of Stichting Mathematisch Centrum or CWI not be used in advertising or
  8. publicity pertaining to distribution of the software without specific, written
  9. prior permission.
  10. STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
  11. SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
  12. EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE FOR ANY SPECIAL, INDIRECT
  13. OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
  14. DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
  15. ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  16. SOFTWARE.

ZERO-CLAUSE BSD LICENSE FOR CODE IN THE PYTHON 3.11.0 DOCUMENTATION

  1. Permission to use, copy, modify, and/or distribute this software for any
  2. purpose with or without fee is hereby granted.
  3. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
  4. REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  5. AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
  6. INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  7. LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  8. OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  9. PERFORMANCE OF THIS SOFTWARE.

收录软件的许可与鸣谢

本节是Python发行版中收录的第三方软件的许可和致谢清单,该清单是不完整且不断增长的。

Mersenne Twister

_random 模块包含基于 http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/emt19937ar.html 下载的代码。以下是原始代码的完整注释(声明):

  1. A C-program for MT19937, with initialization improved 2002/1/26.
  2. Coded by Takuji Nishimura and Makoto Matsumoto.
  3. Before using, initialize the state by using init_genrand(seed)
  4. or init_by_array(init_key, key_length).
  5. Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
  6. All rights reserved.
  7. Redistribution and use in source and binary forms, with or without
  8. modification, are permitted provided that the following conditions
  9. are met:
  10. 1. Redistributions of source code must retain the above copyright
  11. notice, this list of conditions and the following disclaimer.
  12. 2. Redistributions in binary form must reproduce the above copyright
  13. notice, this list of conditions and the following disclaimer in the
  14. documentation and/or other materials provided with the distribution.
  15. 3. The names of its contributors may not be used to endorse or promote
  16. products derived from this software without specific prior written
  17. permission.
  18. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  19. "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  20. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  21. A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  22. CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  23. EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  24. PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  25. PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
  26. LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  27. NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  28. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  29. Any feedback is very welcome.
  30. http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html
  31. email: m-mat @ math.sci.hiroshima-u.ac.jp (remove space)

套接字

The socket module uses the functions, getaddrinfo(), and getnameinfo(), which are coded in separate source files from the WIDE Project, https://www.wide.ad.jp/.

  1. Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
  2. All rights reserved.
  3. Redistribution and use in source and binary forms, with or without
  4. modification, are permitted provided that the following conditions
  5. are met:
  6. 1. Redistributions of source code must retain the above copyright
  7. notice, this list of conditions and the following disclaimer.
  8. 2. Redistributions in binary form must reproduce the above copyright
  9. notice, this list of conditions and the following disclaimer in the
  10. documentation and/or other materials provided with the distribution.
  11. 3. Neither the name of the project nor the names of its contributors
  12. may be used to endorse or promote products derived from this software
  13. without specific prior written permission.
  14. THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
  15. ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  16. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  17. ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
  18. FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  19. DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  20. OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  21. HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  22. LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  23. OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  24. SUCH DAMAGE.

异步套接字服务

asynchatasyncore 模块包含以下声明:

  1. Copyright 1996 by Sam Rushing
  2. All Rights Reserved
  3. Permission to use, copy, modify, and distribute this software and
  4. its documentation for any purpose and without fee is hereby
  5. granted, provided that the above copyright notice appear in all
  6. copies and that both that copyright notice and this permission
  7. notice appear in supporting documentation, and that the name of Sam
  8. Rushing not be used in advertising or publicity pertaining to
  9. distribution of the software without specific, written prior
  10. permission.
  11. SAM RUSHING DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
  12. INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
  13. NO EVENT SHALL SAM RUSHING BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  14. CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
  15. OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
  16. NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  17. CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

http.cookies 模块包含以下声明:

  1. Copyright 2000 by Timothy O'Malley <timo@alum.mit.edu>
  2. All Rights Reserved
  3. Permission to use, copy, modify, and distribute this software
  4. and its documentation for any purpose and without fee is hereby
  5. granted, provided that the above copyright notice appear in all
  6. copies and that both that copyright notice and this permission
  7. notice appear in supporting documentation, and that the name of
  8. Timothy O'Malley not be used in advertising or publicity
  9. pertaining to distribution of the software without specific, written
  10. prior permission.
  11. Timothy O'Malley DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
  12. SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  13. AND FITNESS, IN NO EVENT SHALL Timothy O'Malley BE LIABLE FOR
  14. ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  15. WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  16. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
  17. ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  18. PERFORMANCE OF THIS SOFTWARE.

执行追踪

trace 模块包含以下声明:

  1. portions copyright 2001, Autonomous Zones Industries, Inc., all rights...
  2. err... reserved and offered to the public under the terms of the
  3. Python 2.2 license.
  4. Author: Zooko O'Whielacronx
  5. http://zooko.com/
  6. mailto:zooko@zooko.com
  7. Copyright 2000, Mojam Media, Inc., all rights reserved.
  8. Author: Skip Montanaro
  9. Copyright 1999, Bioreason, Inc., all rights reserved.
  10. Author: Andrew Dalke
  11. Copyright 1995-1997, Automatrix, Inc., all rights reserved.
  12. Author: Skip Montanaro
  13. Copyright 1991-1995, Stichting Mathematisch Centrum, all rights reserved.
  14. Permission to use, copy, modify, and distribute this Python software and
  15. its associated documentation for any purpose without fee is hereby
  16. granted, provided that the above copyright notice appears in all copies,
  17. and that both that copyright notice and this permission notice appear in
  18. supporting documentation, and that the name of neither Automatrix,
  19. Bioreason or Mojam Media be used in advertising or publicity pertaining to
  20. distribution of the software without specific, written prior permission.

UUencode 与 UUdecode 函数

uu 模块包含以下声明:

  1. Copyright 1994 by Lance Ellinghouse
  2. Cathedral City, California Republic, United States of America.
  3. All Rights Reserved
  4. Permission to use, copy, modify, and distribute this software and its
  5. documentation for any purpose and without fee is hereby granted,
  6. provided that the above copyright notice appear in all copies and that
  7. both that copyright notice and this permission notice appear in
  8. supporting documentation, and that the name of Lance Ellinghouse
  9. not be used in advertising or publicity pertaining to distribution
  10. of the software without specific, written prior permission.
  11. LANCE ELLINGHOUSE DISCLAIMS ALL WARRANTIES WITH REGARD TO
  12. THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
  13. FITNESS, IN NO EVENT SHALL LANCE ELLINGHOUSE CENTRUM BE LIABLE
  14. FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  15. WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  16. ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
  17. OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  18. Modified by Jack Jansen, CWI, July 1995:
  19. - Use binascii module to do the actual line-by-line conversion
  20. between ascii and binary. This results in a 1000-fold speedup. The C
  21. version is still 5 times faster, though.
  22. - Arguments more compliant with Python standard

XML 远程过程调用

xmlrpc.client 模块包含以下声明:

  1. The XML-RPC client interface is
  2. Copyright (c) 1999-2002 by Secret Labs AB
  3. Copyright (c) 1999-2002 by Fredrik Lundh
  4. By obtaining, using, and/or copying this software and/or its
  5. associated documentation, you agree that you have read, understood,
  6. and will comply with the following terms and conditions:
  7. Permission to use, copy, modify, and distribute this software and
  8. its associated documentation for any purpose and without fee is
  9. hereby granted, provided that the above copyright notice appears in
  10. all copies, and that both that copyright notice and this permission
  11. notice appear in supporting documentation, and that the name of
  12. Secret Labs AB or the author not be used in advertising or publicity
  13. pertaining to distribution of the software without specific, written
  14. prior permission.
  15. SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD
  16. TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANT-
  17. ABILITY AND FITNESS. IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR
  18. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
  19. DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  20. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
  21. ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
  22. OF THIS SOFTWARE.

test_epoll

test_epoll 模块包含以下声明:

  1. Copyright (c) 2001-2006 Twisted Matrix Laboratories.
  2. Permission is hereby granted, free of charge, to any person obtaining
  3. a copy of this software and associated documentation files (the
  4. "Software"), to deal in the Software without restriction, including
  5. without limitation the rights to use, copy, modify, merge, publish,
  6. distribute, sublicense, and/or sell copies of the Software, and to
  7. permit persons to whom the Software is furnished to do so, subject to
  8. the following conditions:
  9. The above copyright notice and this permission notice shall be
  10. included in all copies or substantial portions of the Software.
  11. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  12. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  13. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  14. NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  15. LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  16. OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  17. WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Select kqueue

select 模块关于 kqueue 的接口包含以下声明:

  1. Copyright (c) 2000 Doug White, 2006 James Knight, 2007 Christian Heimes
  2. All rights reserved.
  3. Redistribution and use in source and binary forms, with or without
  4. modification, are permitted provided that the following conditions
  5. are met:
  6. 1. Redistributions of source code must retain the above copyright
  7. notice, this list of conditions and the following disclaimer.
  8. 2. Redistributions in binary form must reproduce the above copyright
  9. notice, this list of conditions and the following disclaimer in the
  10. documentation and/or other materials provided with the distribution.
  11. THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
  12. ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  13. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  14. ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
  15. FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  16. DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  17. OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  18. HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  19. LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  20. OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  21. SUCH DAMAGE.

SipHash24

Python/pyhash.c 文件包含 Marek Majkowski’ 对 Dan Bernstein 的SipHash24 算法的实现。它包含以下声明:

  1. <MIT License>
  2. Copyright (c) 2013 Marek Majkowski <marek@popcount.org>
  3. Permission is hereby granted, free of charge, to any person obtaining a copy
  4. of this software and associated documentation files (the "Software"), to deal
  5. in the Software without restriction, including without limitation the rights
  6. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  7. copies of the Software, and to permit persons to whom the Software is
  8. furnished to do so, subject to the following conditions:
  9. The above copyright notice and this permission notice shall be included in
  10. all copies or substantial portions of the Software.
  11. </MIT License>
  12. Original location:
  13. https://github.com/majek/csiphash/
  14. Solution inspired by code from:
  15. Samuel Neves (supercop/crypto_auth/siphash24/little)
  16. djb (supercop/crypto_auth/siphash24/little2)
  17. Jean-Philippe Aumasson (https://131002.net/siphash/siphash24.c)

strtod 和 dtoa

The file Python/dtoa.c, which supplies C functions dtoa and strtod for conversion of C doubles to and from strings, is derived from the file of the same name by David M. Gay, currently available from https://web.archive.org/web/20220517033456/http://www.netlib.org/fp/dtoa.c. The original file, as retrieved on March 16, 2009, contains the following copyright and licensing notice:

  1. /****************************************************************
  2. *
  3. * The author of this software is David M. Gay.
  4. *
  5. * Copyright (c) 1991, 2000, 2001 by Lucent Technologies.
  6. *
  7. * Permission to use, copy, modify, and distribute this software for any
  8. * purpose without fee is hereby granted, provided that this entire notice
  9. * is included in all copies of any software which is or includes a copy
  10. * or modification of this software and in all copies of the supporting
  11. * documentation for such software.
  12. *
  13. * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
  14. * WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR LUCENT MAKES ANY
  15. * REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
  16. * OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
  17. *
  18. ***************************************************************/

OpenSSL

如果操作系统可用,则 hashlibposixsslcrypt 模块使用 OpenSSL 库来提高性能。此外,适用于 Python 的 Windows 和 macoS 安装程序可能包括 OpenSSL 库的拷贝,所以在此处也列出了 OpenSSL 许可证的拷贝:

  1. LICENSE ISSUES
  2. ==============
  3. The OpenSSL toolkit stays under a dual license, i.e. both the conditions of
  4. the OpenSSL License and the original SSLeay license apply to the toolkit.
  5. See below for the actual license texts. Actually both licenses are BSD-style
  6. Open Source licenses. In case of any license issues related to OpenSSL
  7. please contact openssl-core@openssl.org.
  8. OpenSSL License
  9. ---------------
  10. /* ====================================================================
  11. * Copyright (c) 1998-2008 The OpenSSL Project. All rights reserved.
  12. *
  13. * Redistribution and use in source and binary forms, with or without
  14. * modification, are permitted provided that the following conditions
  15. * are met:
  16. *
  17. * 1. Redistributions of source code must retain the above copyright
  18. * notice, this list of conditions and the following disclaimer.
  19. *
  20. * 2. Redistributions in binary form must reproduce the above copyright
  21. * notice, this list of conditions and the following disclaimer in
  22. * the documentation and/or other materials provided with the
  23. * distribution.
  24. *
  25. * 3. All advertising materials mentioning features or use of this
  26. * software must display the following acknowledgment:
  27. * "This product includes software developed by the OpenSSL Project
  28. * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
  29. *
  30. * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
  31. * endorse or promote products derived from this software without
  32. * prior written permission. For written permission, please contact
  33. * openssl-core@openssl.org.
  34. *
  35. * 5. Products derived from this software may not be called "OpenSSL"
  36. * nor may "OpenSSL" appear in their names without prior written
  37. * permission of the OpenSSL Project.
  38. *
  39. * 6. Redistributions of any form whatsoever must retain the following
  40. * acknowledgment:
  41. * "This product includes software developed by the OpenSSL Project
  42. * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
  43. *
  44. * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
  45. * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  46. * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  47. * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
  48. * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  49. * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  50. * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  51. * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  52. * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  53. * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  54. * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
  55. * OF THE POSSIBILITY OF SUCH DAMAGE.
  56. * ====================================================================
  57. *
  58. * This product includes cryptographic software written by Eric Young
  59. * (eay@cryptsoft.com). This product includes software written by Tim
  60. * Hudson (tjh@cryptsoft.com).
  61. *
  62. */
  63. Original SSLeay License
  64. -----------------------
  65. /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
  66. * All rights reserved.
  67. *
  68. * This package is an SSL implementation written
  69. * by Eric Young (eay@cryptsoft.com).
  70. * The implementation was written so as to conform with Netscapes SSL.
  71. *
  72. * This library is free for commercial and non-commercial use as long as
  73. * the following conditions are aheared to. The following conditions
  74. * apply to all code found in this distribution, be it the RC4, RSA,
  75. * lhash, DES, etc., code; not just the SSL code. The SSL documentation
  76. * included with this distribution is covered by the same copyright terms
  77. * except that the holder is Tim Hudson (tjh@cryptsoft.com).
  78. *
  79. * Copyright remains Eric Young's, and as such any Copyright notices in
  80. * the code are not to be removed.
  81. * If this package is used in a product, Eric Young should be given attribution
  82. * as the author of the parts of the library used.
  83. * This can be in the form of a textual message at program startup or
  84. * in documentation (online or textual) provided with the package.
  85. *
  86. * Redistribution and use in source and binary forms, with or without
  87. * modification, are permitted provided that the following conditions
  88. * are met:
  89. * 1. Redistributions of source code must retain the copyright
  90. * notice, this list of conditions and the following disclaimer.
  91. * 2. Redistributions in binary form must reproduce the above copyright
  92. * notice, this list of conditions and the following disclaimer in the
  93. * documentation and/or other materials provided with the distribution.
  94. * 3. All advertising materials mentioning features or use of this software
  95. * must display the following acknowledgement:
  96. * "This product includes cryptographic software written by
  97. * Eric Young (eay@cryptsoft.com)"
  98. * The word 'cryptographic' can be left out if the rouines from the library
  99. * being used are not cryptographic related :-).
  100. * 4. If you include any Windows specific code (or a derivative thereof) from
  101. * the apps directory (application code) you must include an acknowledgement:
  102. * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
  103. *
  104. * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  105. * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  106. * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  107. * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
  108. * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  109. * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  110. * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  111. * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  112. * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  113. * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  114. * SUCH DAMAGE.
  115. *
  116. * The licence and distribution terms for any publically available version or
  117. * derivative of this code cannot be changed. i.e. this code cannot simply be
  118. * copied and put under another distribution licence
  119. * [including the GNU Public Licence.]
  120. */

expat

除非使用 --with-system-expat 配置了构建,否则 pyexpat 扩展都是用包含 expat源的拷贝构建的:

  1. Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
  2. and Clark Cooper
  3. Permission is hereby granted, free of charge, to any person obtaining
  4. a copy of this software and associated documentation files (the
  5. "Software"), to deal in the Software without restriction, including
  6. without limitation the rights to use, copy, modify, merge, publish,
  7. distribute, sublicense, and/or sell copies of the Software, and to
  8. permit persons to whom the Software is furnished to do so, subject to
  9. the following conditions:
  10. The above copyright notice and this permission notice shall be included
  11. in all copies or substantial portions of the Software.
  12. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  13. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  14. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  15. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  16. CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  17. TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  18. SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

libffi

除非使用 --with-system-libffi 配置了构建,否则 _ctypes 扩展都是包含 libffi源的拷贝构建的:

  1. Copyright (c) 1996-2008 Red Hat, Inc and others.
  2. Permission is hereby granted, free of charge, to any person obtaining
  3. a copy of this software and associated documentation files (the
  4. ``Software''), to deal in the Software without restriction, including
  5. without limitation the rights to use, copy, modify, merge, publish,
  6. distribute, sublicense, and/or sell copies of the Software, and to
  7. permit persons to whom the Software is furnished to do so, subject to
  8. the following conditions:
  9. The above copyright notice and this permission notice shall be included
  10. in all copies or substantial portions of the Software.
  11. THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,
  12. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  13. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  14. NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
  15. HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  16. WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  17. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  18. DEALINGS IN THE SOFTWARE.

zlib

如果系统上找到的zlib版本太旧而无法用于构建,则使用包含 zlib源代码的拷贝来构建 zlib 扩展:

  1. Copyright (C) 1995-2011 Jean-loup Gailly and Mark Adler
  2. This software is provided 'as-is', without any express or implied
  3. warranty. In no event will the authors be held liable for any damages
  4. arising from the use of this software.
  5. Permission is granted to anyone to use this software for any purpose,
  6. including commercial applications, and to alter it and redistribute it
  7. freely, subject to the following restrictions:
  8. 1. The origin of this software must not be misrepresented; you must not
  9. claim that you wrote the original software. If you use this software
  10. in a product, an acknowledgment in the product documentation would be
  11. appreciated but is not required.
  12. 2. Altered source versions must be plainly marked as such, and must not be
  13. misrepresented as being the original software.
  14. 3. This notice may not be removed or altered from any source distribution.
  15. Jean-loup Gailly Mark Adler
  16. jloup@gzip.org madler@alumni.caltech.edu

cfuhash

tracemalloc 使用的哈希表的实现基于 cfuhash项目:

  1. Copyright (c) 2005 Don Owens
  2. All rights reserved.
  3. This code is released under the BSD license:
  4. Redistribution and use in source and binary forms, with or without
  5. modification, are permitted provided that the following conditions
  6. are met:
  7. * Redistributions of source code must retain the above copyright
  8. notice, this list of conditions and the following disclaimer.
  9. * Redistributions in binary form must reproduce the above
  10. copyright notice, this list of conditions and the following
  11. disclaimer in the documentation and/or other materials provided
  12. with the distribution.
  13. * Neither the name of the author nor the names of its
  14. contributors may be used to endorse or promote products derived
  15. from this software without specific prior written permission.
  16. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  17. "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  18. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  19. FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
  20. COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
  21. INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  22. (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  23. SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  24. HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  25. STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  26. ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
  27. OF THE POSSIBILITY OF SUCH DAMAGE.

libmpdec

除非使用 --with-system-libmpdec 配置了构建,否则 _decimal 模块都是用包含 libmpdec 库的拷贝构建的。

  1. Copyright (c) 2008-2020 Stefan Krah. All rights reserved.
  2. Redistribution and use in source and binary forms, with or without
  3. modification, are permitted provided that the following conditions
  4. are met:
  5. 1. Redistributions of source code must retain the above copyright
  6. notice, this list of conditions and the following disclaimer.
  7. 2. Redistributions in binary form must reproduce the above copyright
  8. notice, this list of conditions and the following disclaimer in the
  9. documentation and/or other materials provided with the distribution.
  10. THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND
  11. ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  12. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  13. ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
  14. FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  15. DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  16. OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  17. HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  18. LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  19. OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  20. SUCH DAMAGE.

W3C C14N 测试套件

test 包中的 C14N 2.0 测试集 (Lib/test/xmltestdata/c14n-20/) 提取自 W3C 网站 https://www.w3.org/TR/xml-c14n2-testcases/ 并根据 3 条款版 BSD 许可证发行:

  1. Copyright (c) 2013 W3C(R) (MIT, ERCIM, Keio, Beihang),
  2. All Rights Reserved.
  3. Redistribution and use in source and binary forms, with or without
  4. modification, are permitted provided that the following conditions
  5. are met:
  6. * Redistributions of works must retain the original copyright notice,
  7. this list of conditions and the following disclaimer.
  8. * Redistributions in binary form must reproduce the original copyright
  9. notice, this list of conditions and the following disclaimer in the
  10. documentation and/or other materials provided with the distribution.
  11. * Neither the name of the W3C nor the names of its contributors may be
  12. used to endorse or promote products derived from this work without
  13. specific prior written permission.
  14. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  15. "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  16. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  17. A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  18. OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  19. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  20. LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  21. DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  22. THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  23. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  24. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Audioop

The audioop module uses the code base in g771.c file of the SoX project::

Programming the AdLib/Sound Blaster FM Music Chips Version 2.0 (24 Feb 1992) Copyright (c) 1991, 1992 by Jeffrey S. Lee jlee@smylex.uucp Warranty and Copyright Policy This document is provided on an “as-is” basis, and its author makes no warranty or representation, express or implied, with respect to its quality performance or fitness for a particular purpose. In no event will the author of this document be liable for direct, indirect, special, incidental, or consequential damages arising out of the use or inability to use the information contained within. Use of this document is at your own risk. This file may be used and copied freely so long as the applicable copyright notices are retained, and no modifications are made to the text of the document. No money shall be charged for its distribution beyond reasonable shipping, handling and duplication costs, nor shall proprietary changes be made to this document so that it cannot be distributed freely. This document may not be included in published material or commercial packages without the written consent of its author.