(async_fn, /, *args, **kwargs)
| 3117 | |
| 3118 | |
| 3119 | def run_yielding_async_fn(async_fn, /, *args, **kwargs): |
| 3120 | coro = async_fn(*args, **kwargs) |
| 3121 | try: |
| 3122 | while True: |
| 3123 | try: |
| 3124 | coro.send(None) |
| 3125 | except StopIteration as e: |
| 3126 | return e.value |
| 3127 | finally: |
| 3128 | coro.close() |
| 3129 | |
| 3130 | |
| 3131 | def is_libssl_fips_mode(): |