
Ebc           @   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   Z e e d e  Z d S(   iNi    i   (   t   izipc         C   s}   t  |   t  |  k } | r- d } |  } n d } | } x7 t t |  t |   D] \ } } | | | AO} qU W| d k S(   s  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.
    i    i   (   t   lenR    t	   bytearray(   t   val1t   val2t   len_eqt   resultt   leftt   xt   y(    (    sl   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/itsdangerous/_compat.pyt   _constant_time_compare   s    	(t   compare_digest(   t   decimalt   hmact   numberst   syst   version_infot   PY2t	   itertoolsR    t   unicodet	   text_typet   zipt   strt   Realt   Decimalt   number_typesR
   t   getattrt   constant_time_compare(    (    (    sl   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/itsdangerous/_compat.pyt   <module>   s   		