summaryrefslogtreecommitdiffstatshomepage
path: root/py/compile.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-05-22 16:54:03 +1000
committerDamien George <damien.p.george@gmail.com>2018-05-22 16:54:03 +1000
commit400273a799581e5eb86538d8c88fb872705475ab (patch)
treeeef7253947cfeabef14cd6223a0c965ccd43d2c8 /py/compile.c
parent771cb359af5242762baa29645c37cafa23c47b25 (diff)
downloadmicropython-400273a799581e5eb86538d8c88fb872705475ab.tar.gz
micropython-400273a799581e5eb86538d8c88fb872705475ab.zip
py/objgenerator: Protect against reentering a generator.
Generators that are already executing cannot be reexecuted. This patch puts in a check for such a case. Thanks to @jepler for finding the bug.
Diffstat (limited to 'py/compile.c')
0 files changed, 0 insertions, 0 deletions