PATH:
opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
greenlet
/
tests
/
__pycache__
� p0i� � �� � d Z ddlZdZdZdad� Zd� Zd� Z ej e� ej e� Z ej e� Zej d� e d� ej d � y) z� Uses a trace function to switch greenlets at unexpected times. In the trace function, we switch from the current greenlet to another greenlet, which switches � NFc �l � t dg| ��� t rdat j � t dg| ��� y )N�TRACEFz LEAVE TRACE)�print�switch_to_g2�g2�switch)�argss �[/opt/hc_python/lib64/python3.12/site-packages/greenlet/tests/fail_switch_three_greenlets.py� tracefuncr s- � � �'��D����� � � �� �/�!�D�!� c � � t d� dat j � j j � } t d� t d| � y )Nz In g1_runTzReturn to g1_runzFrom parent)r r �greenlet� getcurrent�parentr )�from_parents r �g1_runr s? � � �+���L��%�%�'�.�.�5�5�7�K� � �� �-��%r c �\ � t j � j j � y )N)r r r r � r r �g2_runr s � ����� � �'�'�)r � zBack in main� )�__doc__r �g1r r r r r �settracer r r r r �<module>r s� ��� � �� ����"�&�*� �� � �)� ��X���v����X���v��� � � �!�� �n� � � � �!�r
[-] fail_switch_three_greenlets.cpython-312.pyc
[edit]
[-] test_generator.cpython-312.pyc
[edit]
[-] leakcheck.cpython-312.pyc
[edit]
[-] fail_slp_switch.cpython-312.pyc
[edit]
[-] fail_switch_three_greenlets2.cpython-312.pyc
[edit]
[-] test_throw.cpython-312.pyc
[edit]
[-] test_leaks.cpython-312.pyc
[edit]
[-] test_cpp.cpython-312.pyc
[edit]
[-] test_version.cpython-312.pyc
[edit]
[-] test_greenlet_trash.cpython-312.pyc
[edit]
[+]
..
[-] fail_initialstub_already_started.cpython-312.pyc
[edit]
[-] test_extension_interface.cpython-312.pyc
[edit]
[-] test_greenlet.cpython-312.pyc
[edit]
[-] test_stack_saved.cpython-312.pyc
[edit]
[-] fail_cpp_exception.cpython-312.pyc
[edit]
[-] test_gc.cpython-312.pyc
[edit]
[-] test_generator_nested.cpython-312.pyc
[edit]
[-] __init__.cpython-312.pyc
[edit]
[-] fail_switch_two_greenlets.cpython-312.pyc
[edit]
[-] test_tracing.cpython-312.pyc
[edit]
[-] test_contextvars.cpython-312.pyc
[edit]
[-] fail_clearing_run_switches.cpython-312.pyc
[edit]
[-] test_weakref.cpython-312.pyc
[edit]