New submission from Skip Montanaro <s...@pobox.com>: There is what I believe is a misplaced - or at least misleading - assert in the while loop following the fast_block_end label. If why != WHY_YIELD before the loop starts I don't see how that relationship could change within the loop. Proposed patch against py3k branch attached.
(Yes, I realize this is trivial and that the assert is compiled away in non-debug builds.) ---------- files: assert.diff keywords: patch messages: 79453 nosy: skip.montanaro severity: normal status: open title: misplaced (or misleading) assert in ceval.c type: feature request versions: Python 2.6, Python 2.7, Python 3.0, Python 3.1 Added file: http://bugs.python.org/file12658/assert.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4888> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com