PATH:
opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
greenlet
/
tests
/
__pycache__
� p0i� � �& � d Z ddlZdZ ej � Zg Z G d� d� Z G d� dej � Zd� Z e e� � Zej � Z ej de f� ed e d �� ej � ede� y) a If we have a run callable passed to the constructor or set as an attribute, but we don't actually use that (because ``__getattribute__`` or the like interferes), then when we clear callable before beginning to run, there's an opportunity for Python code to run. � Nc � � e Zd Zd� Zy)�RunCallablec �X � t j d� t j d� y )N)r �__del__zfrom RunCallable)�results�append�main�switch)�selfs �Z/opt/hc_python/lib64/python3.12/site-packages/greenlet/tests/fail_clearing_run_switches.pyr zRunCallable.__del__ s � ����1�2����&�'� N)�__name__� __module__�__qualname__r � r r r r s � �(r r c � � e Zd Zd� Zy)�Gc �n � |dk( rt j d� t S t j | |� S )N�run)zG.__getattribute__r )r r �run_func�object�__getattribute__)r �names r r zG.__getattribute__ s. � ��5�=��N�N�8�9��O��&�&�t�T�2�2r N)r r r r r r r r r s � �3r r c �. � t j d� y )N)r �enter)r r r r r r r s � ��N�N�(�)r zmain: g.switch()zIn main withT)�flush�RESULTS) �__doc__�greenlet�g� getcurrentr r r r r r �xr �printr r r �<module>r$ s� ��� ����x����� ��(� (�3���� 3�*� �k�m��� �H�H�J�� ���"�A�&� '� �n�a�t� $� ��� � �i�� 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]