[issue14803] Enhanced command line features for the runpy module

Antoine Pitrou report at bugs.python.org
Tue May 15 11:36:43 CEST 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

> As Ned notes, to cover *implicit* creation of Python subprocesses an
> environment based solution would be needed to ensure the subprocesses
> adopt the desired settings.

So why aren't you proposing an environment-based solution instead? :)
To use the "-C" option, you have to modify all places which launch a
Python subprocess.

----------
title: Add feature to allow code execution prior to __main__ invocation -> Enhanced command line features for the runpy module

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14803>
_______________________________________


More information about the Python-bugs-list mailing list