]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Disallow 'yield' in a 'try' block when there's a 'finally' clause.
authorTim Peters <tim.peters@gmail.com>
Sat, 23 Jun 2001 02:07:08 +0000 (02:07 +0000)
committerTim Peters <tim.peters@gmail.com>
Sat, 23 Jun 2001 02:07:08 +0000 (02:07 +0000)
commit95c80f84392e6fb2a023542a0a4a50dfe3298cc2
treeee3a0dcb30c7faf07acd213f202cf8f9822954bd
parent1bf198e946a10eb34d6e2a8a5beccb67c88ab7d6
Disallow 'yield' in a 'try' block when there's a 'finally' clause.
Derived from Thomas Wouters's patch on the Iterators list, but doesn't
try to read c->c_block[c->c_nblocks].
Python/compile.c