[issue31607] Add listsize in pdb.py

2018-05-14 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I close this issue because I think we need to use a pair of set/get and not a new command like 'listsize'. -- stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue31607] Add listsize in pdb.py

2017-09-28 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Raymond, +1 for the set/get commands for the parameters. I could update my PR with your suggestions. Stephane -- ___ Python tracker ___ __

[issue31607] Add listsize in pdb.py

2017-09-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: I don't think this is worth adding a separate command. If some controls were needed (changing the list size has not been requested before), it may be better to follow gdb with set/get commands that could be used for other parameters as well. -- no

[issue31607] Add listsize in pdb.py

2017-09-27 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi David, It's my fault and you are right, I didn't give the right description. By default when you want to list the source code with pdb, you will use the list command but this one is just limited to the 10 next lines and there is no possibility to change

[issue31607] Add listsize in pdb.py

2017-09-27 Thread R. David Murray
R. David Murray added the comment: It isn't obvious from your description here what 'listsize' does. I think you should have provided some more motivating details :) Looking at your PR, this is essentially a configuration setting. I wonder if we should think about the general problem rather

[issue31607] Add listsize in pdb.py

2017-09-27 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- keywords: +patch pull_requests: +3772 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue31607] Add listsize in pdb.py

2017-09-27 Thread Stéphane Wirtel
New submission from Stéphane Wirtel : I just added a new command for the prompt of Pdb. (Pdb) listsize List size: 10 (Pdb) listsize 5 List size: 5 (Pdb) listsize List size: 5 I will publish a PR -- messages: 303123 nosy: matrixise priority: normal severity: normal status: open title: A