1 All contributions towards parso are MIT licensed.
3 Some Python files have been taken from the standard library and are therefore
4 PSF licensed. Modifications on these files are dual licensed (both MIT and
12 Also some test files under test/normalizer_issue_files have been copied from
13 https://github.com/PyCQA/pycodestyle (Expat License == MIT License).
15 -------------------------------------------------------------------------------
18 Copyright (c) <2013-2017> <David Halter and others, see AUTHORS.txt>
20 Permission is hereby granted, free of charge, to any person obtaining a copy
21 of this software and associated documentation files (the "Software"), to deal
22 in the Software without restriction, including without limitation the rights
23 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
24 copies of the Software, and to permit persons to whom the Software is
25 furnished to do so, subject to the following conditions:
27 The above copyright notice and this permission notice shall be included in
28 all copies or substantial portions of the Software.
30 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
31 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
32 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
33 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
34 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
35 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
38 -------------------------------------------------------------------------------
40 PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
41 --------------------------------------------
43 1. This LICENSE AGREEMENT is between the Python Software Foundation
44 ("PSF"), and the Individual or Organization ("Licensee") accessing and
45 otherwise using this software ("Python") in source or binary form and
46 its associated documentation.
48 2. Subject to the terms and conditions of this License Agreement, PSF hereby
49 grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
50 analyze, test, perform and/or display publicly, prepare derivative works,
51 distribute, and otherwise use Python alone or in any derivative version,
52 provided, however, that PSF's License Agreement and PSF's notice of copyright,
53 i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
54 2011, 2012, 2013, 2014, 2015 Python Software Foundation; All Rights Reserved"
55 are retained in Python alone or in any derivative version prepared by Licensee.
57 3. In the event Licensee prepares a derivative work that is based on
58 or incorporates Python or any part thereof, and wants to make
59 the derivative work available to others as provided herein, then
60 Licensee hereby agrees to include in any such work a brief summary of
61 the changes made to Python.
63 4. PSF is making Python available to Licensee on an "AS IS"
64 basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
65 IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
66 DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
67 FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
68 INFRINGE ANY THIRD PARTY RIGHTS.
70 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
71 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
72 A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
73 OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
75 6. This License Agreement will automatically terminate upon a material
76 breach of its terms and conditions.
78 7. Nothing in this License Agreement shall be deemed to create any
79 relationship of agency, partnership, or joint venture between PSF and
80 Licensee. This License Agreement does not grant permission to use PSF
81 trademarks or trade name in a trademark sense to endorse or promote
82 products or services of Licensee, or any third party.
84 8. By copying, installing or otherwise using Python, Licensee
85 agrees to be bound by the terms and conditions of this License