File: //usr/lib64/python2.7/encodings/idna.pyo
�
s�fc           @   s  d  d l  Z  d  d l Z d  d l Z d  d l m Z e j d � Z d Z e e d � Z	 d �  Z
 d �  Z d �  Z d	 e j
 f d
 �  �  YZ
 d e j f d �  �  YZ d
 e j f d �  �  YZ d e
 e j f d �  �  YZ d e
 e j f d �  �  YZ d �  Z d S(   i����N(   t	   ucd_3_2_0u   [.。.。]s   xn--t   asciic         C   sy  g  } x9 |  D]1 } t  j | � r( q
 n  | j t  j | � � q
 Wd j | � }  t j d |  � }  x� |  D]� } t  j | � s� t  j | � s� t  j	 | � s� t  j
 | � s� t  j | � s� t  j | � s� t  j
 | � s� t  j | � s� t  j | � rj t d | � � qj qj Wt t  j |  � } t | � rut t  j |  � rMt d � � n  | d sc| d rut d � � qun  |  S(   Nu    t   NFKCs   Invalid character %rs   Violation of BIDI requirement 2i    i����s   Violation of BIDI requirement 3(   t
   stringprept   in_table_b1t   appendt   map_table_b2t   joint   unicodedatat	   normalizet   in_table_c12t   in_table_c22t   in_table_c3t   in_table_c4t   in_table_c5t   in_table_c6t   in_table_c7t   in_table_c8t   in_table_c9t   UnicodeErrort   mapt   in_table_d1t   anyt   filtert   in_table_d2(   t   labelt   newlabelt   ct   RandAL(    (    s&