3 B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON
4 ===============================================================
6 PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
7 --------------------------------------------
9 1. This LICENSE AGREEMENT is between the Python Software Foundation
10 ("PSF"), and the Individual or Organization ("Licensee") accessing and
11 otherwise using this software ("Python") in source or binary form and
12 its associated documentation.
14 2. Subject to the terms and conditions of this License Agreement, PSF hereby
15 grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
16 analyze, test, perform and/or display publicly, prepare derivative works,
17 distribute, and otherwise use Python alone or in any derivative version,
18 provided, however, that PSF's License Agreement and PSF's notice of copyright,
19 i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
20 2011, 2012, 2013, 2014 Python Software Foundation; All Rights Reserved" are
21 retained in Python alone or in any derivative version prepared by Licensee.
23 3. In the event Licensee prepares a derivative work that is based on
24 or incorporates Python or any part thereof, and wants to make
25 the derivative work available to others as provided herein, then
26 Licensee hereby agrees to include in any such work a brief summary of
27 the changes made to Python.
29 4. PSF is making Python available to Licensee on an "AS IS"
30 basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
31 IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
32 DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
33 FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
34 INFRINGE ANY THIRD PARTY RIGHTS.
36 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
37 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
38 A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
39 OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
41 6. This License Agreement will automatically terminate upon a material
42 breach of its terms and conditions.
44 7. Nothing in this License Agreement shall be deemed to create any
45 relationship of agency, partnership, or joint venture between PSF and
46 Licensee. This License Agreement does not grant permission to use PSF
47 trademarks or trade name in a trademark sense to endorse or promote
48 products or services of Licensee, or any third party.
50 8. By copying, installing or otherwise using Python, Licensee
51 agrees to be bound by the terms and conditions of this License
54 From the Doc/license.rst file:
56 Licenses and Acknowledgements for Incorporated Software
57 =======================================================
59 This section is an incomplete, but growing list of licenses and acknowledgements
60 for third-party software incorporated in the Python distribution.
66 The :mod:`_random` module includes code based on a download from
67 http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/emt19937ar.html. The following are
68 the verbatim comments from the original code::
70 A C-program for MT19937, with initialization improved 2002/1/26.
71 Coded by Takuji Nishimura and Makoto Matsumoto.
73 Before using, initialize the state by using init_genrand(seed)
74 or init_by_array(init_key, key_length).
76 Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
79 Redistribution and use in source and binary forms, with or without
80 modification, are permitted provided that the following conditions
83 1. Redistributions of source code must retain the above copyright
84 notice, this list of conditions and the following disclaimer.
86 2. Redistributions in binary form must reproduce the above copyright
87 notice, this list of conditions and the following disclaimer in the
88 documentation and/or other materials provided with the distribution.
90 3. The names of its contributors may not be used to endorse or promote
91 products derived from this software without specific prior written
94 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
95 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
96 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
97 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
98 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
99 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
100 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
101 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
102 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
103 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
104 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
107 Any feedback is very welcome.
108 http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html
109 email: m-mat @ math.sci.hiroshima-u.ac.jp (remove space)
115 The :mod:`socket` module uses the functions, :func:`getaddrinfo`, and
116 :func:`getnameinfo`, which are coded in separate source files from the WIDE
117 Project, http://www.wide.ad.jp/. ::
119 Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
122 Redistribution and use in source and binary forms, with or without
123 modification, are permitted provided that the following conditions
125 1. Redistributions of source code must retain the above copyright
126 notice, this list of conditions and the following disclaimer.
127 2. Redistributions in binary form must reproduce the above copyright
128 notice, this list of conditions and the following disclaimer in the
129 documentation and/or other materials provided with the distribution.
130 3. Neither the name of the project nor the names of its contributors
131 may be used to endorse or promote products derived from this software
132 without specific prior written permission.
134 THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
135 GAI_ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
136 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
137 ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
138 FOR GAI_ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
139 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
140 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
141 HOWEVER CAUSED AND ON GAI_ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
142 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN GAI_ANY WAY
143 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
147 Floating point exception control
148 --------------------------------
150 The source for the :mod:`fpectl` module includes the following notice::
152 ---------------------------------------------------------------------
153 / Copyright (c) 1996. \
154 | The Regents of the University of California. |
155 | All rights reserved. |
157 | Permission to use, copy, modify, and distribute this software for |
158 | any purpose without fee is hereby granted, provided that this en- |
159 | tire notice is included in all copies of any software which is or |
160 | includes a copy or modification of this software and in all |
161 | copies of the supporting documentation for such software. |
163 | This work was produced at the University of California, Lawrence |
164 | Livermore National Laboratory under contract no. W-7405-ENG-48 |
165 | between the U.S. Department of Energy and The Regents of the |
166 | University of California for the operation of UC LLNL. |
170 | This software was prepared as an account of work sponsored by an |
171 | agency of the United States Government. Neither the United States |
172 | Government nor the University of California nor any of their em- |
173 | ployees, makes any warranty, express or implied, or assumes any |
174 | liability or responsibility for the accuracy, completeness, or |
175 | usefulness of any information, apparatus, product, or process |
176 | disclosed, or represents that its use would not infringe |
177 | privately-owned rights. Reference herein to any specific commer- |
178 | cial products, process, or service by trade name, trademark, |
179 | manufacturer, or otherwise, does not necessarily constitute or |
180 | imply its endorsement, recommendation, or favoring by the United |
181 | States Government or the University of California. The views and |
182 | opinions of authors expressed herein do not necessarily state or |
183 | reflect those of the United States Government or the University |
184 | of California, and shall not be used for advertising or product |
185 \ endorsement purposes. /
186 ---------------------------------------------------------------------
189 Asynchronous socket services
190 ----------------------------
192 The :mod:`asynchat` and :mod:`asyncore` modules contain the following notice::
194 Copyright 1996 by Sam Rushing
198 Permission to use, copy, modify, and distribute this software and
199 its documentation for any purpose and without fee is hereby
200 granted, provided that the above copyright notice appear in all
201 copies and that both that copyright notice and this permission
202 notice appear in supporting documentation, and that the name of Sam
203 Rushing not be used in advertising or publicity pertaining to
204 distribution of the software without specific, written prior
207 SAM RUSHING DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
208 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
209 NO EVENT SHALL SAM RUSHING BE LIABLE FOR ANY SPECIAL, INDIRECT OR
210 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
211 OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
212 NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
213 CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
219 The :mod:`http.cookies` module contains the following notice::
221 Copyright 2000 by Timothy O'Malley <timo@alum.mit.edu>
225 Permission to use, copy, modify, and distribute this software
226 and its documentation for any purpose and without fee is hereby
227 granted, provided that the above copyright notice appear in all
228 copies and that both that copyright notice and this permission
229 notice appear in supporting documentation, and that the name of
230 Timothy O'Malley not be used in advertising or publicity
231 pertaining to distribution of the software without specific, written
234 Timothy O'Malley DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
235 SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
236 AND FITNESS, IN NO EVENT SHALL Timothy O'Malley BE LIABLE FOR
237 ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
238 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
239 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
240 ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
241 PERFORMANCE OF THIS SOFTWARE.
247 The :mod:`trace` module contains the following notice::
249 portions copyright 2001, Autonomous Zones Industries, Inc., all rights...
250 err... reserved and offered to the public under the terms of the
252 Author: Zooko O'Whielacronx
254 mailto:zooko@zooko.com
256 Copyright 2000, Mojam Media, Inc., all rights reserved.
257 Author: Skip Montanaro
259 Copyright 1999, Bioreason, Inc., all rights reserved.
262 Copyright 1995-1997, Automatrix, Inc., all rights reserved.
263 Author: Skip Montanaro
265 Copyright 1991-1995, Stichting Mathematisch Centrum, all rights reserved.
268 Permission to use, copy, modify, and distribute this Python software and
269 its associated documentation for any purpose without fee is hereby
270 granted, provided that the above copyright notice appears in all copies,
271 and that both that copyright notice and this permission notice appear in
272 supporting documentation, and that the name of neither Automatrix,
273 Bioreason or Mojam Media be used in advertising or publicity pertaining to
274 distribution of the software without specific, written prior permission.
277 UUencode and UUdecode functions
278 -------------------------------
280 The :mod:`uu` module contains the following notice::
282 Copyright 1994 by Lance Ellinghouse
283 Cathedral City, California Republic, United States of America.
285 Permission to use, copy, modify, and distribute this software and its
286 documentation for any purpose and without fee is hereby granted,
287 provided that the above copyright notice appear in all copies and that
288 both that copyright notice and this permission notice appear in
289 supporting documentation, and that the name of Lance Ellinghouse
290 not be used in advertising or publicity pertaining to distribution
291 of the software without specific, written prior permission.
292 LANCE ELLINGHOUSE DISCLAIMS ALL WARRANTIES WITH REGARD TO
293 THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
294 FITNESS, IN NO EVENT SHALL LANCE ELLINGHOUSE CENTRUM BE LIABLE
295 FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
296 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
297 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
298 OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
300 Modified by Jack Jansen, CWI, July 1995:
301 - Use binascii module to do the actual line-by-line conversion
302 between ascii and binary. This results in a 1000-fold speedup. The C
303 version is still 5 times faster, though.
304 - Arguments more compliant with Python standard
307 XML Remote Procedure Calls
308 --------------------------
310 The :mod:`xmlrpc.client` module contains the following notice::
312 The XML-RPC client interface is
314 Copyright (c) 1999-2002 by Secret Labs AB
315 Copyright (c) 1999-2002 by Fredrik Lundh
317 By obtaining, using, and/or copying this software and/or its
318 associated documentation, you agree that you have read, understood,
319 and will comply with the following terms and conditions:
321 Permission to use, copy, modify, and distribute this software and
322 its associated documentation for any purpose and without fee is
323 hereby granted, provided that the above copyright notice appears in
324 all copies, and that both that copyright notice and this permission
325 notice appear in supporting documentation, and that the name of
326 Secret Labs AB or the author not be used in advertising or publicity
327 pertaining to distribution of the software without specific, written
330 SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD
331 TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANT-
332 ABILITY AND FITNESS. IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR
333 BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
334 DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
335 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
336 ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
343 The :mod:`test_epoll` contains the following notice::
345 Copyright (c) 2001-2006 Twisted Matrix Laboratories.
347 Permission is hereby granted, free of charge, to any person obtaining
348 a copy of this software and associated documentation files (the
349 "Software"), to deal in the Software without restriction, including
350 without limitation the rights to use, copy, modify, merge, publish,
351 distribute, sublicense, and/or sell copies of the Software, and to
352 permit persons to whom the Software is furnished to do so, subject to
353 the following conditions:
355 The above copyright notice and this permission notice shall be
356 included in all copies or substantial portions of the Software.
358 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
359 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
360 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
361 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
362 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
363 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
364 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
369 The :mod:`select` and contains the following notice for the kqueue interface::
371 Copyright (c) 2000 Doug White, 2006 James Knight, 2007 Christian Heimes
374 Redistribution and use in source and binary forms, with or without
375 modification, are permitted provided that the following conditions
377 1. Redistributions of source code must retain the above copyright
378 notice, this list of conditions and the following disclaimer.
379 2. Redistributions in binary form must reproduce the above copyright
380 notice, this list of conditions and the following disclaimer in the
381 documentation and/or other materials provided with the distribution.
383 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
384 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
385 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
386 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
387 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
388 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
389 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
390 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
391 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
392 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
399 The file :file:`Python/pyhash.c` contains Marek Majkowski' implementation of
400 Dan Bernstein's SipHash24 algorithm. The contains the following note::
403 Copyright (c) 2013 Marek Majkowski <marek@popcount.org>
405 Permission is hereby granted, free of charge, to any person obtaining a copy
406 of this software and associated documentation files (the "Software"), to deal
407 in the Software without restriction, including without limitation the rights
408 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
409 copies of the Software, and to permit persons to whom the Software is
410 furnished to do so, subject to the following conditions:
412 The above copyright notice and this permission notice shall be included in
413 all copies or substantial portions of the Software.
417 https://github.com/majek/csiphash/
419 Solution inspired by code from:
420 Samuel Neves (supercop/crypto_auth/siphash24/little)
421 djb (supercop/crypto_auth/siphash24/little2)
422 Jean-Philippe Aumasson (https://131002.net/siphash/siphash24.c)
428 The file :file:`Python/dtoa.c`, which supplies C functions dtoa and
429 strtod for conversion of C doubles to and from strings, is derived
430 from the file of the same name by David M. Gay, currently available
431 from http://www.netlib.org/fp/. The original file, as retrieved on
432 March 16, 2009, contains the following copyright and licensing
435 /****************************************************************
437 * The author of this software is David M. Gay.
439 * Copyright (c) 1991, 2000, 2001 by Lucent Technologies.
441 * Permission to use, copy, modify, and distribute this software for any
442 * purpose without fee is hereby granted, provided that this entire notice
443 * is included in all copies of any software which is or includes a copy
444 * or modification of this software and in all copies of the supporting
445 * documentation for such software.
447 * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
448 * WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR LUCENT MAKES ANY
449 * REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
450 * OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
452 ***************************************************************/
458 The :mod:`pyexpat` extension is built using an included copy of the expat
459 sources unless the build is configured ``--with-system-expat``::
461 Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
464 Permission is hereby granted, free of charge, to any person obtaining
465 a copy of this software and associated documentation files (the
466 "Software"), to deal in the Software without restriction, including
467 without limitation the rights to use, copy, modify, merge, publish,
468 distribute, sublicense, and/or sell copies of the Software, and to
469 permit persons to whom the Software is furnished to do so, subject to
470 the following conditions:
472 The above copyright notice and this permission notice shall be included
473 in all copies or substantial portions of the Software.
475 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
476 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
477 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
478 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
479 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
480 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
481 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
487 The :mod:`_ctypes` extension is built using an included copy of the libffi
488 sources unless the build is configured ``--with-system-libffi``::
490 Copyright (c) 1996-2008 Red Hat, Inc and others.
492 Permission is hereby granted, free of charge, to any person obtaining
493 a copy of this software and associated documentation files (the
494 ``Software''), to deal in the Software without restriction, including
495 without limitation the rights to use, copy, modify, merge, publish,
496 distribute, sublicense, and/or sell copies of the Software, and to
497 permit persons to whom the Software is furnished to do so, subject to
498 the following conditions:
500 The above copyright notice and this permission notice shall be included
501 in all copies or substantial portions of the Software.
503 THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,
504 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
505 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
506 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
507 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
508 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
509 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
510 DEALINGS IN THE SOFTWARE.
516 The :mod:`zlib` extension is built using an included copy of the zlib
517 sources if the zlib version found on the system is too old to be
520 Copyright (C) 1995-2011 Jean-loup Gailly and Mark Adler
522 This software is provided 'as-is', without any express or implied
523 warranty. In no event will the authors be held liable for any damages
524 arising from the use of this software.
526 Permission is granted to anyone to use this software for any purpose,
527 including commercial applications, and to alter it and redistribute it
528 freely, subject to the following restrictions:
530 1. The origin of this software must not be misrepresented; you must not
531 claim that you wrote the original software. If you use this software
532 in a product, an acknowledgment in the product documentation would be
533 appreciated but is not required.
535 2. Altered source versions must be plainly marked as such, and must not be
536 misrepresented as being the original software.
538 3. This notice may not be removed or altered from any source distribution.
540 Jean-loup Gailly Mark Adler
541 jloup@gzip.org madler@alumni.caltech.edu
547 The implementation of the hash table used by the :mod:`tracemalloc` is based
548 on the cfuhash project::
550 Copyright (c) 2005 Don Owens
553 This code is released under the BSD license:
555 Redistribution and use in source and binary forms, with or without
556 modification, are permitted provided that the following conditions
559 * Redistributions of source code must retain the above copyright
560 notice, this list of conditions and the following disclaimer.
562 * Redistributions in binary form must reproduce the above
563 copyright notice, this list of conditions and the following
564 disclaimer in the documentation and/or other materials provided
565 with the distribution.
567 * Neither the name of the author nor the names of its
568 contributors may be used to endorse or promote products derived
569 from this software without specific prior written permission.
571 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
572 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
573 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
574 FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
575 COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
576 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
577 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
578 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
579 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
580 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
581 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
582 OF THE POSSIBILITY OF SUCH DAMAGE.
588 The :mod:`_decimal` Module is built using an included copy of the libmpdec
589 library unless the build is configured ``--with-system-libmpdec``::
591 Copyright (c) 2008-2016 Stefan Krah. All rights reserved.
593 Redistribution and use in source and binary forms, with or without
594 modification, are permitted provided that the following conditions
597 1. Redistributions of source code must retain the above copyright
598 notice, this list of conditions and the following disclaimer.
600 2. Redistributions in binary form must reproduce the above copyright
601 notice, this list of conditions and the following disclaimer in the
602 documentation and/or other materials provided with the distribution.
604 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND
605 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
606 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
607 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
608 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
609 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
610 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
611 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
612 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
613 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
616 ---------------------------------------------------------------------------
618 Additional attribution text found in the source:
621 Lib/bsddb/__init__.py
623 # Copyright (c) 1999-2001, Digital Creations, Fredericksburg, VA, USA
624 # and Andrew Kuchling. All rights reserved.
626 # Redistribution and use in source and binary forms, with or without
627 # modification, are permitted provided that the following conditions are
630 # o Redistributions of source code must retain the above copyright
631 # notice, this list of conditions, and the disclaimer that follows.
633 # o Redistributions in binary form must reproduce the above copyright
634 # notice, this list of conditions, and the following disclaimer in
635 # the documentation and/or other materials provided with the
638 # o Neither the name of Digital Creations nor the names of its
639 # contributors may be used to endorse or promote products derived
640 # from this software without specific prior written permission.
642 # THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS AND CONTRIBUTORS *AS
643 # IS* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
644 # TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
645 # PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL
646 # CREATIONS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
647 # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
648 # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
649 # OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
650 # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
651 # TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
652 # USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
655 Lib/compiler/transformer.py
657 # Original version written by Greg Stein (gstein@lyra.org)
658 # and Bill Tutt (rassilon@lima.mudlib.org)
661 # Modifications and improvements for Python 2.0 by Jeremy Hylton and
664 # Some fixes to try to have correct line number on almost all nodes
665 # (except Module, Discard and Stmt) added by Sylvain Thenault
667 # Portions of this file are:
668 # Copyright (C) 1997-1998 Greg Stein. All Rights Reserved.
670 # This module is provided under a BSD-ish license. See
671 # http://www.opensource.org/licenses/bsd-license.html
672 # and replace OWNER, ORGANIZATION, and YEAR as appropriate.
676 # Copyright (C) 2006 - 2010 Gregor Lingl
677 # email: glingl@aon.at
679 # This software is provided 'as-is', without any express or implied
680 # warranty. In no event will the authors be held liable for any damages
681 # arising from the use of this software.
683 # Permission is granted to anyone to use this software for any purpose,
684 # including commercial applications, and to alter it and redistribute it
685 # freely, subject to the following restrictions:
687 # 1. The origin of this software must not be misrepresented; you must not
688 # claim that you wrote the original software. If you use this software
689 # in a product, an acknowledgment in the product documentation would be
690 # appreciated but is not required.
691 # 2. Altered source versions must be plainly marked as such, and must not be
692 # misrepresented as being the original software.
693 # 3. This notice may not be removed or altered from any source distribution.
695 Lib/logging/__init__.py
697 # Copyright 2001-2009 by Vinay Sajip. All Rights Reserved.
699 # Permission to use, copy, modify, and distribute this software and its
700 # documentation for any purpose and without fee is hereby granted,
701 # provided that the above copyright notice appear in all copies and that
702 # both that copyright notice and this permission notice appear in
703 # supporting documentation, and that the name of Vinay Sajip
704 # not be used in advertising or publicity pertaining to distribution
705 # of the software without specific, written prior permission.
706 # VINAY SAJIP DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
707 # ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
708 # VINAY SAJIP BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
709 # ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
710 # IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
711 # OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
713 Lib/multiprocessing/__init__.py
715 # Copyright (c) 2006-2008, R Oudkerk
716 # All rights reserved.
718 # Redistribution and use in source and binary forms, with or without
719 # modification, are permitted provided that the following conditions
722 # 1. Redistributions of source code must retain the above copyright
723 # notice, this list of conditions and the following disclaimer.
724 # 2. Redistributions in binary form must reproduce the above copyright
725 # notice, this list of conditions and the following disclaimer in the
726 # documentation and/or other materials provided with the distribution.
727 # 3. Neither the name of author nor the names of any contributors may be
728 # used to endorse or promote products derived from this software
729 # without specific prior written permission.
731 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND
732 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
733 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
734 # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
735 # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
736 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
737 # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
738 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
739 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
740 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
744 Copyright (c) 2001-2006 Gregory P. Ward. All rights reserved.
745 Copyright (c) 2002-2006 Python Software Foundation. All rights reserved.
747 Redistribution and use in source and binary forms, with or without
748 modification, are permitted provided that the following conditions are
751 * Redistributions of source code must retain the above copyright
752 notice, this list of conditions and the following disclaimer.
754 * Redistributions in binary form must reproduce the above copyright
755 notice, this list of conditions and the following disclaimer in the
756 documentation and/or other materials provided with the distribution.
758 * Neither the name of the author nor the names of its
759 contributors may be used to endorse or promote products derived from
760 this software without specific prior written permission.
762 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
763 IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
764 TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
765 PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR
766 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
767 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
768 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
769 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
770 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
771 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
772 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
776 Copyright (c) 1999-2000, Marc-Andre Lemburg; mailto:mal@lemburg.com
777 Copyright (c) 2000-2010, eGenix.com Software GmbH; mailto:info@egenix.com
779 Permission to use, copy, modify, and distribute this software and its
780 documentation for any purpose and without fee or royalty is hereby granted,
781 provided that the above copyright notice appear in all copies and that
782 both that copyright notice and this permission notice appear in
783 supporting documentation or portions thereof, including modifications,
786 EGENIX.COM SOFTWARE GMBH DISCLAIMS ALL WARRANTIES WITH REGARD TO
787 THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
788 FITNESS, IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL,
789 INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
790 FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
791 NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
792 WITH THE USE OR PERFORMANCE OF THIS SOFTWARE !
796 # Copyright Disney Enterprises, Inc. All Rights Reserved.
797 # Licensed to PSF under a Contributor Agreement
799 # Licensed under the Apache License, Version 2.0 (the "License");
800 # you may not use this file except in compliance with the License.
801 # You may obtain a copy of the License at
803 # http://www.apache.org/licenses/LICENSE-2.0
805 # Unless required by applicable law or agreed to in writing, software
806 # distributed under the License is distributed on an "AS IS" BASIS,
807 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
808 # either express or implied. See the License for the specific language
809 # governing permissions and limitations under the License.
811 Lib/sqlite3/__init__.py
813 # Copyright (C) 2005 Gerhard H?ring <gh@ghaering.de>
815 # This file is part of pysqlite.
817 # This software is provided 'as-is', without any express or implied
818 # warranty. In no event will the authors be held liable for any damages
819 # arising from the use of this software.
821 # Permission is granted to anyone to use this software for any purpose,
822 # including commercial applications, and to alter it and redistribute it
823 # freely, subject to the following restrictions:
825 # 1. The origin of this software must not be misrepresented; you must not
826 # claim that you wrote the original software. If you use this software
827 # in a product, an acknowledgment in the product documentation would be
828 # appreciated but is not required.
829 # 2. Altered source versions must be plainly marked as such, and must not be
830 # misrepresented as being the original software.
831 # 3. This notice may not be removed or altered from any source distribution.
835 # Copyright (C) 2002 Lars Gust?bel <lars@gustaebel.de>
836 # All rights reserved.
838 # Permission is hereby granted, free of charge, to any person
839 # obtaining a copy of this software and associated documentation
840 # files (the "Software"), to deal in the Software without
841 # restriction, including without limitation the rights to use,
842 # copy, modify, merge, publish, distribute, sublicense, and/or sell
843 # copies of the Software, and to permit persons to whom the
844 # Software is furnished to do so, subject to the following
847 # The above copyright notice and this permission notice shall be
848 # included in all copies or substantial portions of the Software.
850 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
851 # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
852 # OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
853 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
854 # HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
855 # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
856 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
857 # OTHER DEALINGS IN THE SOFTWARE.
861 Copyright (c) 1999-2003 Steve Purcell
862 This module is free software, and you may redistribute it and/or modify
863 it under the same terms as Python itself, so long as this copyright message
864 and disclaimer are retained in their original form.
866 IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
867 SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF
868 THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
871 THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT
872 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
873 PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS,
874 AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
875 SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
877 Modules/_localemodule.c
879 Copyright (C) 1997, 2002, 2003 Martin von Loewis
881 Permission to use, copy, modify, and distribute this software and its
882 documentation for any purpose and without fee is hereby granted,
883 provided that the above copyright notice appear in all copies.
885 This software comes with no warranty. Use at your own risk.
887 Modules/parsermodule.c
889 * Copyright 1995-1996 by Fred L. Drake, Jr. and Virginia Polytechnic
890 * Institute and State University, Blacksburg, Virginia, USA.
891 * Portions copyright 1991-1995 by Stichting Mathematisch Centrum,
892 * Amsterdam, The Netherlands. Copying is permitted under the terms
893 * associated with the main Python distribution, with the additional
894 * restriction that this additional notice be included and maintained
895 * on all distributed copies.
900 * Copyright (c) 1993 George V. Neville-Neil
901 * All rights reserved.
903 * Redistribution and use in source and binary forms, with or without
904 * modification, are permitted provided that the following conditions
906 * 1. Redistributions of source code must retain the above copyright
907 * notice, this list of conditions and the following disclaimer.
908 * 2. Redistributions in binary form must reproduce the above copyright
909 * notice, this list of conditions and the following disclaimer in the
910 * documentation and/or other materials provided with the distribution.
911 * 3. The name, George Neville-Neil may not be used to endorse or promote
912 * products derived from this software without specific prior
913 * written permission.
915 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
916 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
917 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
918 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE
919 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
920 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
921 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
922 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
923 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
924 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
930 # Copyright (c) 1998-2002 John Aycock
932 # Permission is hereby granted, free of charge, to any person obtaining
933 # a copy of this software and associated documentation files (the
934 # "Software"), to deal in the Software without restriction, including
935 # without limitation the rights to use, copy, modify, merge, publish,
936 # distribute, sublicense, and/or sell copies of the Software, and to
937 # permit persons to whom the Software is furnished to do so, subject to
938 # the following conditions:
940 # The above copyright notice and this permission notice shall be
941 # included in all copies or substantial portions of the Software.
943 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
944 # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
945 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
946 # IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
947 # CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
948 # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
949 # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
953 * Copyright 1992-1994, David Gottner
955 * All Rights Reserved
957 * Permission to use, copy, modify, and distribute this software and its
958 * documentation for any purpose and without fee is hereby granted,
959 * provided that the above copyright notice, this permission notice and
960 * the following disclaimer notice appear unmodified in all copies.
962 * I DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
963 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL I
964 * BE LIABLE FOR ANY SPECIAL, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY
965 * DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA, OR PROFITS, WHETHER
966 * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
967 * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
969 * Nevertheless, I would like to know about bugs in this library or
970 * suggestions for improvment. Send bug reports and feedback to
971 * davegottner@delphi.com.
973 Tools/pybench/LICENSE
978 This copyright notice and license applies to all files in the pybench
979 directory of the pybench distribution.
981 Copyright (c), 1997-2006, Marc-Andre Lemburg (mal@lemburg.com)
982 Copyright (c), 2000-2006, eGenix.com Software GmbH (info@egenix.com)
986 Permission to use, copy, modify, and distribute this software and its
987 documentation for any purpose and without fee or royalty is hereby
988 granted, provided that the above copyright notice appear in all copies
989 and that both that copyright notice and this permission notice appear
990 in supporting documentation or portions thereof, including
991 modifications, that you make.
993 THE AUTHOR MARC-ANDRE LEMBURG DISCLAIMS ALL WARRANTIES WITH REGARD TO
994 THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
995 FITNESS, IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL,
996 INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
997 FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
998 NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
999 WITH THE USE OR PERFORMANCE OF THIS SOFTWARE !
1001 Tools/pynche/X/xlicense.txt
1003 X Window System License - X11R6.4
1005 Copyright (c) 1998 The Open Group
1007 Permission is hereby granted, free of charge, to any person obtaining
1008 a copy of this software and associated documentation files (the
1009 "Software"), to deal in the Software without restriction, including
1010 without limitation the rights to use, copy, modify, merge, publish,
1011 distribute, sublicense, and/or sell copies of the Software, and to
1012 permit persons to whom the Software is furnished to do so, subject to
1013 the following conditions:
1015 The above copyright notice and this permission notice shall be
1016 included in all copies or substantial portions of the Software.
1018 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
1019 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1020 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
1021 IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
1022 OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
1023 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
1024 OTHER DEALINGS IN THE SOFTWARE.
1026 Except as contained in this notice, the name of The Open Group shall
1027 not be used in advertising or otherwise to promote the sale, use or
1028 other dealings in this Software without prior written authorization
1029 from The Open Group.
1031 X Window System is a trademark of The Open Group
1037 # install - install a program, script, or datafile
1039 # This originates from X11R5 (mit/util/scripts/install.sh), which was
1040 # later released in X11R6 (xc/config/util/install.sh) with the
1041 # following copyright and license.
1043 # Copyright (C) 1994 X Consortium
1045 # Permission is hereby granted, free of charge, to any person obtaining a copy
1046 # of this software and associated documentation files (the "Software"), to
1047 # deal in the Software without restriction, including without limitation the
1048 # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
1049 # sell copies of the Software, and to permit persons to whom the Software is
1050 # furnished to do so, subject to the following conditions:
1052 # The above copyright notice and this permission notice shall be included in
1053 # all copies or substantial portions of the Software.
1055 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1056 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1057 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1058 # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
1059 # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
1060 # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1062 # Except as contained in this notice, the name of the X Consortium shall not
1063 # be used in advertising or otherwise to promote the sale, use or other deal-
1064 # ings in this Software without prior written authorization from the X Consor-
1067 Include/dynamic_annotations.h
1068 Python/dynamic_annotations.c
1070 /* Copyright (c) 2008-2009, Google Inc.
1071 * All rights reserved.
1073 * Redistribution and use in source and binary forms, with or without
1074 * modification, are permitted provided that the following conditions are
1077 * * Redistributions of source code must retain the above copyright
1078 * notice, this list of conditions and the following disclaimer.
1079 * * Neither the name of Google Inc. nor the names of its
1080 * contributors may be used to endorse or promote products derived from
1081 * this software without specific prior written permission.
1083 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1084 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1085 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1086 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1087 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1088 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1089 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1090 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1091 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1092 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1093 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1096 * Author: Kostya Serebryany
1101 ## Module statistics.py
1103 ## Copyright (c) 2013 Steven D'Aprano <steve+python@pearwood.info>.
1105 ## Licensed under the Apache License, Version 2.0 (the "License");
1106 ## you may not use this file except in compliance with the License.
1107 ## You may obtain a copy of the License at
1109 ## http://www.apache.org/licenses/LICENSE-2.0
1111 ## Unless required by applicable law or agreed to in writing, software
1112 ## distributed under the License is distributed on an "AS IS" BASIS,
1113 ## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1114 ## See the License for the specific language governing permissions and
1115 ## limitations under the License.
1117 The following applies to all products licensed under the Apache 2.0 License:
1119 You may not use the identified files except in compliance with the Apache License, Version 2.0 (the "License.")
1121 You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. A copy of the license is also reproduced below.
1123 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1125 See the License for the specific language governing permissions and limitations under the License.
1128 Version 2.0, January 2004
1129 http://www.apache.org/licenses/
1131 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1135 "License" shall mean the terms and conditions for use, reproduction,
1136 and distribution as defined by Sections 1 through 9 of this document.
1138 "Licensor" shall mean the copyright owner or entity authorized by
1139 the copyright owner that is granting the License.
1141 "Legal Entity" shall mean the union of the acting entity and all
1142 other entities that control, are controlled by, or are under common
1143 control with that entity. For the purposes of this definition,
1144 "control" means (i) the power, direct or indirect, to cause the
1145 direction or management of such entity, whether by contract or
1146 otherwise, or (ii) ownership of fifty percent (50%) or more of the
1147 outstanding shares, or (iii) beneficial ownership of such entity.
1149 "You" (or "Your") shall mean an individual or Legal Entity
1150 exercising permissions granted by this License.
1152 "Source" form shall mean the preferred form for making modifications,
1153 including but not limited to software source code, documentation
1154 source, and configuration files.
1156 "Object" form shall mean any form resulting from mechanical
1157 transformation or translation of a Source form, including but
1158 not limited to compiled object code, generated documentation,
1159 and conversions to other media types.
1161 "Work" shall mean the work of authorship, whether in Source or
1162 Object form, made available under the License, as indicated by a
1163 copyright notice that is included in or attached to the work
1164 (an example is provided in the Appendix below).
1166 "Derivative Works" shall mean any work, whether in Source or Object
1167 form, that is based on (or derived from) the Work and for which the
1168 editorial revisions, annotations, elaborations, or other modifications
1169 represent, as a whole, an original work of authorship. For the purposes
1170 of this License, Derivative Works shall not include works that remain
1171 separable from, or merely link (or bind by name) to the interfaces of,
1172 the Work and Derivative Works thereof.
1174 "Contribution" shall mean any work of authorship, including
1175 the original version of the Work and any modifications or additions
1176 to that Work or Derivative Works thereof, that is intentionally
1177 submitted to Licensor for inclusion in the Work by the copyright owner
1178 or by an individual or Legal Entity authorized to submit on behalf of
1179 the copyright owner. For the purposes of this definition, "submitted"
1180 means any form of electronic, verbal, or written communication sent
1181 to the Licensor or its representatives, including but not limited to
1182 communication on electronic mailing lists, source code control systems,
1183 and issue tracking systems that are managed by, or on behalf of, the
1184 Licensor for the purpose of discussing and improving the Work, but
1185 excluding communication that is conspicuously marked or otherwise
1186 designated in writing by the copyright owner as "Not a Contribution."
1188 "Contributor" shall mean Licensor and any individual or Legal Entity
1189 on behalf of whom a Contribution has been received by Licensor and
1190 subsequently incorporated within the Work.
1192 2. Grant of Copyright License. Subject to the terms and conditions of
1193 this License, each Contributor hereby grants to You a perpetual,
1194 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1195 copyright license to reproduce, prepare Derivative Works of,
1196 publicly display, publicly perform, sublicense, and distribute the
1197 Work and such Derivative Works in Source or Object form.
1199 3. Grant of Patent License. Subject to the terms and conditions of
1200 this License, each Contributor hereby grants to You a perpetual,
1201 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1202 (except as stated in this section) patent license to make, have made,
1203 use, offer to sell, sell, import, and otherwise transfer the Work,
1204 where such license applies only to those patent claims licensable
1205 by such Contributor that are necessarily infringed by their
1206 Contribution(s) alone or by combination of their Contribution(s)
1207 with the Work to which such Contribution(s) was submitted. If You
1208 institute patent litigation against any entity (including a
1209 cross-claim or counterclaim in a lawsuit) alleging that the Work
1210 or a Contribution incorporated within the Work constitutes direct
1211 or contributory patent infringement, then any patent licenses
1212 granted to You under this License for that Work shall terminate
1213 as of the date such litigation is filed.
1215 4. Redistribution. You may reproduce and distribute copies of the
1216 Work or Derivative Works thereof in any medium, with or without
1217 modifications, and in Source or Object form, provided that You
1218 meet the following conditions:
1220 (a) You must give any other recipients of the Work or
1221 Derivative Works a copy of this License; and
1223 (b) You must cause any modified files to carry prominent notices
1224 stating that You changed the files; and
1226 (c) You must retain, in the Source form of any Derivative Works
1227 that You distribute, all copyright, patent, trademark, and
1228 attribution notices from the Source form of the Work,
1229 excluding those notices that do not pertain to any part of
1230 the Derivative Works; and
1232 (d) If the Work includes a "NOTICE" text file as part of its
1233 distribution, then any Derivative Works that You distribute must
1234 include a readable copy of the attribution notices contained
1235 within such NOTICE file, excluding those notices that do not
1236 pertain to any part of the Derivative Works, in at least one
1237 of the following places: within a NOTICE text file distributed
1238 as part of the Derivative Works; within the Source form or
1239 documentation, if provided along with the Derivative Works; or,
1240 within a display generated by the Derivative Works, if and
1241 wherever such third-party notices normally appear. The contents
1242 of the NOTICE file are for informational purposes only and
1243 do not modify the License. You may add Your own attribution
1244 notices within Derivative Works that You distribute, alongside
1245 or as an addendum to the NOTICE text from the Work, provided
1246 that such additional attribution notices cannot be construed
1247 as modifying the License.
1249 You may add Your own copyright statement to Your modifications and
1250 may provide additional or different license terms and conditions
1251 for use, reproduction, or distribution of Your modifications, or
1252 for any such Derivative Works as a whole, provided Your use,
1253 reproduction, and distribution of the Work otherwise complies with
1254 the conditions stated in this License.
1256 5. Submission of Contributions. Unless You explicitly state otherwise,
1257 any Contribution intentionally submitted for inclusion in the Work
1258 by You to the Licensor shall be under the terms and conditions of
1259 this License, without any additional terms or conditions.
1260 Notwithstanding the above, nothing herein shall supersede or modify
1261 the terms of any separate license agreement you may have executed
1262 with Licensor regarding such Contributions.
1264 6. Trademarks. This License does not grant permission to use the trade
1265 names, trademarks, service marks, or product names of the Licensor,
1266 except as required for reasonable and customary use in describing the
1267 origin of the Work and reproducing the content of the NOTICE file.
1269 7. Disclaimer of Warranty. Unless required by applicable law or
1270 agreed to in writing, Licensor provides the Work (and each
1271 Contributor provides its Contributions) on an "AS IS" BASIS,
1272 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1273 implied, including, without limitation, any warranties or conditions
1274 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1275 PARTICULAR PURPOSE. You are solely responsible for determining the
1276 appropriateness of using or redistributing the Work and assume any
1277 risks associated with Your exercise of permissions under this License.
1279 8. Limitation of Liability. In no event and under no legal theory,
1280 whether in tort (including negligence), contract, or otherwise,
1281 unless required by applicable law (such as deliberate and grossly
1282 negligent acts) or agreed to in writing, shall any Contributor be
1283 liable to You for damages, including any direct, indirect, special,
1284 incidental, or consequential damages of any character arising as a
1285 result of this License or out of the use or inability to use the
1286 Work (including but not limited to damages for loss of goodwill,
1287 work stoppage, computer failure or malfunction, or any and all
1288 other commercial damages or losses), even if such Contributor
1289 has been advised of the possibility of such damages.
1291 9. Accepting Warranty or Additional Liability. While redistributing
1292 the Work or Derivative Works thereof, You may choose to offer,
1293 and charge a fee for, acceptance of support, warranty, indemnity,
1294 or other liability obligations and/or rights consistent with this
1295 License. However, in accepting such obligations, You may act only
1296 on Your own behalf and on Your sole responsibility, not on behalf
1297 of any other Contributor, and only if You agree to indemnify,
1298 defend, and hold each Contributor harmless for any liability
1299 incurred by, or claims asserted against, such Contributor by reason
1300 of your accepting any such warranty or additional liability.
1302 END OF TERMS AND CONDITIONS
1304 APPENDIX: How to apply the Apache License to your work.
1306 To apply the Apache License to your work, attach the following
1307 boilerplate notice, with the fields enclosed by brackets "[]"
1308 replaced with your own identifying information. (Don't include
1309 the brackets!) The text should be enclosed in the appropriate
1310 comment syntax for the file format. We also recommend that a
1311 file or class name and description of purpose be included on the
1312 same "printed page" as the copyright notice for easier
1313 identification within third-party archives.
1315 Copyright [yyyy] [name of copyright owner]
1317 Licensed under the Apache License, Version 2.0 (the "License");
1318 you may not use this file except in compliance with the License.
1319 You may obtain a copy of the License at
1321 http://www.apache.org/licenses/LICENSE-2.0
1323 Unless required by applicable law or agreed to in writing, software
1324 distributed under the License is distributed on an "AS IS" BASIS,
1325 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1326 See the License for the specific language governing permissions and
1327 limitations under the License.