PATH:
opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
greenlet
/
tests
/
__pycache__
� p0i � �� � d Z ddlZdZdZdag Zd� Zd� Zd� Z ej e� ej e� Z ej e� Zej d� Zej def� e d e� ej d � Zej def� e de� ej d � Zej def� ej � Zej def� e de� y)zU Like fail_switch_three_greenlets, but the call into g1_run would actually be valid. � NTc � � t j d| d f� t dg| ��� t rdat j d� t dg| ��� y )N�tracer �TRACEFzg2 from tracefuncz LEAVE TRACE)�results�append�print�switch_to_g2�g2�switch)�argss �\/opt/hc_python/lib64/python3.12/site-packages/greenlet/tests/fail_switch_three_greenlets2.py� tracefuncr sF � ��N�N�G�T�!�W�%�&� �'��D����� � � �%�&� �/�!�D�!� c �� � t j d| f� t d� t j � j j d� }t j d|f� y)Nzg1 argz In g1_runzfrom g1_runzg1 from parentzg1 done)r r r �greenlet� getcurrent�parentr )�arg�from_parents r �g1_runr sN � ��N�N�H�c�?�#� �+���%�%�'�.�.�5�5�m�D�K��N�N�$�k�2�3�r c � � t j d| f� t j � j j d� }dat j d|f� y)Nzg2 argzfrom g2_runFzg2 from parentzg2 done)r r r r r r r )r r s r �g2_runr sK � ��N�N�H�c�?�#� � � � "� )� )� 0� 0�� ?�F��L��N�N�$�f�-�.�r zg1 from mainzmain g1zBack in mainzg2 from mainzmain g2zback in amain againzg1 from main 2z main g1.2z main g2.2zRESULTS:)�__doc__r �g1r r r r r r �settracer �xr r � r r �<module>r s� ��� � �� ���� ��"��� �� � �)� ��X���v����X���v����I�I�n��� ��� �1�~� � �n�a� ��I�I�n��� ��� �1�~� � ��Q� ��I�I���� ����Q�� ��I�I�K�� ����Q�� � �j�'� 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]