LICENSE.txt 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. Note: The type hints included in this package come from the typeshed project,
  2. and are hence distributed under the Apache License 2.0 rather than under the
  3. Python Software License that covers the module implementation and test suite.
  4. A. HISTORY OF THE SOFTWARE
  5. ==========================
  6. contextlib2 is a derivative of the contextlib module distributed by the PSF
  7. as part of the Python standard library. According, it is itself redistributed
  8. under the PSF license (reproduced in full below). As the contextlib module
  9. was added only in Python 2.5, the licenses for earlier Python versions are
  10. not applicable and have not been included.
  11. Python was created in the early 1990s by Guido van Rossum at Stichting
  12. Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands
  13. as a successor of a language called ABC. Guido remains Python's
  14. principal author, although it includes many contributions from others.
  15. In 1995, Guido continued his work on Python at the Corporation for
  16. National Research Initiatives (CNRI, see http://www.cnri.reston.va.us)
  17. in Reston, Virginia where he released several versions of the
  18. software.
  19. In May 2000, Guido and the Python core development team moved to
  20. BeOpen.com to form the BeOpen PythonLabs team. In October of the same
  21. year, the PythonLabs team moved to Digital Creations (now Zope
  22. Corporation, see http://www.zope.com). In 2001, the Python Software
  23. Foundation (PSF, see http://www.python.org/psf/) was formed, a
  24. non-profit organization created specifically to own Python-related
  25. Intellectual Property. Zope Corporation is a sponsoring member of
  26. the PSF.
  27. All Python releases are Open Source (see http://www.opensource.org for
  28. the Open Source Definition). Historically, most, but not all, Python
  29. releases have also been GPL-compatible; the table below summarizes
  30. the various releases that included the contextlib module.
  31. Release Derived Year Owner GPL-
  32. from compatible? (1)
  33. 2.5 2.4 2006 PSF yes
  34. 2.5.1 2.5 2007 PSF yes
  35. 2.5.2 2.5.1 2008 PSF yes
  36. 2.5.3 2.5.2 2008 PSF yes
  37. 2.6 2.5 2008 PSF yes
  38. 2.6.1 2.6 2008 PSF yes
  39. 2.6.2 2.6.1 2009 PSF yes
  40. 2.6.3 2.6.2 2009 PSF yes
  41. 2.6.4 2.6.3 2009 PSF yes
  42. 2.6.5 2.6.4 2010 PSF yes
  43. 3.0 2.6 2008 PSF yes
  44. 3.0.1 3.0 2009 PSF yes
  45. 3.1 3.0.1 2009 PSF yes
  46. 3.1.1 3.1 2009 PSF yes
  47. 3.1.2 3.1.1 2010 PSF yes
  48. 3.1.3 3.1.2 2010 PSF yes
  49. 3.1.4 3.1.3 2011 PSF yes
  50. 3.2 3.1 2011 PSF yes
  51. 3.2.1 3.2 2011 PSF yes
  52. 3.2.2 3.2.1 2011 PSF yes
  53. 3.3 3.2 2012 PSF yes
  54. Footnotes:
  55. (1) GPL-compatible doesn't mean that we're distributing Python under
  56. the GPL. All Python licenses, unlike the GPL, let you distribute
  57. a modified version without making your changes open source. The
  58. GPL-compatible licenses make it possible to combine Python with
  59. other software that is released under the GPL; the others don't.
  60. Thanks to the many outside volunteers who have worked under Guido's
  61. direction to make these releases possible.
  62. B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON
  63. ===============================================================
  64. PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
  65. --------------------------------------------
  66. 1. This LICENSE AGREEMENT is between the Python Software Foundation
  67. ("PSF"), and the Individual or Organization ("Licensee") accessing and
  68. otherwise using this software ("Python") in source or binary form and
  69. its associated documentation.
  70. 2. Subject to the terms and conditions of this License Agreement, PSF hereby
  71. grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
  72. analyze, test, perform and/or display publicly, prepare derivative works,
  73. distribute, and otherwise use Python alone or in any derivative version,
  74. provided, however, that PSF's License Agreement and PSF's notice of copyright,
  75. i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
  76. 2011 Python Software Foundation; All Rights Reserved" are retained in Python
  77. alone or in any derivative version prepared by Licensee.
  78. 3. In the event Licensee prepares a derivative work that is based on
  79. or incorporates Python or any part thereof, and wants to make
  80. the derivative work available to others as provided herein, then
  81. Licensee hereby agrees to include in any such work a brief summary of
  82. the changes made to Python.
  83. 4. PSF is making Python available to Licensee on an "AS IS"
  84. basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
  85. IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
  86. DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
  87. FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
  88. INFRINGE ANY THIRD PARTY RIGHTS.
  89. 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
  90. FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
  91. A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
  92. OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
  93. 6. This License Agreement will automatically terminate upon a material
  94. breach of its terms and conditions.
  95. 7. Nothing in this License Agreement shall be deemed to create any
  96. relationship of agency, partnership, or joint venture between PSF and
  97. Licensee. This License Agreement does not grant permission to use PSF
  98. trademarks or trade name in a trademark sense to endorse or promote
  99. products or services of Licensee, or any third party.
  100. 8. By copying, installing or otherwise using Python, Licensee
  101. agrees to be bound by the terms and conditions of this License
  102. Agreement.