summaryrefslogtreecommitdiff
path: root/coverage/execfile.py
Commit message (Collapse)AuthorAgeFilesLines
...
* 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__.