673 lines · 29.3 KB · TeX
RawDownload
\section{History of the software} Python was created in the early 1990s by Guido van Rossum at StichtingMathematisch Centrum (CWI, see \url{http://www.cwi.nl/}) in the Netherlandsas a successor of a language called ABC.  Guido remains Python'sprincipal author, although it includes many contributions from others. In 1995, Guido continued his work on Python at the Corporation forNational Research Initiatives (CNRI, see \url{http://www.cnri.reston.va.us/})in Reston, Virginia where he released several versions of thesoftware. In May 2000, Guido and the Python core development team moved toBeOpen.com to form the BeOpen PythonLabs team.  In October of the sameyear, the PythonLabs team moved to Digital Creations (now ZopeCorporation; see \url{http://www.zope.com/}).  In 2001, the PythonSoftware Foundation (PSF, see \url{http://www.python.org/psf/}) wasformed, a non-profit organization created specifically to ownPython-related Intellectual Property.  Zope Corporation is asponsoring member of the PSF. All Python releases are Open Source (see\url{http://www.opensource.org/} for the Open Source Definition).Historically, most, but not all, Python releases have also beenGPL-compatible; the table below summarizes the various releases. \begin{tablev}{c|c|c|c|c}{textrm}%  {Release}{Derived from}{Year}{Owner}{GPL compatible?}  \linev{0.9.0 thru 1.2}{n/a}{1991-1995}{CWI}{yes}  \linev{1.3 thru 1.5.2}{1.2}{1995-1999}{CNRI}{yes}  \linev{1.6}{1.5.2}{2000}{CNRI}{no}  \linev{2.0}{1.6}{2000}{BeOpen.com}{no}  \linev{1.6.1}{1.6}{2001}{CNRI}{no}  \linev{2.1}{2.0+1.6.1}{2001}{PSF}{no}  \linev{2.0.1}{2.0+1.6.1}{2001}{PSF}{yes}  \linev{2.1.1}{2.1+2.0.1}{2001}{PSF}{yes}  \linev{2.2}{2.1.1}{2001}{PSF}{yes}  \linev{2.1.2}{2.1.1}{2002}{PSF}{yes}  \linev{2.1.3}{2.1.2}{2002}{PSF}{yes}  \linev{2.2.1}{2.2}{2002}{PSF}{yes}  \linev{2.2.2}{2.2.1}{2002}{PSF}{yes}  \linev{2.2.3}{2.2.2}{2002-2003}{PSF}{yes}  \linev{2.3}{2.2.2}{2002-2003}{PSF}{yes}  \linev{2.3.1}{2.3}{2002-2003}{PSF}{yes}  \linev{2.3.2}{2.3.1}{2003}{PSF}{yes}  \linev{2.3.3}{2.3.2}{2003}{PSF}{yes}  \linev{2.3.4}{2.3.3}{2004}{PSF}{yes}  \linev{2.3.5}{2.3.4}{2005}{PSF}{yes}  \linev{2.4}{2.3}{2004}{PSF}{yes}  \linev{2.4.1}{2.4}{2005}{PSF}{yes}  \linev{2.4.2}{2.4.1}{2005}{PSF}{yes}  \linev{2.4.3}{2.4.2}{2006}{PSF}{yes}  \linev{2.5}{2.4}{2006}{PSF}{yes}  \linev{2.5.1}{2.5}{2007}{PSF}{yes}\end{tablev} \note{GPL-compatible doesn't mean that we're distributingPython under the GPL.  All Python licenses, unlike the GPL, let youdistribute a modified version without making your changes open source.The GPL-compatible licenses make it possible to combine Python withother software that is released under the GPL; the others don't.} Thanks to the many outside volunteers who have worked under Guido'sdirection to make these releases possible.  \section{Terms and conditions for accessing or otherwise using Python} \centerline{\strong{PSF LICENSE AGREEMENT FOR PYTHON \version}} \begin{enumerate}\itemThis LICENSE AGREEMENT is between the Python Software Foundation(``PSF''), and the Individual or Organization (``Licensee'') accessingand otherwise using Python \version{} software in source or binaryform and its associated documentation. \itemSubject to the terms and conditions of this License Agreement, PSFhereby grants Licensee a nonexclusive, royalty-free, world-widelicense to reproduce, analyze, test, perform and/or display publicly,prepare derivative works, distribute, and otherwise use Python\version{} alone or in any derivative version, provided, however, thatPSF's License Agreement and PSF's notice of copyright, i.e.,``Copyright \copyright{} 2001-2006 Python Software Foundation; AllRights Reserved'' are retained in Python \version{} alone or in anyderivative version prepared by Licensee. \itemIn the event Licensee prepares a derivative work that is based onor incorporates Python \version{} or any part thereof, and wants tomake the derivative work available to others as provided herein, thenLicensee hereby agrees to include in any such work a brief summary ofthe changes made to Python \version. \itemPSF is making Python \version{} available to Licensee on an ``AS IS''basis.  PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS ORIMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO ANDDISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESSFOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON \version{} WILLNOT INFRINGE ANY THIRD PARTY RIGHTS. \itemPSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON\version{} FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES ORLOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON\version, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THEPOSSIBILITY THEREOF. \itemThis License Agreement will automatically terminate upon a materialbreach of its terms and conditions. \itemNothing in this License Agreement shall be deemed to create anyrelationship of agency, partnership, or joint venture between PSF andLicensee.  This License Agreement does not grant permission to use PSFtrademarks or trade name in a trademark sense to endorse or promoteproducts or services of Licensee, or any third party. \itemBy copying, installing or otherwise using Python \version, Licenseeagrees to be bound by the terms and conditions of this LicenseAgreement.\end{enumerate}  \centerline{\strong{BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0}} \centerline{\strong{BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1}} \begin{enumerate}\itemThis LICENSE AGREEMENT is between BeOpen.com (``BeOpen''), having anoffice at 160 Saratoga Avenue, Santa Clara, CA 95051, and theIndividual or Organization (``Licensee'') accessing and otherwiseusing this software in source or binary form and its associateddocumentation (``the Software''). \itemSubject to the terms and conditions of this BeOpen Python LicenseAgreement, BeOpen hereby grants Licensee a non-exclusive,royalty-free, world-wide license to reproduce, analyze, test, performand/or display publicly, prepare derivative works, distribute, andotherwise use the Software alone or in any derivative version,provided, however, that the BeOpen Python License is retained in theSoftware, alone or in any derivative version prepared by Licensee. \itemBeOpen is making the Software available to Licensee on an ``AS IS''basis.  BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS ORIMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO ANDDISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESSFOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOTINFRINGE ANY THIRD PARTY RIGHTS. \itemBEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THESOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSSAS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANYDERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. \itemThis License Agreement will automatically terminate upon a materialbreach of its terms and conditions. \itemThis License Agreement shall be governed by and interpreted in allrespects by the law of the State of California, excluding conflict oflaw provisions.  Nothing in this License Agreement shall be deemed tocreate any relationship of agency, partnership, or joint venturebetween BeOpen and Licensee.  This License Agreement does not grantpermission to use BeOpen trademarks or trade names in a trademarksense to endorse or promote products or services of Licensee, or anythird party.  As an exception, the ``BeOpen Python'' logos availableat http://www.pythonlabs.com/logos.html may be used according to thepermissions granted on that web page. \itemBy copying, installing or otherwise using the software, Licenseeagrees to be bound by the terms and conditions of this LicenseAgreement.\end{enumerate}  \centerline{\strong{CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1}} \begin{enumerate}\itemThis LICENSE AGREEMENT is between the Corporation for NationalResearch Initiatives, having an office at 1895 Preston White Drive,Reston, VA 20191 (``CNRI''), and the Individual or Organization(``Licensee'') accessing and otherwise using Python 1.6.1 software insource or binary form and its associated documentation. \itemSubject to the terms and conditions of this License Agreement, CNRIhereby grants Licensee a nonexclusive, royalty-free, world-widelicense to reproduce, analyze, test, perform and/or display publicly,prepare derivative works, distribute, and otherwise use Python 1.6.1alone or in any derivative version, provided, however, that CNRI'sLicense Agreement and CNRI's notice of copyright, i.e., ``Copyright\copyright{} 1995-2001 Corporation for National Research Initiatives;All Rights Reserved'' are retained in Python 1.6.1 alone or in anyderivative version prepared by Licensee.  Alternately, in lieu ofCNRI's License Agreement, Licensee may substitute the following text(omitting the quotes): ``Python 1.6.1 is made available subject to theterms and conditions in CNRI's License Agreement.  This Agreementtogether with Python 1.6.1 may be located on the Internet using thefollowing unique, persistent identifier (known as a handle):1895.22/1013.  This Agreement may also be obtained from a proxy serveron the Internet using the following URL:\url{http://hdl.handle.net/1895.22/1013}.'' \itemIn the event Licensee prepares a derivative work that is based onor incorporates Python 1.6.1 or any part thereof, and wants to makethe derivative work available to others as provided herein, thenLicensee hereby agrees to include in any such work a brief summary ofthe changes made to Python 1.6.1. \itemCNRI is making Python 1.6.1 available to Licensee on an ``AS IS''basis.  CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS ORIMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO ANDDISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESSFOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOTINFRINGE ANY THIRD PARTY RIGHTS. \itemCNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS ASA RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. \itemThis License Agreement will automatically terminate upon a materialbreach of its terms and conditions. \itemThis License Agreement shall be governed by the federalintellectual property law of the United States, including withoutlimitation the federal copyright law, and, to the extent suchU.S. federal law does not apply, by the law of the Commonwealth ofVirginia, excluding Virginia's conflict of law provisions.Notwithstanding the foregoing, with regard to derivative works basedon Python 1.6.1 that incorporate non-separable material that waspreviously distributed under the GNU General Public License (GPL), thelaw of the Commonwealth of Virginia shall govern this LicenseAgreement only as to issues arising under or with respect toParagraphs 4, 5, and 7 of this License Agreement.  Nothing in thisLicense Agreement shall be deemed to create any relationship ofagency, partnership, or joint venture between CNRI and Licensee.  ThisLicense Agreement does not grant permission to use CNRI trademarks ortrade name in a trademark sense to endorse or promote products orservices of Licensee, or any third party. \itemBy clicking on the ``ACCEPT'' button where indicated, or by copying,installing or otherwise using Python 1.6.1, Licensee agrees to bebound by the terms and conditions of this License Agreement.\end{enumerate} \centerline{ACCEPT}   \centerline{\strong{CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2}} Copyright \copyright{} 1991 - 1995, Stichting Mathematisch CentrumAmsterdam, The Netherlands.  All rights reserved. Permission to use, copy, modify, and distribute this software and itsdocumentation for any purpose and without fee is hereby granted,provided that the above copyright notice appear in all copies and thatboth that copyright notice and this permission notice appear insupporting documentation, and that the name of Stichting MathematischCentrum or CWI not be used in advertising or publicity pertaining todistribution of the software without specific, written priorpermission. STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TOTHIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY ANDFITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLEFOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGESWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN ANACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUTOF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.  \section{Licenses and Acknowledgements for Incorporated Software} This section is an incomplete, but growing list of licenses andacknowledgements for third-party software incorporated in thePython distribution.  \subsection{Mersenne Twister} The \module{_random} module includes code based on a download from\url{http://www.math.keio.ac.jp/~matumoto/MT2002/emt19937ar.html}.The following are the verbatim comments from the original code: \begin{verbatim}A C-program for MT19937, with initialization improved 2002/1/26.Coded by Takuji Nishimura and Makoto Matsumoto. Before using, initialize the state by using init_genrand(seed)or init_by_array(init_key, key_length). Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,All rights reserved. Redistribution and use in source and binary forms, with or withoutmodification, are permitted provided that the following conditionsare met:  1. Redistributions of source code must retain the above copyright    notice, this list of conditions and the following disclaimer.  2. Redistributions in binary form must reproduce the above copyright    notice, this list of conditions and the following disclaimer in the    documentation and/or other materials provided with the distribution.  3. The names of its contributors may not be used to endorse or promote    products derived from this software without specific prior written    permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOTLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FORA PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER ORCONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, ORPROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OFLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDINGNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THISSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  Any feedback is very welcome.http://www.math.keio.ac.jp/matumoto/emt.htmlemail: matumoto@math.keio.ac.jp\end{verbatim}   \subsection{Sockets} The \module{socket} module uses the functions, \function{getaddrinfo},and \function{getnameinfo}, which are coded in separate source filesfrom the WIDE Project, \url{http://www.wide.ad.jp/about/index.html}. \begin{verbatim}      Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.All rights reserved. Redistribution and use in source and binary forms, with or withoutmodification, are permitted provided that the following conditionsare met:1. Redistributions of source code must retain the above copyright   notice, this list of conditions and the following disclaimer.2. Redistributions in binary form must reproduce the above copyright   notice, this list of conditions and the following disclaimer in the   documentation and/or other materials provided with the distribution.3. Neither the name of the project nor the names of its contributors   may be used to endorse or promote products derived from this software   without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' ANDGAI_ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THEIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSEARE DISCLAIMED.  IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLEFOR GAI_ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIALDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODSOR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)HOWEVER CAUSED AND ON GAI_ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICTLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN GAI_ANY WAYOUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OFSUCH DAMAGE.\end{verbatim}   \subsection{Floating point exception control} The source for the \module{fpectl} module includes the following notice: \begin{verbatim}     ---------------------------------------------------------------------      /                       Copyright (c) 1996.                           \    |          The Regents of the University of California.                 |   |                        All rights reserved.                           |   |                                                                       |   |   Permission to use, copy, modify, and distribute this software for   |   |   any purpose without fee is hereby granted, provided that this en-   |   |   tire notice is included in all copies of any software which is or   |   |   includes  a  copy  or  modification  of  this software and in all   |   |   copies of the supporting documentation for such software.           |   |                                                                       |   |   This  work was produced at the University of California, Lawrence   |   |   Livermore National Laboratory under  contract  no.  W-7405-ENG-48   |   |   between  the  U.S.  Department  of  Energy and The Regents of the   |   |   University of California for the operation of UC LLNL.              |   |                                                                       |   |                              DISCLAIMER                               |   |                                                                       |   |   This  software was prepared as an account of work sponsored by an   |   |   agency of the United States Government. Neither the United States   |   |   Government  nor the University of California nor any of their em-   |   |   ployees, makes any warranty, express or implied, or  assumes  any   |   |   liability  or  responsibility  for the accuracy, completeness, or   |   |   usefulness of any information,  apparatus,  product,  or  process   |   |   disclosed,   or  represents  that  its  use  would  not  infringe   |   |   privately-owned rights. Reference herein to any specific  commer-   |   |   cial  products,  process,  or  service  by trade name, trademark,   |   |   manufacturer, or otherwise, does not  necessarily  constitute  or   |   |   imply  its endorsement, recommendation, or favoring by the United   |   |   States Government or the University of California. The views  and   |   |   opinions  of authors expressed herein do not necessarily state or   |   |   reflect those of the United States Government or  the  University   |   |   of  California,  and shall not be used for advertising or product   |    \  endorsement purposes.                                              /      ---------------------------------------------------------------------\end{verbatim}   \subsection{MD5 message digest algorithm} The source code for the \module{md5} module contains the following notice: \begin{verbatim}  Copyright (C) 1999, 2002 Aladdin Enterprises.  All rights reserved.   This software is provided 'as-is', without any express or implied  warranty.  In no event will the authors be held liable for any damages  arising from the use of this software.   Permission is granted to anyone to use this software for any purpose,  including commercial applications, and to alter it and redistribute it  freely, subject to the following restrictions:   1. The origin of this software must not be misrepresented; you must not     claim that you wrote the original software. If you use this software     in a product, an acknowledgment in the product documentation would be     appreciated but is not required.  2. Altered source versions must be plainly marked as such, and must not be     misrepresented as being the original software.  3. This notice may not be removed or altered from any source distribution.   L. Peter Deutsch  ghost@aladdin.com   Independent implementation of MD5 (RFC 1321).   This code implements the MD5 Algorithm defined in RFC 1321, whose  text is available at	http://www.ietf.org/rfc/rfc1321.txt  The code is derived from the text of the RFC, including the test suite  (section A.5) but excluding the rest of Appendix A.  It does not include  any code or documentation that is identified in the RFC as being  copyrighted.   The original and principal author of md5.h is L. Peter Deutsch  <ghost@aladdin.com>.  Other authors are noted in the change history  that follows (in reverse chronological order):   2002-04-13 lpd Removed support for non-ANSI compilers; removed	references to Ghostscript; clarified derivation from RFC 1321;	now handles byte order either statically or dynamically.  1999-11-04 lpd Edited comments slightly for automatic TOC extraction.  1999-10-18 lpd Fixed typo in header comment (ansi2knr rather than md5);	added conditionalization for C++ compilation from Martin	Purschke <purschke@bnl.gov>.  1999-05-03 lpd Original version.\end{verbatim}   \subsection{Asynchronous socket services} The \module{asynchat} and \module{asyncore} modules contain thefollowing notice: \begin{verbatim}       Copyright 1996 by Sam Rushing                          All Rights Reserved  Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of Sam Rushing not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission.

Lines 1–500 of 673.