ó
ÐH/\c           @` sñ  d  Z  d d l m Z m Z m Z d d l Z d d l Z d d l Z d d l m	 Z	 d d l m
 Z
 d g Z g  Z d e f d „  ƒ  YZ d	 „  Z d
 „  Z d „  Z e Z d e f d „  ƒ  YZ e d e f e e j ƒ ƒ Z d „  Z d e f d „  ƒ  YZ d e f d „  ƒ  YZ d e f d „  ƒ  YZ d e f d „  ƒ  YZ d e f d „  ƒ  YZ d e f d „  ƒ  YZ d e f d „  ƒ  YZ d e e f d „  ƒ  YZ d e e f d  „  ƒ  YZ  d! e e f d" „  ƒ  YZ! d# e e f d$ „  ƒ  YZ" d% e f d& „  ƒ  YZ# d' e e f d( „  ƒ  YZ$ d) e e f d* „  ƒ  YZ% d+ e e f d, „  ƒ  YZ& d- e e f d. „  ƒ  YZ' d/ e e f d0 „  ƒ  YZ( d1 e e f d2 „  ƒ  YZ) d3 e e f d4 „  ƒ  YZ* d5 e e f d6 „  ƒ  YZ+ d7 e f d8 „  ƒ  YZ, d9 e, e f d: „  ƒ  YZ- d; e, e f d< „  ƒ  YZ. d= e, e f d> „  ƒ  YZ/ d? e, e f d@ „  ƒ  YZ0 dA e, e f dB „  ƒ  YZ1 dC e, e f dD „  ƒ  YZ2 dE e, e f dF „  ƒ  YZ3 dG e, e f dH „  ƒ  YZ4 dI e e, e f dJ „  ƒ  YZ5 e ƒ  Z6 y e! ƒ  j7 ƒ  Wn e8 k
 rìn Xd S(K   s‘   
gevent tunables.

This should be used as ``from gevent import config``. That variable
is an object of :class:`Config`.

.. versionadded:: 1.3a2
i    (   t   print_functiont   absolute_importt   divisionN(   t   string_types(   t   WINt   configt   SettingTypec           B` s   e  Z d  „  Z d „  Z RS(   c         ` s&  | d k r" t  j |  | | | ƒ St t ƒ | d <d | k rQ | j ƒ  | d <n  d | k rx d | d j ƒ  | d <n  t  j |  | | | ƒ } | j | j d d ƒ ƒ | j | _	 t j
 | ƒ | j r"| d ‰  ‡  f d †  } ‡  f d	 †  } t | | d
 | j	 ƒ} t t | d | ƒ n  | S(   Nt   Settingt   ordert   namet   environment_keyt   GEVENT_t   desct    c         ` s   |  j  ˆ  j ƒ  S(   N(   t   settingst   get(   t   self(   t   setting_name(    s-   lib/python2.7/site-packages/gevent/_config.pyt   getter1   s    c         ` s   |  j  ˆ  j | ƒ d  S(   N(   R   t   set(   R   t   value(   R   (    s-   lib/python2.7/site-packages/gevent/_config.pyt   setter4   s    t   doc(   t   typet   __new__t   lent   ALL_SETTINGSt   lowert   uppert   fmt_descR   R   t   __doc__t   appendt   documentt   propertyt   setattrt   Config(   t   clsR	   t   basest   cls_dictt	   new_classR   R   t   prop(    (   R   s-   lib/python2.7/site-packages/gevent/_config.pyR      s$    	
c         C` s  t  j | ƒ j ƒ  } t |  d ƒ rW | d 7} |  j rW | d t |  j ƒ f 7} qW n  t |  j d ƒ r | d t  j |  j j ƒ j ƒ  7} n  t	 |  j
 t ƒ rÃ t |  d ƒ rÃ d |  j
 f } n d |  j
 f } | d | f 7} | d	 |  j f 7} t |  d
 | ƒ | S(   Nt   shortname_maps5  

This is an importable value. It can be given as a string naming an importable object, or a list of strings in preference order and the first successfully importable object will be used. (Separate values in the environment variable with commas.) It can also be given as the callable object itself (in code). s*   Shorthand names for default objects are %rR   s   

s   `%s`s   `%r`s   

The default value is %ss>   

The environment variable ``%s`` can be used to control this.R   (   t   textwrapt   dedentt   stript   hasattrR)   t   listt   getattrt   validateR   t
   isinstancet   defaultt   strR
   R"   (   R$   R   R2   (    (    s-   lib/python2.7/site-packages/gevent/_config.pyR   ?   s     	 &!(   t   __name__t
   __module__R   R   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyR      s   	"c         C` s   t  d |  f ƒ ‚ d  S(   Ns   Not a valid value: %r(   t
   ValueError(   R   (    (    s-   lib/python2.7/site-packages/gevent/_config.pyt   validate_invalidX   s    c         C` sr   t  |  t ƒ rh |  j ƒ  j ƒ  }  |  d
 k r6 t }  qh |  d k sI |  rR t }  qh t d	 |  f ƒ ‚ n  t |  ƒ S(   sÃ   
    This is a boolean value.

    In the environment variable, it may be given as ``1``, ``true``,
    ``on`` or ``yes`` for `True`, or ``0``, ``false``, ``off``, or
    ``no`` for `False`.
    t   1t   truet   ont   yest   0t   falset   offt   nos   Invalid boolean string: %r(   R8   R9   R:   R;   (   R<   R=   R>   R?   (   R1   R   R   R,   t   Truet   FalseR6   t   bool(   R   (    (    s-   lib/python2.7/site-packages/gevent/_config.pyt   validate_bool[   s    		c         C` s   |  S(   N(    (   R   (    (    s-   lib/python2.7/site-packages/gevent/_config.pyt   validate_anythingm   s    R   c           B` s\   e  Z d Z d Z e e ƒ Z d Z d Z	 e
 Z d  Z d „  Z d „  Z d „  Z d „  Z RS(   sT   
    A long ReST description.

    The first line should be a single sentence.

    c         C` s    t  | t ƒ r | j d ƒ S| S(   Nt   ,(   R1   R   t   split(   R   R   (    (    s-   lib/python2.7/site-packages/gevent/_config.pyt   _convert‚   s    c         C` s.   t  j j |  j |  j ƒ } |  j | ƒ } | S(   N(   t   ost   environR   R
   R2   RG   (   R   t   result(    (    s-   lib/python2.7/site-packages/gevent/_config.pyt   _default‡   s    c         C` s5   d |  j  k r |  j S|  j |  j ƒ  ƒ |  _ |  j S(   NR   (   t   __dict__R   R0   RK   (   R   (    (    s-   lib/python2.7/site-packages/gevent/_config.pyR   Œ   s    c         C` s   |  j  |  j | ƒ ƒ |  _ d  S(   N(   R0   RG   R   (   R   t   val(    (    s-   lib/python2.7/site-packages/gevent/_config.pyR   •   s    N(   R4   R5   t   NoneR	   R   t   staticmethodR7   R0   R2   R
   R@   R    R   RG   RK   R   R   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyR   r   s   				c          C` sF   i  }  x9 t  D]1 } | ƒ  } | j |  k s1 t ‚ | |  | j <q W|  S(   sJ   
    Return fresh instances of all classes defined in `ALL_SETTINGS`.
    (   R   R	   t   AssertionError(   R   t   setting_kindt   setting(    (    s-   lib/python2.7/site-packages/gevent/_config.pyt   make_settings›   s    	R#   c           B` s;   e  Z d  Z d „  Z d „  Z d „  Z d „  Z d „  Z RS(   s"  
    Global configuration for gevent.

    There is one instance of this object at ``gevent.config``. If you
    are going to make changes in code, instead of using the documented
    environment variables, you need to make the changes before using
    any parts of gevent that might need those settings. For example::

        >>> from gevent import config
        >>> config.fileobject = 'thread'

        >>> from gevent import fileobject
        >>> fileobject.FileObject.__name__
        'FileObjectThread'

    .. versionadded:: 1.3a2

    c         C` s   t  ƒ  |  _ d  S(   N(   RS   R   (   R   (    (    s-   lib/python2.7/site-packages/gevent/_config.pyt   __init__»   s    c         C` s3   | |  j  k r" t d | ƒ ‚ n  |  j  | j ƒ  S(   Ns    No configuration setting for: %r(   R   t   AttributeErrorR   (   R   R	   (    (    s-   lib/python2.7/site-packages/gevent/_config.pyt   __getattr__¾   s    c         C` sK   | d k r. | |  j  k r. |  j | | ƒ n t t |  ƒ j | | ƒ d  S(   NR   (   R   R   t   superR#   t   __setattr__(   R   R	   R   (    (    s-   lib/python2.7/site-packages/gevent/_config.pyRX   Ã   s    c         C` s:   | |  j  k r" t d | ƒ ‚ n  |  j  | j | ƒ d  S(   Ns    No configuration setting for: %r(   R   RU   R   (   R   R	   R   (    (    s-   lib/python2.7/site-packages/gevent/_config.pyR   É   s    c         C` s   t  |  j ƒ S(   N(   R.   R   (   R   (    (    s-   lib/python2.7/site-packages/gevent/_config.pyt   __dir__Î   s    (   R4   R5   R   RT   RV   RX   R   RY   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyR#   §   s   				t   ImportableSettingc           B` s8   e  Z d  „  Z e ƒ  d „ Z i  Z d „  Z d „  Z RS(   c         C` su   t  | t ƒ s t ‚ | s* t d ƒ ‚ n  x7 | d  D]+ } y |  j | ƒ SWq5 t k
 r_ q5 Xq5 W|  j | d ƒ S(   Ns   Cannot import from empty listiÿÿÿÿ(   R1   R.   RP   t   ImportErrort   _import_one(   R   t
   candidatest   item(    (    s-   lib/python2.7/site-packages/gevent/_config.pyt   _import_one_ofÔ   s    c         C` s¯   t  | t ƒ s | Sd | k s+ d | k rM t d | t |  j ƒ f ƒ ‚ n  | j d d ƒ \ } } t j | ƒ } t | | | ƒ } | | k r« t d | | f ƒ ‚ n  | S(   Nt   .t   /sL   Cannot import %r. Required format: [package.]module.class. Or choose from %ri   s   Cannot import %r from %r(	   R1   R   R[   R.   R)   t   rsplitt	   importlibt   import_moduleR/   (   R   t   patht   _MISSINGt   moduleR^   t   x(    (    s-   lib/python2.7/site-packages/gevent/_config.pyR\   á   s    c         C` sB   t  | t ƒ r | S|  j g  | D] } |  j j | | ƒ ^ q  ƒ S(   N(   R1   R   R_   R)   R   (   R   R   Rh   (    (    s-   lib/python2.7/site-packages/gevent/_config.pyR0   õ   s    c         C` sa   i  } xT |  j  j ƒ  D]C \ } } y |  j | ƒ | | <Wq t k
 rX } | | | <q Xq W| S(   N(   R)   t   itemsR\   R[   (   R   RJ   R	   RM   t   e(    (    s-   lib/python2.7/site-packages/gevent/_config.pyt   get_optionsú   s    (   R4   R5   R_   t   objectR\   R)   R0   Rk   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyRZ   Ò   s
   		t   BoolSettingMixinc           B` s    e  Z e e ƒ Z e e ƒ Z RS(    (   R4   R5   RO   RC   R0   t   convert_str_value_as_isRG   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyRm     s   t   IntSettingMixinc           B` s   e  Z d  „  Z e e ƒ Z RS(   c         C` s   | r t  | ƒ Sd  S(   N(   t   int(   R   R   (    (    s-   lib/python2.7/site-packages/gevent/_config.pyRG     s    (   R4   R5   RG   RO   RD   R0   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyRo   
  s   	t   _PositiveValueMixinc           B` s   e  Z d  „  Z RS(   c         C` s+   | d  k	 r' | d k r' t d ƒ ‚ n  | S(   Ni    s   Must be positive(   RN   R6   (   R   R   (    (    s-   lib/python2.7/site-packages/gevent/_config.pyR0     s    (   R4   R5   R0   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyRq     s   t   FloatSettingMixinc           B` s   e  Z d  „  Z RS(   c         C` s   | r t  | ƒ Sd  S(   N(   t   float(   R   R   (    (    s-   lib/python2.7/site-packages/gevent/_config.pyRG     s    (   R4   R5   RG   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyRr     s   t   ByteCountSettingMixinc           B` s2   e  Z i d  d 6d d 6d d 6Z d Z d „  Z RS(	   i   t   kbt   mbt   gbi   c         C` s{   | s t  | t ƒ r | S| j ƒ  } xG |  j j ƒ  D]6 \ } } | |  j | k r7 t | |  j  ƒ | Sq7 Wt | ƒ S(   N(   R1   R3   R   t
   _MULTIPLESRi   t   _SUFFIX_SIZERp   (   R   R   t   st   m(    (    s-   lib/python2.7/site-packages/gevent/_config.pyRG   ,  s    i   i   i   @(   R4   R5   Rx   Ry   RG   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyRt   !  s   
t   Resolverc           B` sB   e  Z d  Z d d d d g Z i d d 6d d 6d d 6d d 6Z RS(	   s€       The callable that will be used to create
    :attr:`gevent.hub.Hub.resolver`.

    See :doc:`dns` for more information.
    t   threadt	   dnspythont   arest   blocks   gevent.resolver.ares.Resolvers   gevent.resolver.thread.Resolvers!   gevent.resolver.blocking.Resolvers"   gevent.resolver.dnspython.Resolver(   R4   R5   R   R2   R)   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyR|   6  s   	t
   Threadpoolc           B` s   e  Z d  Z d Z RS(   s'       The kind of threadpool we use.
    s   gevent.threadpool.ThreadPool(   R4   R5   R   R2   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyR   O  s   t   Loopc           B` s[   e  Z d  Z e s! d d d g n d d d g Z i d d 6d d 6d d 6Z e d e d <RS(   s‚       The kind of the loop we use.

    On Windows, this defaults to libuv, while on
    other platforms it defaults to libev.

    s
   libev-cexts
   libev-cffis
   libuv-cffis   gevent.libev.corecext.loops   gevent.libev.corecffi.loops   gevent.libuv.loop.loopt   libuv(   R4   R5   R   R   R2   R)   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyR‚   X  s   	
t   FormatContextc           B` s   e  Z d  Z d Z RS(   t   format_contexts   pprint.saferepr(   R4   R5   R	   R2   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyR„   u  s   t   LibevBackendc           B` s,   e  Z d  Z d Z d Z d Z e e ƒ Z	 RS(   t   libev_backendt   GEVENT_BACKENDs0       The backend for libev, such as 'select'
    N(
   R4   R5   R	   R
   R   RN   R2   RO   RD   R0   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyR†   }  s
   t
   FileObjectc           B` s;   e  Z d  Z d Z d d g Z i d d 6d d 6d d 6Z RS(   so       The kind of ``FileObject`` we will use.

    See :mod:`gevent.fileobject` for a detailed description.

    t   GEVENT_FILEt   posixR}   s)   gevent._fileobjectcommon.FileObjectThreads'   gevent._fileobjectposix.FileObjectPosixs(   gevent._fileobjectcommon.FileObjectBlockR€   (   R4   R5   R   R
   R2   R)   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyR‰   Š  s   	t   WatchChildrenc           B` s    e  Z d  Z d Z d Z e Z RS(   s       Should we *not* watch children with the event loop watchers?

    This is an advanced setting.

    See :mod:`gevent.os` for a detailed description.
    t   disable_watch_childrent   GEVENT_NOWAITPID(   R4   R5   R   R	   R
   RA   R2   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyRŒ   Ÿ  s   t   TraceMallocc           B` s    e  Z d  Z d Z e Z d Z RS(   t   trace_malloct   PYTHONTRACEMALLOCsn      Should FFI objects track their allocation?

    This is only useful for low-level debugging.

    On Python 3, this environment variable is built in to the
    interpreter, and it may also be set with the ``-X
    tracemalloc`` command line argument.

    On Python 2, gevent interprets this argument and adds extra
    tracking information for FFI objects.
    (   R4   R5   R	   R
   RA   R2   R   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyR   ¬  s   t   TrackGreenletTreec           B` s    e  Z d  Z d Z e Z d Z RS(   t   track_greenlet_treet   GEVENT_TRACK_GREENLET_TREEs/      Should `Greenlet` objects track their spawning tree?

    Setting this to a false value will make spawning `Greenlet`
    objects and using `spawn_raw` faster, but the
    ``spawning_greenlet``, ``spawn_tree_locals`` and ``spawning_stack``
    will not be captured.

    .. versionadded:: 1.3b1
    (   R4   R5   R	   R
   R@   R2   R   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyR’   ¿  s   t   MonitorThreadc           B` s    e  Z d  Z d Z e Z d Z RS(   t   monitor_threadt   GEVENT_MONITOR_THREAD_ENABLEse      Should each hub start a native OS thread to monitor
    for problems?

    Such a thread will periodically check to see if the event loop
    is blocked for longer than `max_blocking_time`, producing output on
    the hub's exception stream (stderr by default) if it detects this condition.

    If this setting is true, then this thread will be created
    the first time the hub is switched to,
    or you can call :meth:`gevent.hub.Hub.start_periodic_monitoring_thread` at any
    time to create it (from the same thread that will run the hub). That function
    will return an instance of :class:`gevent.events.IPeriodicMonitorThread`
    to which you can add your own monitoring functions. That function
    also emits an event of :class:`gevent.events.PeriodicMonitorThreadStartedEvent`.

    .. seealso:: `max_blocking_time`

    .. versionadded:: 1.3b1
    (   R4   R5   R	   R
   RA   R2   R   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyR•   Ó  s   t   MaxBlockingTimec           B` s    e  Z d  Z d Z d Z d Z RS(   t   max_blocking_timet   GEVENT_MAX_BLOCKING_TIMEgš™™™™™¹?s      If the `monitor_thread` is enabled, this is
    approximately how long (in seconds)
    the event loop will be allowed to block before a warning is issued.

    This function depends on using `greenlet.settrace`, so installing
    your own trace function after starting the monitoring thread will
    cause this feature to misbehave unless you call the function
    returned by `greenlet.settrace`. If you install a tracing function *before*
    the monitoring thread is started, it will still be called.

    .. note:: In the unlikely event of creating and using multiple different
        gevent hubs in the same native thread in a short period of time,
        especially without destroying the hubs, false positives may be reported.

    .. versionadded:: 1.3b1
    (   R4   R5   R	   R
   R2   R   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyR˜   í  s   t   MonitorMemoryPeriodc           B` s    e  Z d  Z d Z d Z d Z RS(   t   memory_monitor_periodt   GEVENT_MONITOR_MEMORY_PERIODi   s0      If `monitor_thread` is enabled, this is approximately how long
    (in seconds) we will go between checking the processes memory usage.

    Checking the memory usage is relatively expensive on some operating
    systems, so this should not be too low. gevent will place a floor
    value on it.
    (   R4   R5   R	   R
   R2   R   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyR›     s   	t   MonitorMemoryMaxUsagec           B` s    e  Z d  Z d Z d Z d Z RS(   t   max_memory_usaget   GEVENT_MONITOR_MEMORY_MAXsŒ      If `monitor_thread` is enabled,
    then if memory usage exceeds this amount (in bytes), events will
    be emitted. See `gevent.events`. In the environment variable, you can use
    a suffix of 'kb', 'mb' or 'gb' to specify the value in kilobytes, megabytes
    or gigibytes.

    There is no default value for this setting. If you wish to
    cap memory usage, you must choose a value.
    N(   R4   R5   R	   R
   RN   R2   R   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyRž     s   t   AresSettingMixinc           B` s5   e  Z e Z e d  „  ƒ Z e e ƒ Z e e	 ƒ Z
 RS(   c         C` s   |  j  d S(   Ni   (   R	   (   R   (    (    s-   lib/python2.7/site-packages/gevent/_config.pyt
   kwarg_name.  s    (   R4   R5   RA   R    R!   R¢   RO   RD   R0   Rn   RG   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyR¡   *  s   t	   AresFlagsc           B` s   e  Z d  Z d Z d Z RS(   t
   ares_flagst   GEVENTARES_FLAGSN(   R4   R5   R	   RN   R2   R
   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyR£   6  s   t   AresTimeoutc           B` s&   e  Z e Z d  Z d Z d Z d Z RS(   t   ares_timeoutt   GEVENTARES_TIMEOUTsˆ   
    .. deprecated:: 1.3a2
       Prefer the :attr:`resolver_timeout` setting. If both are set,
       the results are not defined.
    N(	   R4   R5   R@   R    R	   RN   R2   R
   R   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyR¦   ;  s
   t	   AresTriesc           B` s   e  Z d  Z d Z d Z RS(   t
   ares_triest   GEVENTARES_TRIESN(   R4   R5   R	   RN   R2   R
   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyR©   G  s   t	   AresNdotsc           B` s   e  Z d  Z d Z d Z RS(   t
   ares_ndotst   GEVENTARES_NDOTSN(   R4   R5   R	   RN   R2   R
   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyR¬   L  s   t   AresUDPPortc           B` s   e  Z d  Z d Z d Z RS(   t   ares_udp_portt   GEVENTARES_UDP_PORTN(   R4   R5   R	   RN   R2   R
   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyR¯   Q  s   t   AresTCPPortc           B` s   e  Z d  Z d Z d Z RS(   t   ares_tcp_portt   GEVENTARES_TCP_PORTN(   R4   R5   R	   RN   R2   R
   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyR²   V  s   t   AresServersc           B` s&   e  Z e Z d  Z d Z d Z d Z RS(   t   ares_serverst   GEVENTARES_SERVERSs)      A list of strings giving the IP addresses of nameservers for the ares resolver.

    In the environment variable, these strings are separated by commas.

    .. deprecated:: 1.3a2
       Prefer the :attr:`resolver_nameservers` setting. If both are set,
       the results are not defined.
    N(	   R4   R5   R@   R    R	   RN   R2   R
   R   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyRµ   [  s
   	t   ResolverNameserversc           B` s>   e  Z e Z d  Z d Z d Z d Z e	 j
 Z
 e d „  ƒ Z RS(   t   resolver_nameserverst   GEVENT_RESOLVER_NAMESERVERSs¯      A list of strings giving the IP addresses of nameservers for the (non-system) resolver.

    In the environment variable, these strings are separated by commas.

    .. rubric:: Resolver Behaviour

    * blocking

      Ignored

    * Threaded

      Ignored

    * dnspython

      If this setting is not given, the dnspython resolver will
      load nameservers to use from ``/etc/resolv.conf``
      or the Windows registry. This setting replaces any nameservers read
      from those means. Note that the file and registry are still read
      for other settings.

      .. caution:: dnspython does not validate the members of the list.
         An improper address (such as a hostname instead of IP) has
         undefined results, including hanging the process.

    * ares

      Similar to dnspython, but with more platform and compile-time
      options. ares validates that the members of the list are valid
      addresses.
    c         C` s   d S(   Nt   servers(    (   R   (    (    s-   lib/python2.7/site-packages/gevent/_config.pyR¢   š  s    N(   R4   R5   R@   R    R	   RN   R2   R
   R   R   RG   R!   R¢   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyR¸   k  s   !	t   ResolverTimeoutc           B` s/   e  Z e Z d  Z d Z d Z e d „  ƒ Z RS(   t   resolver_timeoutt   GEVENT_RESOLVER_TIMEOUTs¨       The total amount of time that the DNS resolver will spend making queries.

    Only the ares and dnspython resolvers support this.

    .. versionadded:: 1.3a2
    c         C` s   d S(   Nt   timeout(    (   R   (    (    s-   lib/python2.7/site-packages/gevent/_config.pyR¢   «  s    (	   R4   R5   R@   R    R	   R
   R   R!   R¢   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyR¼   Ÿ  s
   (9   R   t
   __future__R    R   R   Rc   RH   R*   t   gevent._compatR   R   t   __all__R   R   R   R7   RC   RD   Rn   Rl   R   t   dictRL   RS   R#   RZ   Rm   Ro   Rq   Rr   Rt   R|   R   R‚   R„   R†   R‰   RŒ   R   R’   R•   R˜   R›   Rž   R¡   R£   R¦   R©   R¬   R¯   R²   Rµ   R¸   R¼   R   R   R[   (    (    (    s-   lib/python2.7/site-packages/gevent/_config.pyt   <module>	   sf   	>			'	+2		4	