diff options
author | Johannes Gijsbers <jlg@dds.nl> | 2004-08-30 13:29:44 (GMT) |
---|---|---|
committer | Johannes Gijsbers <jlg@dds.nl> | 2004-08-30 13:29:44 (GMT) |
commit | 4a9faa1ea077c0cf054d0d2ee1dc889b2972a63b (patch) | |
tree | cbb0f88cdc8d8acf36a554dd815b76963535de4a /Lib/glob.py | |
parent | cb7b3f30d6db6ab3cbd629d3970f85abee3e59ef (diff) | |
download | cpython-4a9faa1ea077c0cf054d0d2ee1dc889b2972a63b.zip cpython-4a9faa1ea077c0cf054d0d2ee1dc889b2972a63b.tar.gz cpython-4a9faa1ea077c0cf054d0d2ee1dc889b2972a63b.tar.bz2 |
Patch #1003640: replace checkline() function parsing with new breakpoint logic:
1) When a breakpoint is set via a function name:
- the breakpoint gets the lineno of the def statement
- a new funcname attribute is attached to the breakpoint
2) bdb.effective() calls new function checkfuncname() to handle:
- def statement is executed: don't break.
- a first executable line of a function with a breakpoint on the lineno of the
def statement is reached: break.
This fixes bugs 976878, 926369 and 875404. Thanks Ilya Sandler.
Diffstat (limited to 'Lib/glob.py')
0 files changed, 0 insertions, 0 deletions