Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

\'clear -1\' in pdb #41923

Closed
mpech mannequin opened this issue Apr 29, 2005 · 4 comments
Closed

\'clear -1\' in pdb #41923

mpech mannequin opened this issue Apr 29, 2005 · 4 comments
Assignees
Labels
stdlib Python modules in the Lib dir

Comments

@mpech
Copy link
Mannequin

mpech mannequin commented Apr 29, 2005

BPO 1192315
Nosy @birkenfeld, @birkenfeld, @rhettinger
Files
  • pdb-index.jpg
  • pdb-breakpoint-diff
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/birkenfeld'
    closed_at = <Date 2005-08-24.09:04:11.000>
    created_at = <Date 2005-04-29.10:30:56.000>
    labels = ['library']
    title = "\\'clear -1\\' in pdb"
    updated_at = <Date 2005-08-24.09:04:11.000>
    user = 'https://bugs.python.org/mpech'

    bugs.python.org fields:

    activity = <Date 2005-08-24.09:04:11.000>
    actor = 'georg.brandl'
    assignee = 'georg.brandl'
    closed = True
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2005-04-29.10:30:56.000>
    creator = 'mpech'
    dependencies = []
    files = ['1689', '1690']
    hgrepos = []
    issue_num = 1192315
    keywords = []
    message_count = 4.0
    messages = ['25175', '25176', '25177', '25178']
    nosy_count = 4.0
    nosy_names = ['georg.brandl', 'georg.brandl', 'rhettinger', 'mpech']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue1192315'
    versions = ['Python 2.4']

    @mpech
    Copy link
    Mannequin Author

    mpech mannequin commented Apr 29, 2005

    Delete breakpoints like in %subj% is great feature, but
    wrong.
    Add additional check like in do_enable()
    if not (0 <= i < len(bdb.Breakpoint.bpbynumber)):

    @mpech mpech mannequin closed this as completed Apr 29, 2005
    @mpech mpech mannequin assigned birkenfeld Apr 29, 2005
    @mpech mpech mannequin added the stdlib Python modules in the Lib dir label Apr 29, 2005
    @mpech mpech mannequin closed this as completed Apr 29, 2005
    @mpech mpech mannequin assigned birkenfeld Apr 29, 2005
    @mpech mpech mannequin added the stdlib Python modules in the Lib dir label Apr 29, 2005
    @birkenfeld
    Copy link
    Member

    Logged In: YES
    user_id=1188172

    Attached patch which implements the check.

    @rhettinger
    Copy link
    Contributor

    Logged In: YES
    user_id=80475

    For the print statement, I would have used something simpler:

    print 'No breakpoint numbered', i

    @birkenfeld
    Copy link
    Member

    Logged In: YES
    user_id=1188172

    Okay, committed as Lib/pdb.py 1.74, 1.73.2.1.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants