(async_fn, /, *args, **kwargs)
| 3198 | |
| 3199 | |
| 3200 | def run_yielding_async_fn(async_fn, /, *args, **kwargs): |
| 3201 | coro = async_fn(*args, **kwargs) |
| 3202 | try: |
| 3203 | while True: |
| 3204 | try: |
| 3205 | coro.send(None) |
| 3206 | except StopIteration as e: |
| 3207 | return e.value |
| 3208 | finally: |
| 3209 | coro.close() |
| 3210 | |
| 3211 | |
| 3212 | def is_libssl_fips_mode(): |
searching dependent graphs…