
    ih{                         d dl mZmZmZ d dlZd dlZd dlZd dlZddl	m
Z
  eh d      Z eh d      Zddddddeefd	Zy)
    )absolute_importprint_functiondivisionN   )sysinfo>   gevent.libevgevent.libuv.loopgevent.libev.watchergevent.libuv.watchergevent.resolver.aresgevent.resolver_aresgevent.resolver.dnspython>   arescore_util__init__corecffi	_corecffi
_semaphore_corecffi_buildFTc              #     K   t         j                  rd}| 2t        j                  j	                  t
        j                        } |d}n|d}t        t        j                  |             D ]  }t        j                  j                  | |      }	t        j                  j                  |	      rz|sF|s|dv rMt        j                  j                  |	d      }
t        j                  j                  |
      r0|
||z   f t        |	||z   dz   ||||||      D ]  \  }}||f  |j                  d	      r|dd
 }|j                  d      r|dd }||v r||z   }|rQ||v rM	 t        j                         5  t        j                   dt"               t%        j&                  |       ddd       |	|f N|sR|j                  t         j0                        ssd|v ry|j                  d      r|	||dd z   f |	||dd
 z   f  y# 1 sw Y   kxY w# t(        $ r ddlm} |j/                  d|       Y w xY ww)a  
    Find gevent modules, yielding tuples of ``(path, importable_module_name)``.

    :keyword bool check_optional: If true (the default), then if we discover a
       module that is known to be optional on this system (such as a backend),
       we will attempt to import it; if the import fails, it will not be returned.
       If false, then we will not make such an attempt, the caller will need to be prepared
       for an `ImportError`; the caller can examine *optional_modules* against
       the yielded *importable_module_name*.
    FNzgevent. )testingtestsz__init__.py.)
include_so	recursivecheck_optionalinclude_testsoptional_modulesexcluded_modulesz.py_dignorer   )utilz#Unable to import optional module %sz.pypy-z_d.so)r   PYPYospathdirnamegevent__file__sortedlistdirjoinisdirexistswalk_modulesendswithwarningscatch_warningssimplefilterDeprecationWarning	importlibimport_moduleImportErrorr   r&   debugSHARED_OBJECT_EXTENSION)basedirmodpathr   r   r   r   r    r!   fnr*   pkg_initpmxmodnamer&   s                   T/var/www/html/dev/engine/venv/lib/python3.12/site-packages/gevent/testing/modules.pyr3   r3   =   s-    * ||
''//&//2?G?GRZZ() -.ww||GR(77== R+?%?ww||D-8Hww~~h'",,(glS0#-"+'5&3)9)9 	DAq Q$J	 ;;u3BAzz$crF$$kG'-="=!002 9 --h8JK!//89 -BKK(G(GH2~{{7#Gb"g---Gb"g---[-.>9 9 # &JJDgNsN   E"I%H90H)H1
I=I5IH	H!I III)
__future__r   r   r   r9   os.pathr)   r5   r,   r   r   	frozensetOPTIONAL_MODULESEXCLUDED_MODULESr3        rF   <module>rN      sa   ( A @           	 	  ))L.rM   