Describe the bug
TypeError: object anext_awaitable can't be used in 'await' expression
Operating system
Windows
CPU architecture
x86_64
GraalPy version
25.0.2
JDK version
No response
Context configuration
No response
Steps to reproduce
def function(it): return anext(it, 42)
async def agen(): yield
print(await function(agen()))
Expected behavior
None should be printed.
Stack trace
Additional context
Error occurred in a pytest run in a Github workflow, extracted MRE. No stack trace since I don't have GraalPy on my computer.
Describe the bug
Operating system
Windows
CPU architecture
x86_64
GraalPy version
25.0.2
JDK version
No response
Context configuration
No response
Steps to reproduce
Expected behavior
Noneshould be printed.Stack trace
Additional context
Error occurred in a
pytestrun in a Github workflow, extracted MRE. No stack trace since I don't have GraalPy on my computer.