summaryrefslogtreecommitdiff
path: root/tests/basics/async_for.py.exp
AgeCommit message (Collapse)Author
2023-07-13py/compile: Fix async for's stack handling of iterator expression.Damien George
Prior to this fix, async for assumed the iterator expression was a simple identifier, and used that identifier as a local to store the intermediate iterator object. This is incorrect behaviour. This commit fixes the issue by keeping the iterator object on the stack as an anonymous local variable. Fixes issue #11511. Signed-off-by: Damien George <damien@micropython.org>
2016-04-13tests: Add .exp files for async tests, so they can run with Python 3.4.Damien George