[issue32206] Run modules with pdb

2018-02-01 Thread Mario Corchero
Change by Mario Corchero : -- pull_requests: +5321, 5322 ___ Python tracker ___ ___

[issue32206] Run modules with pdb

2018-02-01 Thread Mario Corchero
Change by Mario Corchero : -- pull_requests: +5321 ___ Python tracker ___ ___

[issue32206] Run modules with pdb

2018-02-01 Thread Mario Corchero
Change by Mario Corchero : -- pull_requests: -5301 ___ Python tracker ___ ___

[issue32206] Run modules with pdb

2018-02-01 Thread Mario Corchero
Change by Mario Corchero : -- pull_requests: +5301 ___ Python tracker ___ ___

[issue32206] Run modules with pdb

2018-01-27 Thread Nick Coghlan
Nick Coghlan added the comment: I checked the original PR, and I'm pretty sure the reference implementation is going to have the same bug. To keep the NEWS entries clear (since the buggy implementation already shipped in the alpha releases), I've created a new issue here:

[issue32206] Run modules with pdb

2018-01-27 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset fcf8b4c1022bc2d2f84dcef5d72eabf40a25ea19 by Nick Coghlan (Mario Corchero) in branch 'master': bpo-32206: Update pdb usage to include new module option (GH-5111)

[issue32206] Run modules with pdb

2018-01-27 Thread Mario Corchero
Mario Corchero added the comment: Hi Jason, thanks a lot! I’ll have a look to the bug you reported on Monday. Out for holidays atm ^^ -- ___ Python tracker

[issue32206] Run modules with pdb

2018-01-27 Thread Jason R. Coombs
Jason R. Coombs added the comment: Adopting the backport, I believe I've found a defect. I filed the defect with the backport as [backports.pdb 1](https://github.com/jaraco/backports.pdb/issues/1). Essentially, the issue is that `__package__` gets set to the module name

[issue32206] Run modules with pdb

2018-01-26 Thread Jason R. Coombs
Jason R. Coombs added the comment: Thanks for creating this functionality. I'm so excited to use it that I've published a backport [https://pypi.org/project/backports.pdb], which seems to work for at least the basic use cases on Python 2.7+. --

[issue32206] Run modules with pdb

2018-01-26 Thread Jason R. Coombs
Change by Jason R. Coombs : -- nosy: +jason.coombs ___ Python tracker ___ ___

[issue32206] Run modules with pdb

2018-01-06 Thread Nick Coghlan
Nick Coghlan added the comment: Re-opening for the CLI help updates. -- resolution: fixed -> stage: resolved -> needs patch status: closed -> open ___ Python tracker

[issue32206] Run modules with pdb

2018-01-06 Thread Mario Corchero
Change by Mario Corchero : -- pull_requests: +4978 ___ Python tracker ___ ___

[issue32206] Run modules with pdb

2018-01-05 Thread Nick Coghlan
Nick Coghlan added the comment: Thanks for the patch! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> enhancement ___ Python tracker

[issue32206] Run modules with pdb

2018-01-05 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset 9f1e5f1b7f074e026843a5d70834233a95a6bf9d by Nick Coghlan (Mario Corchero) in branch 'master': bpo-32206: Pdb can now run modules (GH-4752) https://github.com/python/cpython/commit/9f1e5f1b7f074e026843a5d70834233a95a6bf9d

[issue32206] Run modules with pdb

2018-01-04 Thread Nick Coghlan
Nick Coghlan added the comment: Linking back to the overall RFE for improved executable module support for standard library modules that run other scripts: https://bugs.python.org/issue9325 -- nosy: +ncoghlan ___ Python tracker

[issue32206] Run modules with pdb

2017-12-07 Thread Mario Corchero
Change by Mario Corchero : -- keywords: +patch pull_requests: +4654 stage: -> patch review ___ Python tracker ___

[issue32206] Run modules with pdb

2017-12-03 Thread Eric N. Vander Weele
Change by Eric N. Vander Weele : -- nosy: +ericvw ___ Python tracker ___ ___

[issue32206] Run modules with pdb

2017-12-03 Thread Mario Corchero
New submission from Mario Corchero : 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