Ë
    V.jú  ã                   ó(  — d Z ddlZddlZddlmZ  ed«       d„ Zej                  d   Z	  e	ee«      Z
 ede
d	¬
«        e
«        y# e$ rD eej                  k(  reZ
n/edk(  r) ej                  ej                  «      Zej                  Z
n‚ Y Œ[w xY w)z“
Helper for testing a C++ exception throw aborts the process.

Takes one argument, the name of the function in :mod:`_test_extension_cpp` to call.
é    N)Ú_test_extension_cppzfail_cpp_exception is runningc                  óT   — d„ } t        j                   | «      }|j                  «        y )Nc                  óJ   — t        j                  t         j                  «       y )N)r   Ú"test_exception_switch_and_do_in_g2Útest_exception_throw_nonstd© ó    úcC:\xampp\htdocs\tradingbinance\backend\.venv\Lib\site-packages\greenlet/tests/fail_cpp_exception.pyÚ_z5run_unhandled_exception_in_greenlet_aborts.<locals>._   s   € Ü×>Ñ>Ü×;Ñ;õ	
r	   )ÚgreenletÚswitch)r   Úg1s     r
   Ú*run_unhandled_exception_in_greenlet_abortsr      s"   € ò
ô 
×	Ñ	˜1Ó	€BØ‡I�I…Kr	   é   Úrun_as_greenlet_targetÚraisingT)Úflush)Ú__doc__Úsysr   Úgreenlet.testsr   Úprintr   ÚargvÚ	func_nameÚgetattrÚfuncÚAttributeErrorÚ__name__Útest_exception_throw_stdÚgr   r   r	   r
   Ú<module>r       s«   ðñó
 Û Ý .Ù Ð%Ô &òð �H‰H�Q‰K€	ð	ÙÐ&¨	Ó2€Dñ €i�˜TÕ "Ù …øð ò ØÐ>×GÑGÒGØ9‰Ø	Ð.Ò	.ØˆH×ÑÐ1×JÑJÓKˆØ�x‰x‰àùðús   ¬	A ÁABÂB