[issue32515] Add an option to trace to run module as a script

2019-06-01 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32515] Add an option to trace to run module as a script

2018-01-30 Thread Stéphane Wirtel

Change by Stéphane Wirtel :


--
versions: +Python 3.8 -Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32515] Add an option to trace to run module as a script

2018-01-07 Thread Mario Corchero

Change by Mario Corchero :


--
keywords: +patch
pull_requests: +4995
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32515] Add an option to trace to run module as a script

2018-01-07 Thread Mario Corchero

New submission from Mario Corchero :

Add an option to trace to be able to do `python3 -m trace -t --module 
my.module.name` to be able to trace a runnable module the same way we can do 
with scripts.

As we want trace to not include the lines in runpy I am going to with the 
approach of pdb (issue32206) over the one on profiler(issue32512). As Nick 
raised before this hits a private API in runpy but it is within the stdlib. 
Alternatives are welcomed as well! :)

Additionally, '-m' is already in use, I have added --module.

Related issue for improved executable module support for standard library 
modules that run other scripts: https://bugs.python.org/issue9325

--
components: Library (Lib)
messages: 309638
nosy: mariocj89
priority: normal
severity: normal
status: open
title: Add an option to trace to run module as a script
type: enhancement
versions: Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com