1. Ned Batchelder
  2. coverage.py

Source

coverage.py / coverage / execfile.py

Author Commit Message Date Builds
Ned Batchelder
Except clause can now use 'as', no need for lots of sys.exc_info
Branches
4.0
Ned Batchelder
try/except/finally is ok now.
Branches
4.0
Ned Batchelder
with statements: no more finally close
Branches
4.0
Ned Batchelder
Now I can use tuples with startswith and endswith.
Branches
4.0
Ned Batchelder
Line too long.
Ned Batchelder
Thanks, Windows, for reminding me to close my files!
Ned Batchelder
Now we can run .pyc files directly. Closes #264.
Ned Batchelder
Get sys.path right when running modules with -m, fixes #207 and #242.
Ned Batchelder
A work-in-progress for #207, a minor improvement, and a commented-out test that shows the problem.
Ned Batchelder
Make stuff work in other Python versions. Some stuff isn't *quite* right <2.6. #155
Ned Batchelder
Make execution with -m match Python more closely.
Ned Batchelder
The current directory auto-inserted into sys.path is now absolute, to better mimic Python execution.
Ned Batchelder
Got 2.3 to build, so now this is tested and works against 2.3
Ned Batchelder
Add tests and doc for Brandon's -m flag.
Brandon Rhodes
Wrote the basic logic for running a Python module or package as __main__.
Ned Batchelder
A couple more places to use open_source instead of open(fname, 'rU')
Brett Cannon
Open source files with the proper encoding.
Ned Batchelder
If the user's code calls sys.exit(), honor the request and exit with that status. Fixes issue #50.
Ned Batchelder
Python source files that don't end with a newline can now be executed, fixing #47.
Ned Batchelder
If the product code throws an exception, 'coverage run' now produces the same traceback as 'python' would, without the coverage-internal frames distracting from your code.
Ned Batchelder
Massive eol whitespace clean-up.
Ned Batchelder
Report errors finding source files to execute more nicely. Fixes issue #23.
Ned Batchelder
The best way to get py3k support: same source runs on both, with some contortions.
Ned Batchelder
Various Py3k fixes: remove gratuitous print, don't test the print statement, deal with __cmp__ ugliness, etc.
Ned Batchelder
Builtins moved in Py 3.x
Ned Batchelder
When executing files, open them in Universal Newline mode, just as Python itself does. Makes it possible to run Python from Windows on Mac, for example.
Ned Batchelder
Also make __builtins__ available in main programs.
Ned Batchelder
Simplify the construction of the __main__ module in run_python_file.
Ned Batchelder
Change run_python_file again so that it doesn't produce compiled turds in the file system.
Ned Batchelder
Line length < 80.
  1. Prev
  2. 1
  3. 2
  4. Next