summaryrefslogtreecommitdiff
path: root/Python/compile.c
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2003-05-22 14:46:12 +0000
committerAndrew M. Kuchling <amk@amk.ca>2003-05-22 14:46:12 +0000
commitb1f8bab6542635cd32dfbebde3839f86819548ab (patch)
treeed4292f4a173c00230cb0e8bdd131de356ea7eee /Python/compile.c
parent35c6cd09056cc9de9fc6b0d962c2fecb81b94b08 (diff)
downloadcpython-git-b1f8bab6542635cd32dfbebde3839f86819548ab.tar.gz
[Bug #741171] pdb crashes when enabling a non-existing breakpoint
Check the supplied breakpoint number more carefully. (Incompatibility: before this patch, "enable -1" would enable the last breakpoint on the list; now -1 is not a legal ID. Not sure anyone would ever use negative indices...) 2.2 bugfix candidate, assuming making -1 illegal isn't considered a problem.
Diffstat (limited to 'Python/compile.c')
0 files changed, 0 insertions, 0 deletions