comparison Python/Python-ast.c @ 45155:86602b603462 2.5

backport of r60575 (issue #1750076): Debugger did not step on every iteration of a while statement. The mapping between bytecode offsets and source lines (lnotab) did not contain an entry for the beginning of the loop. Now it does, and the lnotab can be a bit larger: in particular, several statements on the same line generate several entries. However, this does not bother the settrace function, which will trigger only one 'line' event. The lnotab seems to be exactly the same as with python2.4.
author Amaury Forgeot d'Arc <amauryfa@gmail.com>
date Mon, 04 Feb 2008 22:34:57 +0000
parents 5e72b0c74100
children 29d65741f6c8
comparison
equal deleted inserted replaced
45152:9686c4b46243 45155:86602b603462