[issue14803] Add feature to allow code execution prior to __main__ invocation

Ned Batchelder report at bugs.python.org
Sun Jul 29 17:56:46 CEST 2012


Ned Batchelder added the comment:

Chris, I'm not sure how to answer your questions.  The more powerful and flexible, the better.  There is no "must" here.  I'm looking for a way to avoid the hacks coverage.py has used in the past to measure coverage in subprocesses.  A language feature that allowed me to externally configure the interpreter to run some of my code first would allow me to do that.

----------

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


More information about the Python-bugs-list mailing list