
    <|h;                     L    d Z d Zd Z e       d   e_         edk(  r e        yy)z?
The real functionality to run this package as a main module.

c            	         dd l } ddlm} i }| j                  dd  }d}d}t	               \  }}}|r|d   j                  d      r|d   dd  }	|	dk(  r|dz  }nw|	d	k(  rd
}no|	j                  d      r|	j                  dd      |v r	d||	dd  <   nA|	|v r#d||	<   |	|v r4|D ]  }
|j                  |
d        n| j                  |dz   d|	z  z          |d= |r|d   j                  d      r|rdd l	}dd l
}t        ddj                  d |j                         D              z         t        d| j                  j                         j                  dd             t        d|j!                  | j"                        z         t        d|j!                  t%        | j&                  j)                                     z         t        d|j+                         z         |st        |       y || j                  d d  	 t,        j.                  }| j&                  t2           | j&                  |<   d| j&                  v sJ  |di | dd l}t7        ||      } || j                  d   d      S # t0        $ r d}Y lw xY w)N       	patch_allFrun_pathz--   verbosemodule
run_modulezno-    Tz

zCannot patch %rzgevent.monkey.patch_all(%s), c              3   &   K   | ]	  }d |z    yw)z%s=%sN ).0items     R/var/www/html/test/engine/venv/lib/python3.12/site-packages/gevent/monkey/_main.py	<genexpr>zmain.<locals>.<genexpr>(   s     7`4$7`   zsys.version=
 zsys.path=%szsys.modules=%szcwd=%szgevent.monkey__main__)run_namer   )sysr   r   argv_get_script_help
startswithreplace
setdefaultexitpprintosprintjoinitemsversionstrippformatpathsortedmoduleskeysgetcwd__spec__name	NameError__name__runpygetattr)r   r   argsr   r	   run_fnscript_helppatch_all_argsr+   optionr
   r!   r"   mod_namer2   run_meths                   r   mainr;      se    D88AB<DGF+;+=(K
47%%d+aYqLGx!Fu%&..*C~*U$D~%DL % 3FOOFE23 HH[6),=,FFGG 47%%d+" +dii7`SWS]S]S_7`.``a#++"3"3"5"="=dC"HKLmfnnSXX667s{{7G7G7I0J!KKLh$%kCHHQK#==  KK1CKK ckk)))
  uf%HCHHQK*55/  #"#s   9I( (I65I6c                      dd l } ddlm} | j                  } ||      d   }|D cg c]  }d|z   t	               v s| }}ddj                  d |D              z  }|||fS c c}w )Nr   r   r   patch_a  gevent.monkey - monkey patch the standard modules to use gevent.

USAGE: ``python -m gevent.monkey [MONKEY OPTIONS] [--module] (script|module) [SCRIPT OPTIONS]``

If no MONKEY OPTIONS are present, monkey patches all the modules as if by calling ``patch_all()``.
You can exclude a module with --no-<module>, e.g. --no-thread. You can
specify a module to patch with --<module>, e.g. --socket. In the latter
case only the modules specified on the command line will be patched.

The default behavior is to execute the script passed as argument. If you wish
to run a module instead, pass the `--module` argument before the module name.

.. versionchanged:: 1.3b1
    The *script* argument can now be any argument that can be passed to `runpy.run_path`,
    just like the interpreter itself does, for example a package directory containing ``__main__.py``.
    Previously it had to be the path to
    a .py source file.

.. versionchanged:: 1.5
    The `--module` option has been added.

MONKEY OPTIONS: ``--verbose %s``r   c              3   &   K   | ]	  }d |z    yw)z	--[no-]%sNr   )r   ms     r   r   z#_get_script_help.<locals>.<genexpr>o   s     /QAa/Qr   )inspectr   r   getfullargspecglobalsr$   )r@   r   getterr7   xr+   r6   s          r   r   r   R   sx    ##FI&q)N(FQHqLGI,EqFGF$* '+ii/Q/Q&Q+RK, /// Gs
   A!A!r   r   N)__doc__r;   r   r1   r       r   <module>rG      s:   G6T0@  !!$zF rF   