Ned Batchelder <n...@nedbatchelder.com> added the comment:

The difficulty that coverage faces is not measuring python programs started 
from the command line like this, you can use "coverage run myprog.py" or 
"python -m coverage run myprog.py".

The difficulty is when there are subprocesses running python programs.  Read 
http://nedbatchelder.com/code/coverage/subprocess.html for the two current 
hacks used to invoke coverage on subprocesses.  If -C is implemented, it should 
have a PYTHONRUNFIRST environment variable (or the like) to make these hacks 
unnecessary.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14803>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to