[issue19982] Add a "target" parameter to runpy.run_path and runpy.run_module

2019-08-06 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: issue 19978 also needs this. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue19982] Add a "target" parameter to runpy.run_path and runpy.run_module

2019-06-20 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +nanjekyejoannah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue19982] Add a "target" parameter to runpy.run_path and runpy.run_module

2018-06-04 Thread Nick Coghlan
Change by Nick Coghlan : -- versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19982] Add a "target" parameter to runpy.run_path and runpy.run_module

2017-11-06 Thread Nick Coghlan
Change by Nick Coghlan : -- versions: +Python 3.7 -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19982] Add a "target" parameter to runpy.run_path and runpy.run_module

2017-11-06 Thread Nick Coghlan
Nick Coghlan added the comment: See issue 21862 and issue 9325 as potential use cases for this feature. While it looks like issue 21862 (-m switch support in cProfile) can be implemented just fine without it, this feature will be needed for the modules that execute the given scripts directly

[issue19982] Add a "target" parameter to runpy.run_path and runpy.run_module

2017-11-06 Thread Sanyam Khurana
Sanyam Khurana added the comment: Hey ncoghlan, Does this issue makes sense to be worked on for Python 3.7? -- nosy: +CuriousLearner ___ Python tracker ___ ___

[issue19982] Add a "target" parameter to runpy.run_path and runpy.run_module

2016-02-22 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue19982] Add a "target" parameter to runpy.run_path and runpy.run_module

2013-12-17 Thread Nick Coghlan
Nick Coghlan added the comment: Implementing this is actually likely to require non-trivial restructuring of the runpy internals. contextlib.ExitStack may prove useful in making it easier to programmatically select amongst different context managers. The __mp_main__ helpers in multiprocessing

[issue19982] Add a "target" parameter to runpy.run_path and runpy.run_module

2013-12-14 Thread Nick Coghlan
New submission from Nick Coghlan: One idea from PEP 451 was to add a "target" parameter to runpy.run_path and runpy.run_module to allow them to support execution in an existing module namespace (like __main__). This missed the feature freeze deadline for 3.4, but can be added in 3.5.

[issue19982] Add a "target" parameter to runpy.run_path and runpy.run_module

2013-12-14 Thread Nick Coghlan
Changes by Nick Coghlan : -- dependencies: +Update runpy for PEP 451 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr