summaryrefslogtreecommitdiff
path: root/coverage/execfile.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Make execution with -m match Python more closely.Ned Batchelder2011-10-301-1/+5
|
* The current directory auto-inserted into sys.path is now absolute, to better ↵Ned Batchelder2011-05-211-1/+1
| | | | mimic Python execution.
* Got 2.3 to build, so now this is tested and works against 2.3Ned Batchelder2011-03-251-1/+7
|
* Add tests and doc for Brandon's -m flag.Ned Batchelder2011-02-061-27/+41
|
* Wrote the basic logic for running a Python module or package as __main__.Brandon Craig Rhodes2011-02-021-1/+37
|
* A couple more places to use open_source instead of open(fname, 'rU')Ned Batchelder2011-01-301-2/+2
|
* Open source files with the proper encoding.Brett Cannon2011-01-281-1/+6
|
* If the user's code calls sys.exit(), honor the request and exit with that ↵Ned Batchelder2010-02-281-0/+4
| | | | status. Fixes issue #50.
* Python source files that don't end with a newline can now be executed, ↵Ned Batchelder2010-02-221-2/+8
| | | | fixing #47.
* If the product code throws an exception, 'coverage run' now produces the ↵Ned Batchelder2010-02-191-2/+14
| | | | same traceback as 'python' would, without the coverage-internal frames distracting from your code.
* Massive eol whitespace clean-up.Ned Batchelder2009-12-021-3/+3
|
* Report errors finding source files to execute more nicely. Fixes issue #23.Ned Batchelder2009-10-251-1/+5
|
* The best way to get py3k support: same source runs on both, with some ↵Ned Batchelder2009-09-221-1/+4
| | | | contortions.
* Various Py3k fixes: remove gratuitous print, don't test the print statement, ↵Ned Batchelder2009-07-081-2/+2
| | | | deal with __cmp__ ugliness, etc.
* Builtins moved in Py 3.xNed Batchelder2009-07-081-1/+9
|
* When executing files, open them in Universal Newline mode, just as Python ↵Ned Batchelder2009-06-271-1/+1
| | | | itself does. Makes it possible to run Python from Windows on Mac, for example.
* Also make __builtins__ available in main programs.Ned Batchelder2009-05-091-1/+2
|
* Simplify the construction of the __main__ module in run_python_file.Ned Batchelder2009-05-091-6/+3
|
* Change run_python_file again so that it doesn't produce compiled turds in ↵Ned Batchelder2009-05-091-14/+24
| | | | the file system.
* Line length < 80.Ned Batchelder2009-04-191-3/+3
|
* Move the open outside the try, since the finally is only needed once the ↵Ned Batchelder2009-04-071-1/+1
| | | | file is successfully opened.
* Even better execution of main files.Ned Batchelder2009-04-041-7/+23
|
* Factor execfile out of cmdline, so that we can call python main programs ↵Ned Batchelder2009-04-031-0/+11
properly: now they get the correct value for __file__.