[issue44682] Pdb commands allows to add commands to invalid breakpoint

2021-07-28 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue44682] Pdb commands allows to add commands to invalid breakpoint

2021-07-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 53b9458f2e9314703a5406ca817d757f1509882a by andrei kulakov in branch 'main': bpo-44682: Handle invalid arg to pdb's "commands" directive (#27252) https://github.com/python/cpython/commit/53b9458f2e9314703a5406ca817d757f1509882a -- nosy: +

[issue44682] Pdb commands allows to add commands to invalid breakpoint

2021-07-26 Thread Andrei Kulakov
Andrei Kulakov added the comment: I agree not backporting is most likely fine; just want to add that the issue here is that it allows you to enter command for an invalid breakpoint, creating a strong impression both that bpoint is valid and that command will be active. -- __

[issue44682] Pdb commands allows to add commands to invalid breakpoint

2021-07-26 Thread Irit Katriel
Irit Katriel added the comment: Silently ignoring errors is not exactly a bug, and this change might break some scripts. So I think we should not backport it. -- nosy: +iritkatriel versions: -Python 3.10, Python 3.9 ___ Python tracker

[issue44682] Pdb commands allows to add commands to invalid breakpoint

2021-07-19 Thread Andrei Kulakov
Change by Andrei Kulakov : -- keywords: +patch pull_requests: +25799 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27252 ___ Python tracker ___ _

[issue44682] Pdb commands allows to add commands to invalid breakpoint

2021-07-19 Thread Andrei Kulakov
New submission from Andrei Kulakov : breakpoint 5 does not exist: (Pdb) commands 5 (com) p x (com) (com) end -- components: Library (Lib) messages: 397852 nosy: andrei.avk priority: normal severity: normal status: open title: Pdb commands allows to add commands to invalid breakpoint ve