components/python/idna/idna.license
author Yiteng Zhang <yiteng.zhang@oracle.com>
Tue, 23 Feb 2016 15:19:53 -0800
changeset 5486 fc535b316139
permissions -rw-r--r--
PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module PSARC/2015/490 ipaddress - Python IPv4/IPv6 manipulation module 22365145 upgrade setuptools to version 19.2 22520287 Upgrade cffi to version 1.4.2 22520302 Upgrade cryptography to version 1.2.1 22520335 Integrate idna into Userland 22520346 Integrate ipaddress into Userland 22520361 Upgrade pyasn1 to version 0.1.9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5486
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
     1
Copyright (c) 2013-2015, Kim Davies. All rights reserved.
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
     2
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
     3
Redistribution and use in source and binary forms, with or without
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
     4
modification, are permitted provided that the following conditions are met:
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
     5
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
     6
#. Redistributions of source code must retain the above copyright
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
     7
   notice, this list of conditions and the following disclaimer.
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
     8
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
     9
#. Redistributions in binary form must reproduce the above
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    10
   copyright notice, this list of conditions and the following
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    11
   disclaimer in the documentation and/or other materials provided with
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    12
   the distribution.
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    13
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    14
#. Neither the name of the copyright holder nor the names of the 
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    15
   contributors may be used to endorse or promote products derived 
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    16
   from this software without specific prior written permission.
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    17
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    18
#. THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS "AS IS" AND ANY
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    19
   EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    20
   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    21
   PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR 
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    22
   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    23
   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    24
   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    25
   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    26
   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    27
   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    28
   USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    29
   DAMAGE.
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    30
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    31
Portions of the codec implementation and unit tests are derived from the
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    32
Python standard library, which carries the `Python Software Foundation
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    33
License <https://docs.python.org/2/license.html>`_:
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    34
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    35
   Copyright (c) 2001-2014 Python Software Foundation; All Rights Reserved
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    36
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    37
Portions of the unit tests are derived from the Unicode standard, which 
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    38
is subject to the Unicode, Inc. License Agreement:
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    39
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    40
   Copyright (c) 1991-2014 Unicode, Inc. All rights reserved.
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    41
   Distributed under the Terms of Use in 
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    42
   <http://www.unicode.org/copyright.html>.
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    43
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    44
   Permission is hereby granted, free of charge, to any person obtaining
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    45
   a copy of the Unicode data files and any associated documentation
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    46
   (the "Data Files") or Unicode software and any associated documentation
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    47
   (the "Software") to deal in the Data Files or Software
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    48
   without restriction, including without limitation the rights to use,
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    49
   copy, modify, merge, publish, distribute, and/or sell copies of
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    50
   the Data Files or Software, and to permit persons to whom the Data Files
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    51
   or Software are furnished to do so, provided that
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    52
   
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    53
   (a) this copyright and permission notice appear with all copies 
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    54
   of the Data Files or Software,
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    55
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    56
   (b) this copyright and permission notice appear in associated 
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    57
   documentation, and
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    58
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    59
   (c) there is clear notice in each modified Data File or in the Software
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    60
   as well as in the documentation associated with the Data File(s) or
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    61
   Software that the data or software has been modified.
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    62
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    63
   THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    64
   ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    65
   WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    66
   NONINFRINGEMENT OF THIRD PARTY RIGHTS.
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    67
   IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    68
   NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    69
   DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    70
   DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    71
   TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    72
   PERFORMANCE OF THE DATA FILES OR SOFTWARE.
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    73
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    74
   Except as contained in this notice, the name of a copyright holder
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    75
   shall not be used in advertising or otherwise to promote the sale,
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    76
   use or other dealings in these Data Files or Software without prior
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    77
   written authorization of the copyright holder.
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents:
diff changeset
    78