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

Ned Batchelder report at bugs.python.org
Sun Jul 29 16:38:11 CEST 2012


Ned Batchelder added the comment:

Chris:

The real problem is that it isn't the "test suite" that spawns the processes, the tests invoke product code, and the product code spawns Python.  So modifying the Python-spawning really means modifying the product code to do something different under coverage, which most developers (rightfully) won't want to do.

My preference is not to assume a particular style of spawning subprocesses, since coverage.py tried quite hard to be applicable to any Python project.

----------

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


More information about the Python-bugs-list mailing list