Re: [Python-ideas] pdb to support running modules

2018-01-09 Thread Nick Coghlan
On 10 January 2018 at 05:18, Alexander Belopolsky wrote: > On Thu, Jan 4, 2018 at 8:15 PM, Guido van Rossum wrote: >> Sounds uncontroversial, this can just be done via bugs.python.org. >> > > .. and it has been proposed there over 7 years ago: > . Aye, I linked

Re: [Python-ideas] pdb to support running modules

2018-01-09 Thread Alexander Belopolsky
On Thu, Jan 4, 2018 at 8:15 PM, Guido van Rossum wrote: > Sounds uncontroversial, this can just be done via bugs.python.org. > .. and it has been proposed there over 7 years ago: . ___ Python-ideas mailing list Python-

Re: [Python-ideas] pdb to support running modules

2018-01-04 Thread Guido van Rossum
Sounds uncontroversial, this can just be done via bugs.python.org. On Thu, Jan 4, 2018 at 4:50 PM, Lisa Roach wrote: > I also +1 this idea, I don't see a reason why we couldn't run pdb on the > modules. > > On Thu, Jan 4, 2018 at 12:29 PM, Devin Jeanpierre > wrote: > >> On Thu, Jan 4, 2018 at 1

Re: [Python-ideas] pdb to support running modules

2018-01-04 Thread Lisa Roach
I also +1 this idea, I don't see a reason why we couldn't run pdb on the modules. On Thu, Jan 4, 2018 at 12:29 PM, Devin Jeanpierre wrote: > On Thu, Jan 4, 2018 at 1:56 PM, Mario Corchero > wrote: > > Since PEP 338 we can run python modules as a script via `python -m > > module_name` but there

Re: [Python-ideas] pdb to support running modules

2018-01-04 Thread Devin Jeanpierre
On Thu, Jan 4, 2018 at 1:56 PM, Mario Corchero wrote: > Since PEP 338 we can run python modules as a script via `python -m > module_name` but there is no way to run pdb on those (AFAIK). > > The proposal is to add a new argument "-m" to the pdb module to allow users > to run `python -m pdb -m my_m

[Python-ideas] pdb to support running modules

2018-01-04 Thread Mario Corchero
Hello All, Since PEP 338 we can run python modules as a script via `python -m module_name` but there is no way to run pdb on those (AFAIK). The proposal is to add a new argument "-m" to the pdb module to allow users to run `python -m pdb -m my_module_nam