[Python-modules-commits] [python-idna] 01/04: Import python-idna_2.2.orig.tar.gz

Tristan Seligmann mithrandi at moszumanska.debian.org
Mon Dec 26 14:21:16 UTC 2016


This is an automated email from the git hooks/post-receive script.

mithrandi pushed a commit to branch master
in repository python-idna.

commit 32fdb7fafaf1dd925cbcbe3666eef551ed428594
Author: Tristan Seligmann <mithrandi at debian.org>
Date:   Mon Dec 26 16:14:38 2016 +0200

    Import python-idna_2.2.orig.tar.gz
---
 HISTORY.rst               |   9 ++
 PKG-INFO                  |  84 ++++++-----
 README.rst                |  81 +++++-----
 idna.egg-info/PKG-INFO    |  84 ++++++-----
 idna.egg-info/SOURCES.txt |   2 +
 idna.egg-info/pbr.json    |   1 +
 idna/codec.py             |   2 +-
 idna/compat.py            |   4 +-
 idna/uts46data.py         | 368 +++++++++++++++++++++++++++++++++++++++++++++-
 setup.cfg                 |   3 +
 setup.py                  |   8 +-
 tests/test_idna.py        |   8 +-
 tools/build-uts46data.py  |  15 +-
 13 files changed, 556 insertions(+), 113 deletions(-)

diff --git a/HISTORY.rst b/HISTORY.rst
index d18fd09..4cabf99 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -3,6 +3,15 @@
 History
 -------
 
+2.2 (2016-12-21)
+++++++++++++++++
+
+- Made some changes to the UTS 46 data that should allow Jython to get around
+  64kb Java class limits. (Thanks, John A. Booth and Marcin Płonka.)
+- In Python 2.6, skip two tests that rely on data not present in that
+  Python version's unicodedata module.
+- Use relative imports to help downstream users.
+
 2.1 (2016-03-20)
 ++++++++++++++++
 
diff --git a/PKG-INFO b/PKG-INFO
index bb5187c..1ba12e9 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: idna
-Version: 2.1
+Version: 2.2
 Summary: Internationalized Domain Names in Applications (IDNA)
 Home-page: https://github.com/kjd/idna
 Author: Kim Davies
@@ -9,22 +9,30 @@ License: BSD-like
 Description: Internationalized Domain Names in Applications (IDNA)
         =====================================================
         
-        A library to support the Internationalised Domain Names in Applications
+        Support for the Internationalised Domain Names in Applications
         (IDNA) protocol as specified in `RFC 5891 <http://tools.ietf.org/html/rfc5891>`_.
-        This version of the protocol is often referred to as “IDNA2008”.
+        This is the latest version of the protocol and is sometimes referred to as
+        “IDNA 2008”.
         
         This library also provides support for Unicode Technical Standard 46,
         `Unicode IDNA Compatibility Processing <http://unicode.org/reports/tr46/>`_.
         
-        The library is also intended to act as a suitable replacement for
-        the “encodings.idna” module that comes with the Python standard library
-        but currently only supports the older, deprecated IDNA specification
-        (`RFC 3490 <http://tools.ietf.org/html/rfc3490>`_).
+        This acts as a suitable replacement for the “encodings.idna” module that
+        comes with the Python standard library, but only supports the
+        old, deprecated IDNA specification (`RFC 3490 <http://tools.ietf.org/html/rfc3490>`_).
         
-        Its basic functions are simply executed:
+        Basic functions are simply executed:
         
         .. code-block:: pycon
         
+            # Python 3
+            >>> import idna
+            >>> idna.encode('ドメイン.テスト')
+            b'xn--eckwd4c7c.xn--zckzah'
+            >>> print(idna.decode('xn--eckwd4c7c.xn--zckzah'))
+            ドメイン.テスト
+        
+            # Python 2
             >>> import idna
             >>> idna.encode(u'ドメイン.テスト')
             'xn--eckwd4c7c.xn--zckzah'
@@ -43,7 +51,7 @@ Description: Internationalized Domain Names in Applications (IDNA)
         Installation
         ------------
         
-        To install this library, you can use PIP:
+        To install this library, you can use pip:
         
         .. code-block:: bash
         
@@ -55,28 +63,30 @@ Description: Internationalized Domain Names in Applications (IDNA)
         
             $ python setup.py install
         
-        This library should work with Python 2.7, and Python 3.3 or later.
+        This library works with Python 2.6 or later, and Python 3.3 or later.
         
         
         Usage
         -----
         
         For typical usage, the ``encode`` and ``decode`` functions will take a domain
-        name argument and perform a conversion to an A-label or U-label respectively.
+        name argument and perform a conversion to A-labels or U-labels respectively.
         
         .. code-block:: pycon
         
+            # Python 3
             >>> import idna
-            >>> idna.encode(u'ドメイン.テスト')
-            'xn--eckwd4c7c.xn--zckzah'
-            >>> print idna.decode('xn--eckwd4c7c.xn--zckzah')
+            >>> idna.encode('ドメイン.テスト')
+            b'xn--eckwd4c7c.xn--zckzah'
+            >>> print(idna.decode('xn--eckwd4c7c.xn--zckzah'))
             ドメイン.テスト
         
         You may use the codec encoding and decoding methods using the
-        ``idna.codec`` module.
+        ``idna.codec`` module:
         
         .. code-block:: pycon
         
+            # Python 2
             >>> import idna.codec
             >>> print u'домена.испытание'.encode('idna')
             xn--80ahd1agd.xn--80akhbyknj4f
@@ -88,6 +98,7 @@ Description: Internationalized Domain Names in Applications (IDNA)
         
         .. code-block:: pycon
         
+            # Python 2
             >>> idna.alabel(u'测试')
             'xn--0zwm56d'
         
@@ -95,36 +106,41 @@ Description: Internationalized Domain Names in Applications (IDNA)
         +++++++++++++++++++++++++++++++
         
         As described in `RFC 5895 <http://tools.ietf.org/html/rfc5895>`_, the IDNA
-        specification no longer including mappings from different forms of input that
-        a user may enter, to the form that is provided to the IDNA functions. This
-        functionality is now considered by the specification to be a local
-        user-interface issue distinct from IDNA conversion functionality.
+        specification no longer normalizes input from different potential ways a user
+        may input a domain name. This functionality, known as a “mapping”, is now
+        considered by the specification to be a local user-interface issue distinct
+        from IDNA conversion functionality.
         
-        This library support one user-level mapping, that developed by the Unicode
-        Consortium, known as `Unicode IDNA Compatibility Processing <http://unicode.org/reports/tr46/>`_.
-        It provides for both regular mapping and transitional mapping.
+        This library provides one such mapping, that was developed by the Unicode
+        Consortium. Known as `Unicode IDNA Compatibility Processing <http://unicode.org/reports/tr46/>`_,
+        it provides for both a regular mapping for typical applications, as well as
+        a transitional mapping to help migrate from older IDNA 2003 applications.
         
-        For example, "Königsgäßchen" is not a permissible label as LATIN CAPITAL
-        LETTER K is not allowed (as are capital letters in general). UTS46 will convert
-        this into lower case.
+        For example, “Königsgäßchen” is not a permissible label as *LATIN CAPITAL
+        LETTER K* is not allowed (nor are capital letters in general). UTS 46 will
+        convert this into lower case prior to applying the IDNA conversion.
         
         .. code-block:: pycon
         
+            # Python 3
             >>> import idna
             >>> idna.encode(u'Königsgäßchen')
             ...
-            idna.core.InvalidCodepoint: Codepoint U+004B at position 1 of u'K\xf6nigsg\xe4\xdfchen' not allowed
-            >>> idna.encode(u'Königsgäßchen', uts46=True)
-            'xn--knigsgchen-b4a3dun'
+            idna.core.InvalidCodepoint: Codepoint U+004B at position 1 of 'Königsgäßchen' not allowed
+            >>> idna.encode('Königsgäßchen', uts46=True)
+            b'xn--knigsgchen-b4a3dun'
+            >>> print(idna.decode('xn--knigsgchen-b4a3dun'))
+            königsgäßchen
         
         Transitional processing provides conversions to help transition from the older
         2003 standard to the current standard. For example, in the original IDNA
-        specification, the LATIN SMALL LETTER SHARP S (ß) was converted into two
-        LATIN SMALL LETTER S (ss), whereas in the current IDNA specification this
+        specification, the *LATIN SMALL LETTER SHARP S* (ß) was converted into two
+        *LATIN SMALL LETTER S* (ss), whereas in the current IDNA specification this
         conversion is not performed.
         
         .. code-block:: pycon
         
+            # Python 2
             >>> idna.encode(u'Königsgäßchen', uts46=True, transitional=True)
             'xn--knigsgsschen-lcb0w'
         
@@ -138,7 +154,7 @@ Description: Internationalized Domain Names in Applications (IDNA)
         ++++++++++++++++++++++++++++++++
         
         Function calls from the Python built-in ``encodings.idna`` module are
-        mapping to their IDNA 2008 equivalents using the ``idna.compat`` module.
+        mapped to their IDNA 2008 equivalents using the ``idna.compat`` module.
         Simply substitute the ``import`` clause in your code to refer to the
         new module name.
         
@@ -159,11 +175,10 @@ Description: Internationalized Domain Names in Applications (IDNA)
         -------
         
         The library has a test suite based on each rule of the IDNA specification, as
-        well as test that are provided as part of the Unicode Technical Standard 46,
+        well as tests that are provided as part of the Unicode Technical Standard 46,
         `Unicode IDNA Compatibility Processing <http://unicode.org/reports/tr46/>`_.
         
-        The tests are run automatically on each commit to the master branch of the
-        idna git repository at Travis CI:
+        The tests are run automatically on each commit at Travis CI:
         
         .. image:: https://travis-ci.org/kjd/idna.svg?branch=master
            :target: https://travis-ci.org/kjd/idna
@@ -180,6 +195,7 @@ Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
 Classifier: Topic :: Internet :: Name Service (DNS)
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
 Classifier: Topic :: Utilities
diff --git a/README.rst b/README.rst
index 929000e..5f3ea8f 100644
--- a/README.rst
+++ b/README.rst
@@ -1,22 +1,30 @@
 Internationalized Domain Names in Applications (IDNA)
 =====================================================
 
-A library to support the Internationalised Domain Names in Applications
+Support for the Internationalised Domain Names in Applications
 (IDNA) protocol as specified in `RFC 5891 <http://tools.ietf.org/html/rfc5891>`_.
-This version of the protocol is often referred to as “IDNA2008”.
+This is the latest version of the protocol and is sometimes referred to as
+“IDNA 2008”.
 
 This library also provides support for Unicode Technical Standard 46,
 `Unicode IDNA Compatibility Processing <http://unicode.org/reports/tr46/>`_.
 
-The library is also intended to act as a suitable replacement for
-the “encodings.idna” module that comes with the Python standard library
-but currently only supports the older, deprecated IDNA specification
-(`RFC 3490 <http://tools.ietf.org/html/rfc3490>`_).
+This acts as a suitable replacement for the “encodings.idna” module that
+comes with the Python standard library, but only supports the
+old, deprecated IDNA specification (`RFC 3490 <http://tools.ietf.org/html/rfc3490>`_).
 
-Its basic functions are simply executed:
+Basic functions are simply executed:
 
 .. code-block:: pycon
 
+    # Python 3
+    >>> import idna
+    >>> idna.encode('ドメイン.テスト')
+    b'xn--eckwd4c7c.xn--zckzah'
+    >>> print(idna.decode('xn--eckwd4c7c.xn--zckzah'))
+    ドメイン.テスト
+
+    # Python 2
     >>> import idna
     >>> idna.encode(u'ドメイン.テスト')
     'xn--eckwd4c7c.xn--zckzah'
@@ -35,7 +43,7 @@ The latest tagged release version is published in the PyPI repository:
 Installation
 ------------
 
-To install this library, you can use PIP:
+To install this library, you can use pip:
 
 .. code-block:: bash
 
@@ -47,28 +55,30 @@ Alternatively, you can install the package using the bundled setup script:
 
     $ python setup.py install
 
-This library should work with Python 2.7, and Python 3.3 or later.
+This library works with Python 2.6 or later, and Python 3.3 or later.
 
 
 Usage
 -----
 
 For typical usage, the ``encode`` and ``decode`` functions will take a domain
-name argument and perform a conversion to an A-label or U-label respectively.
+name argument and perform a conversion to A-labels or U-labels respectively.
 
 .. code-block:: pycon
 
+    # Python 3
     >>> import idna
-    >>> idna.encode(u'ドメイン.テスト')
-    'xn--eckwd4c7c.xn--zckzah'
-    >>> print idna.decode('xn--eckwd4c7c.xn--zckzah')
+    >>> idna.encode('ドメイン.テスト')
+    b'xn--eckwd4c7c.xn--zckzah'
+    >>> print(idna.decode('xn--eckwd4c7c.xn--zckzah'))
     ドメイン.テスト
 
 You may use the codec encoding and decoding methods using the
-``idna.codec`` module.
+``idna.codec`` module:
 
 .. code-block:: pycon
 
+    # Python 2
     >>> import idna.codec
     >>> print u'домена.испытание'.encode('idna')
     xn--80ahd1agd.xn--80akhbyknj4f
@@ -80,6 +90,7 @@ functions if necessary:
 
 .. code-block:: pycon
 
+    # Python 2
     >>> idna.alabel(u'测试')
     'xn--0zwm56d'
 
@@ -87,36 +98,41 @@ Compatibility Mapping (UTS #46)
 +++++++++++++++++++++++++++++++
 
 As described in `RFC 5895 <http://tools.ietf.org/html/rfc5895>`_, the IDNA
-specification no longer including mappings from different forms of input that
-a user may enter, to the form that is provided to the IDNA functions. This
-functionality is now considered by the specification to be a local
-user-interface issue distinct from IDNA conversion functionality.
+specification no longer normalizes input from different potential ways a user
+may input a domain name. This functionality, known as a “mapping”, is now
+considered by the specification to be a local user-interface issue distinct
+from IDNA conversion functionality.
 
-This library support one user-level mapping, that developed by the Unicode
-Consortium, known as `Unicode IDNA Compatibility Processing <http://unicode.org/reports/tr46/>`_.
-It provides for both regular mapping and transitional mapping.
+This library provides one such mapping, that was developed by the Unicode
+Consortium. Known as `Unicode IDNA Compatibility Processing <http://unicode.org/reports/tr46/>`_,
+it provides for both a regular mapping for typical applications, as well as
+a transitional mapping to help migrate from older IDNA 2003 applications.
 
-For example, "Königsgäßchen" is not a permissible label as LATIN CAPITAL
-LETTER K is not allowed (as are capital letters in general). UTS46 will convert
-this into lower case.
+For example, “Königsgäßchen” is not a permissible label as *LATIN CAPITAL
+LETTER K* is not allowed (nor are capital letters in general). UTS 46 will
+convert this into lower case prior to applying the IDNA conversion.
 
 .. code-block:: pycon
 
+    # Python 3
     >>> import idna
     >>> idna.encode(u'Königsgäßchen')
     ...
-    idna.core.InvalidCodepoint: Codepoint U+004B at position 1 of u'K\xf6nigsg\xe4\xdfchen' not allowed
-    >>> idna.encode(u'Königsgäßchen', uts46=True)
-    'xn--knigsgchen-b4a3dun'
+    idna.core.InvalidCodepoint: Codepoint U+004B at position 1 of 'Königsgäßchen' not allowed
+    >>> idna.encode('Königsgäßchen', uts46=True)
+    b'xn--knigsgchen-b4a3dun'
+    >>> print(idna.decode('xn--knigsgchen-b4a3dun'))
+    königsgäßchen
 
 Transitional processing provides conversions to help transition from the older
 2003 standard to the current standard. For example, in the original IDNA
-specification, the LATIN SMALL LETTER SHARP S (ß) was converted into two
-LATIN SMALL LETTER S (ss), whereas in the current IDNA specification this
+specification, the *LATIN SMALL LETTER SHARP S* (ß) was converted into two
+*LATIN SMALL LETTER S* (ss), whereas in the current IDNA specification this
 conversion is not performed.
 
 .. code-block:: pycon
 
+    # Python 2
     >>> idna.encode(u'Königsgäßchen', uts46=True, transitional=True)
     'xn--knigsgsschen-lcb0w'
 
@@ -130,7 +146,7 @@ beneficial and could produce unexpected incompatible results.
 ++++++++++++++++++++++++++++++++
 
 Function calls from the Python built-in ``encodings.idna`` module are
-mapping to their IDNA 2008 equivalents using the ``idna.compat`` module.
+mapped to their IDNA 2008 equivalents using the ``idna.compat`` module.
 Simply substitute the ``import`` clause in your code to refer to the
 new module name.
 
@@ -151,11 +167,10 @@ Testing
 -------
 
 The library has a test suite based on each rule of the IDNA specification, as
-well as test that are provided as part of the Unicode Technical Standard 46,
+well as tests that are provided as part of the Unicode Technical Standard 46,
 `Unicode IDNA Compatibility Processing <http://unicode.org/reports/tr46/>`_.
 
-The tests are run automatically on each commit to the master branch of the
-idna git repository at Travis CI:
+The tests are run automatically on each commit at Travis CI:
 
 .. image:: https://travis-ci.org/kjd/idna.svg?branch=master
    :target: https://travis-ci.org/kjd/idna
diff --git a/idna.egg-info/PKG-INFO b/idna.egg-info/PKG-INFO
index bb5187c..1ba12e9 100644
--- a/idna.egg-info/PKG-INFO
+++ b/idna.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: idna
-Version: 2.1
+Version: 2.2
 Summary: Internationalized Domain Names in Applications (IDNA)
 Home-page: https://github.com/kjd/idna
 Author: Kim Davies
@@ -9,22 +9,30 @@ License: BSD-like
 Description: Internationalized Domain Names in Applications (IDNA)
         =====================================================
         
-        A library to support the Internationalised Domain Names in Applications
+        Support for the Internationalised Domain Names in Applications
         (IDNA) protocol as specified in `RFC 5891 <http://tools.ietf.org/html/rfc5891>`_.
-        This version of the protocol is often referred to as “IDNA2008”.
+        This is the latest version of the protocol and is sometimes referred to as
+        “IDNA 2008”.
         
         This library also provides support for Unicode Technical Standard 46,
         `Unicode IDNA Compatibility Processing <http://unicode.org/reports/tr46/>`_.
         
-        The library is also intended to act as a suitable replacement for
-        the “encodings.idna” module that comes with the Python standard library
-        but currently only supports the older, deprecated IDNA specification
-        (`RFC 3490 <http://tools.ietf.org/html/rfc3490>`_).
+        This acts as a suitable replacement for the “encodings.idna” module that
+        comes with the Python standard library, but only supports the
+        old, deprecated IDNA specification (`RFC 3490 <http://tools.ietf.org/html/rfc3490>`_).
         
-        Its basic functions are simply executed:
+        Basic functions are simply executed:
         
         .. code-block:: pycon
         
+            # Python 3
+            >>> import idna
+            >>> idna.encode('ドメイン.テスト')
+            b'xn--eckwd4c7c.xn--zckzah'
+            >>> print(idna.decode('xn--eckwd4c7c.xn--zckzah'))
+            ドメイン.テスト
+        
+            # Python 2
             >>> import idna
             >>> idna.encode(u'ドメイン.テスト')
             'xn--eckwd4c7c.xn--zckzah'
@@ -43,7 +51,7 @@ Description: Internationalized Domain Names in Applications (IDNA)
         Installation
         ------------
         
-        To install this library, you can use PIP:
+        To install this library, you can use pip:
         
         .. code-block:: bash
         
@@ -55,28 +63,30 @@ Description: Internationalized Domain Names in Applications (IDNA)
         
             $ python setup.py install
         
-        This library should work with Python 2.7, and Python 3.3 or later.
+        This library works with Python 2.6 or later, and Python 3.3 or later.
         
         
         Usage
         -----
         
         For typical usage, the ``encode`` and ``decode`` functions will take a domain
-        name argument and perform a conversion to an A-label or U-label respectively.
+        name argument and perform a conversion to A-labels or U-labels respectively.
         
         .. code-block:: pycon
         
+            # Python 3
             >>> import idna
-            >>> idna.encode(u'ドメイン.テスト')
-            'xn--eckwd4c7c.xn--zckzah'
-            >>> print idna.decode('xn--eckwd4c7c.xn--zckzah')
+            >>> idna.encode('ドメイン.テスト')
+            b'xn--eckwd4c7c.xn--zckzah'
+            >>> print(idna.decode('xn--eckwd4c7c.xn--zckzah'))
             ドメイン.テスト
         
         You may use the codec encoding and decoding methods using the
-        ``idna.codec`` module.
+        ``idna.codec`` module:
         
         .. code-block:: pycon
         
+            # Python 2
             >>> import idna.codec
             >>> print u'домена.испытание'.encode('idna')
             xn--80ahd1agd.xn--80akhbyknj4f
@@ -88,6 +98,7 @@ Description: Internationalized Domain Names in Applications (IDNA)
         
         .. code-block:: pycon
         
+            # Python 2
             >>> idna.alabel(u'测试')
             'xn--0zwm56d'
         
@@ -95,36 +106,41 @@ Description: Internationalized Domain Names in Applications (IDNA)
         +++++++++++++++++++++++++++++++
         
         As described in `RFC 5895 <http://tools.ietf.org/html/rfc5895>`_, the IDNA
-        specification no longer including mappings from different forms of input that
-        a user may enter, to the form that is provided to the IDNA functions. This
-        functionality is now considered by the specification to be a local
-        user-interface issue distinct from IDNA conversion functionality.
+        specification no longer normalizes input from different potential ways a user
+        may input a domain name. This functionality, known as a “mapping”, is now
+        considered by the specification to be a local user-interface issue distinct
+        from IDNA conversion functionality.
         
-        This library support one user-level mapping, that developed by the Unicode
-        Consortium, known as `Unicode IDNA Compatibility Processing <http://unicode.org/reports/tr46/>`_.
-        It provides for both regular mapping and transitional mapping.
+        This library provides one such mapping, that was developed by the Unicode
+        Consortium. Known as `Unicode IDNA Compatibility Processing <http://unicode.org/reports/tr46/>`_,
+        it provides for both a regular mapping for typical applications, as well as
+        a transitional mapping to help migrate from older IDNA 2003 applications.
         
-        For example, "Königsgäßchen" is not a permissible label as LATIN CAPITAL
-        LETTER K is not allowed (as are capital letters in general). UTS46 will convert
-        this into lower case.
+        For example, “Königsgäßchen” is not a permissible label as *LATIN CAPITAL
+        LETTER K* is not allowed (nor are capital letters in general). UTS 46 will
+        convert this into lower case prior to applying the IDNA conversion.
         
         .. code-block:: pycon
         
+            # Python 3
             >>> import idna
             >>> idna.encode(u'Königsgäßchen')
             ...
-            idna.core.InvalidCodepoint: Codepoint U+004B at position 1 of u'K\xf6nigsg\xe4\xdfchen' not allowed
-            >>> idna.encode(u'Königsgäßchen', uts46=True)
-            'xn--knigsgchen-b4a3dun'
+            idna.core.InvalidCodepoint: Codepoint U+004B at position 1 of 'Königsgäßchen' not allowed
+            >>> idna.encode('Königsgäßchen', uts46=True)
+            b'xn--knigsgchen-b4a3dun'
+            >>> print(idna.decode('xn--knigsgchen-b4a3dun'))
+            königsgäßchen
         
         Transitional processing provides conversions to help transition from the older
         2003 standard to the current standard. For example, in the original IDNA
-        specification, the LATIN SMALL LETTER SHARP S (ß) was converted into two
-        LATIN SMALL LETTER S (ss), whereas in the current IDNA specification this
+        specification, the *LATIN SMALL LETTER SHARP S* (ß) was converted into two
+        *LATIN SMALL LETTER S* (ss), whereas in the current IDNA specification this
         conversion is not performed.
         
         .. code-block:: pycon
         
+            # Python 2
             >>> idna.encode(u'Königsgäßchen', uts46=True, transitional=True)
             'xn--knigsgsschen-lcb0w'
         
@@ -138,7 +154,7 @@ Description: Internationalized Domain Names in Applications (IDNA)
         ++++++++++++++++++++++++++++++++
         
         Function calls from the Python built-in ``encodings.idna`` module are
-        mapping to their IDNA 2008 equivalents using the ``idna.compat`` module.
+        mapped to their IDNA 2008 equivalents using the ``idna.compat`` module.
         Simply substitute the ``import`` clause in your code to refer to the
         new module name.
         
@@ -159,11 +175,10 @@ Description: Internationalized Domain Names in Applications (IDNA)
         -------
         
         The library has a test suite based on each rule of the IDNA specification, as
-        well as test that are provided as part of the Unicode Technical Standard 46,
+        well as tests that are provided as part of the Unicode Technical Standard 46,
         `Unicode IDNA Compatibility Processing <http://unicode.org/reports/tr46/>`_.
         
-        The tests are run automatically on each commit to the master branch of the
-        idna git repository at Travis CI:
+        The tests are run automatically on each commit at Travis CI:
         
         .. image:: https://travis-ci.org/kjd/idna.svg?branch=master
            :target: https://travis-ci.org/kjd/idna
@@ -180,6 +195,7 @@ Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
 Classifier: Topic :: Internet :: Name Service (DNS)
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
 Classifier: Topic :: Utilities
diff --git a/idna.egg-info/SOURCES.txt b/idna.egg-info/SOURCES.txt
index 79daa28..4aaa732 100644
--- a/idna.egg-info/SOURCES.txt
+++ b/idna.egg-info/SOURCES.txt
@@ -2,6 +2,7 @@ HISTORY.rst
 LICENSE.rst
 MANIFEST.in
 README.rst
+setup.cfg
 setup.py
 idna/__init__.py
 idna/codec.py
@@ -13,6 +14,7 @@ idna/uts46data.py
 idna.egg-info/PKG-INFO
 idna.egg-info/SOURCES.txt
 idna.egg-info/dependency_links.txt
+idna.egg-info/pbr.json
 idna.egg-info/top_level.txt
 tests/IdnaTest.txt.gz
 tests/__init__.py
diff --git a/idna.egg-info/pbr.json b/idna.egg-info/pbr.json
new file mode 100644
index 0000000..318d6aa
--- /dev/null
+++ b/idna.egg-info/pbr.json
@@ -0,0 +1 @@
+{"is_release": false, "git_version": "fff6af7"}
\ No newline at end of file
diff --git a/idna/codec.py b/idna/codec.py
index cdd9675..98c65ea 100644
--- a/idna/codec.py
+++ b/idna/codec.py
@@ -1,4 +1,4 @@
-from idna.core import encode, decode, alabel, ulabel, IDNAError
+from .core import encode, decode, alabel, ulabel, IDNAError
 import codecs
 import re
 
diff --git a/idna/compat.py b/idna/compat.py
index ef9bcbd..4d47f33 100644
--- a/idna/compat.py
+++ b/idna/compat.py
@@ -1,5 +1,5 @@
-from idna.core import *
-from idna.codec import *
+from .core import *
+from .codec import *
 
 def ToASCII(label):
     return encode(label)
diff --git a/idna/uts46data.py b/idna/uts46data.py
index 64e2c68..48da840 100644
--- a/idna/uts46data.py
+++ b/idna/uts46data.py
@@ -3,7 +3,9 @@
 
 """IDNA Mapping Table from UTS46."""
 
-uts46data = (
+
+def _seg_0():
+    return [
     (0x0, '3'),
     (0x1, '3'),
     (0x2, '3'),
@@ -104,6 +106,10 @@ uts46data = (
     (0x61, 'V'),
     (0x62, 'V'),
     (0x63, 'V'),
+    ]
+
+def _seg_1():
+    return [
     (0x64, 'V'),
     (0x65, 'V'),
     (0x66, 'V'),
@@ -204,6 +210,10 @@ uts46data = (
     (0xC5, 'M', u'å'),
     (0xC6, 'M', u'æ'),
     (0xC7, 'M', u'ç'),
+    ]
+
+def _seg_2():
+    return [
     (0xC8, 'M', u'è'),
     (0xC9, 'M', u'é'),
     (0xCA, 'M', u'ê'),
@@ -304,6 +314,10 @@ uts46data = (
     (0x129, 'V'),
     (0x12A, 'M', u'ī'),
     (0x12B, 'V'),
+    ]
+
+def _seg_3():
+    return [
     (0x12C, 'M', u'ĭ'),
     (0x12D, 'V'),
     (0x12E, 'M', u'į'),
@@ -404,6 +418,10 @@ uts46data = (
     (0x191, 'M', u'ƒ'),
     (0x192, 'V'),
     (0x193, 'M', u'ɠ'),
+    ]
+
+def _seg_4():
+    return [
     (0x194, 'M', u'ɣ'),
     (0x195, 'V'),
     (0x196, 'M', u'ɩ'),
@@ -504,6 +522,10 @@ uts46data = (
     (0x20A, 'M', u'ȋ'),
     (0x20B, 'V'),
     (0x20C, 'M', u'ȍ'),
+    ]
+
+def _seg_5():
+    return [
     (0x20D, 'V'),
     (0x20E, 'M', u'ȏ'),
     (0x20F, 'V'),
@@ -604,6 +626,10 @@ uts46data = (
     (0x375, 'V'),
     (0x376, 'M', u'ͷ'),
     (0x377, 'V'),
+    ]
+
+def _seg_6():
+    return [
     (0x378, 'X'),
     (0x37A, '3', u' ι'),
     (0x37B, 'V'),
@@ -704,6 +730,10 @@ uts46data = (
     (0x401, 'M', u'ё'),
     (0x402, 'M', u'ђ'),
     (0x403, 'M', u'ѓ'),
+    ]
+
+def _seg_7():
+    return [
     (0x404, 'M', u'є'),
     (0x405, 'M', u'ѕ'),
     (0x406, 'M', u'і'),
@@ -804,6 +834,10 @@ uts46data = (
     (0x49C, 'M', u'ҝ'),
     (0x49D, 'V'),
     (0x49E, 'M', u'ҟ'),
+    ]
+
+def _seg_8():
+    return [
     (0x49F, 'V'),
     (0x4A0, 'M', u'ҡ'),
     (0x4A1, 'V'),
@@ -904,6 +938,10 @@ uts46data = (
     (0x501, 'V'),
     (0x502, 'M', u'ԃ'),
     (0x503, 'V'),
+    ]
+
+def _seg_9():
+    return [
     (0x504, 'M', u'ԅ'),
     (0x505, 'V'),
     (0x506, 'M', u'ԇ'),
@@ -1004,6 +1042,10 @@ uts46data = (
     (0x678, 'M', u'يٴ'),
     (0x679, 'V'),
     (0x6DD, 'X'),
+    ]
+
+def _seg_10():
+    return [
     (0x6DE, 'V'),
     (0x70E, 'X'),
     (0x710, 'V'),
@@ -1104,6 +1146,10 @@ uts46data = (
     (0xA5D, 'X'),
     (0xA5E, 'M', u'ਫ਼'),
     (0xA5F, 'X'),
+    ]
+
+def _seg_11():
+    return [
     (0xA66, 'V'),
     (0xA76, 'X'),
     (0xA81, 'V'),
@@ -1204,6 +1250,10 @@ uts46data = (
     (0xC2A, 'V'),
     (0xC34, 'X'),
     (0xC35, 'V'),
+    ]
+
+def _seg_12():
+    return [
     (0xC3A, 'X'),
     (0xC3D, 'V'),
     (0xC45, 'X'),
@@ -1304,6 +1354,10 @@ uts46data = (
     (0xE84, 'V'),
     (0xE85, 'X'),
     (0xE87, 'V'),
+    ]
+
+def _seg_13():
+    return [
     (0xE89, 'X'),
     (0xE8A, 'V'),
     (0xE8B, 'X'),
@@ -1404,6 +1458,10 @@ uts46data = (
     (0x1250, 'V'),
     (0x1257, 'X'),
     (0x1258, 'V'),
+    ]
+
+def _seg_14():
+    return [
     (0x1259, 'X'),
     (0x125A, 'V'),
     (0x125E, 'X'),
@@ -1504,6 +1562,10 @@ uts46data = (
     (0x1A8A, 'X'),
     (0x1A90, 'V'),
     (0x1A9A, 'X'),
+    ]
+
+def _seg_15():
+    return [
     (0x1AA0, 'V'),
     (0x1AAE, 'X'),
     (0x1B00, 'V'),
@@ -1604,6 +1666,10 @@ uts46data = (
     (0x1DA7, 'M', u'ᵻ'),
     (0x1DA8, 'M', u'ʝ'),
     (0x1DA9, 'M', u'ɭ'),
+    ]
+
+def _seg_16():
+    return [
     (0x1DAA, 'M', u'ᶅ'),
     (0x1DAB, 'M', u'ʟ'),
     (0x1DAC, 'M', u'ɱ'),
@@ -1704,6 +1770,10 @@ uts46data = (
     (0x1E48, 'M', u'ṉ'),
     (0x1E49, 'V'),
     (0x1E4A, 'M', u'ṋ'),
+    ]
+
+def _seg_17():
+    return [
     (0x1E4B, 'V'),
     (0x1E4C, 'M', u'ṍ'),
     (0x1E4D, 'V'),
@@ -1804,6 +1874,10 @@ uts46data = (
     (0x1EB1, 'V'),
     (0x1EB2, 'M', u'ẳ'),
     (0x1EB3, 'V'),
+    ]
+
+def _seg_18():
+    return [
     (0x1EB4, 'M', u'ẵ'),
     (0x1EB5, 'V'),
     (0x1EB6, 'M', u'ặ'),
@@ -1904,6 +1978,10 @@ uts46data = (
     (0x1F2B, 'M', u'ἣ'),
     (0x1F2C, 'M', u'ἤ'),
     (0x1F2D, 'M', u'ἥ'),
+    ]
+
+def _seg_19():
+    return [
     (0x1F2E, 'M', u'ἦ'),
     (0x1F2F, 'M', u'ἧ'),
     (0x1F30, 'V'),
@@ -2004,6 +2082,10 @@ uts46data = (
     (0x1FAC, 'M', u'ὤι'),
     (0x1FAD, 'M', u'ὥι'),
     (0x1FAE, 'M', u'ὦι'),
+    ]
+
+def _seg_20():
+    return [
     (0x1FAF, 'M', u'ὧι'),
     (0x1FB0, 'V'),
     (0x1FB2, 'M', u'ὰι'),
@@ -2104,6 +2186,10 @@ uts46data = (
     (0x204A, 'V'),
     (0x2057, 'M', u'′′′′'),
     (0x2058, 'V'),
+    ]
+
+def _seg_21():
+    return [
     (0x205F, '3', u' '),
     (0x2060, 'I'),
     (0x2061, 'X'),
@@ -2204,6 +2290,10 @@ uts46data = (
     (0x2133, 'M', u'm'),
     (0x2134, 'M', u'o'),
     (0x2135, 'M', u'א'),
+    ]
+
+def _seg_22():
+    return [
     (0x2136, 'M', u'ב'),
     (0x2137, 'M', u'ג'),
     (0x2138, 'M', u'ד'),
@@ -2304,6 +2394,10 @@ uts46data = (
     (0x2469, 'M', u'10'),
     (0x246A, 'M', u'11'),
     (0x246B, 'M', u'12'),
+    ]
+
+def _seg_23():
+    return [
     (0x246C, 'M', u'13'),
     (0x246D, 'M', u'14'),
     (0x246E, 'M', u'15'),
@@ -2404,6 +2498,10 @@ uts46data = (
     (0x24E0, 'M', u'q'),
     (0x24E1, 'M', u'r'),
     (0x24E2, 'M', u's'),
+    ]
+
+def _seg_24():
+    return [
     (0x24E3, 'M', u't'),
     (0x24E4, 'M', u'u'),
     (0x24E5, 'M', u'v'),
@@ -2504,6 +2602,10 @@ uts46data = (
     (0x2C80, 'M', u'ⲁ'),
     (0x2C81, 'V'),
     (0x2C82, 'M', u'ⲃ'),
+    ]
+
+def _seg_25():
+    return [
     (0x2C83, 'V'),
     (0x2C84, 'M', u'ⲅ'),
     (0x2C85, 'V'),
@@ -2604,6 +2706,10 @@ uts46data = (
     (0x2CEB, 'M', u'ⳬ'),
     (0x2CEC, 'V'),
     (0x2CED, 'M', u'ⳮ'),
+    ]
+
+def _seg_26():
+    return [
     (0x2CEE, 'V'),
     (0x2CF2, 'M', u'ⳳ'),
     (0x2CF3, 'V'),
@@ -2704,6 +2810,10 @@ uts46data = (
     (0x2F37, 'M', u'弋'),
     (0x2F38, 'M', u'弓'),
     (0x2F39, 'M', u'彐'),
+    ]
+
+def _seg_27():
+    return [
     (0x2F3A, 'M', u'彡'),
     (0x2F3B, 'M', u'彳'),
     (0x2F3C, 'M', u'心'),
@@ -2804,6 +2914,10 @@ uts46data = (
     (0x2F9B, 'M', u'走'),
     (0x2F9C, 'M', u'足'),
     (0x2F9D, 'M', u'身'),
+    ]
+
+def _seg_28():
+    return [
     (0x2F9E, 'M', u'車'),
     (0x2F9F, 'M', u'辛'),
     (0x2FA0, 'M', u'辰'),
@@ -2904,6 +3018,10 @@ uts46data = (
     (0x3142, 'M', u'ᄇ'),
     (0x3143, 'M', u'ᄈ'),
     (0x3144, 'M', u'ᄡ'),
+    ]
+
+def _seg_29():
+    return [
     (0x3145, 'M', u'ᄉ'),
     (0x3146, 'M', u'ᄊ'),
     (0x3147, 'M', u'ᄋ'),
@@ -3004,6 +3122,10 @@ uts46data = (
     (0x3202, '3', u'(ᄃ)'),
     (0x3203, '3', u'(ᄅ)'),
     (0x3204, '3', u'(ᄆ)'),
+    ]
+
+def _seg_30():
+    return [
     (0x3205, '3', u'(ᄇ)'),
     (0x3206, '3', u'(ᄉ)'),
     (0x3207, '3', u'(ᄋ)'),
@@ -3104,6 +3226,10 @@ uts46data = (
     (0x326D, 'M', u'ᄒ'),
     (0x326E, 'M', u'가'),
     (0x326F, 'M', u'나'),
... 650 lines suppressed ...

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-idna.git



More information about the Python-modules-commits mailing list