comparison Python/pythonrun.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 a3bf55a03f66
children 787b969d37f0
comparison
equal deleted inserted replaced
45152:9686c4b46243 45155:86602b603462