
_m                 @   s   d  d l  Z  d  d l Z d  d l Z d  d l Z e j d  d k Z e rb d  d l m Z e Z	 n e
 Z e Z	 e j e  j f Z d d   Z e e d e  Z d S)    N   )izipc             C   s}   t  |   t  |  k } | r- d } |  } n d } | } x7 t t |  t |   D] \ } } | | | AO} qU W| d k S)a  Return ``True`` if the two strings are equal, ``False``
    otherwise.

    The time taken is independent of the number of characters that
    match. Do not use this function for anything else than comparision
    with known length targets.

    This is should be implemented in C in order to get it completely
    right.

    This is an alias of :func:`hmac.compare_digest` on Python>=2.7,3.3.
    r      )lenr   	bytearray)Zval1Zval2Zlen_eqresultleftxy r   </tmp/pip-build-5gj8f0j9/itsdangerous/itsdangerous/_compat.py_constant_time_compare   s    	(r   compare_digest)decimalhmacZnumberssysversion_infoPY2	itertoolsr   unicode	text_typezipstrZRealZDecimalZnumber_typesr   getattrZconstant_time_comparer   r   r   r   <module>   s   	