Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't import anything before start(). Fixes #909. | Ned Batchelder | 2020-01-03 | 1 | -21/+31 |
| | |||||
* | Python 3.9a2 reverted how argv[0] is handled | Ned Batchelder | 2019-12-21 | 1 | -1/+0 |
| | |||||
* | Adapt to 3.9's way of reporting files using absolute paths. | Ned Batchelder | 2019-11-25 | 1 | -1/+6 |
| | |||||
* | Report file names the way Python does: '{}', not {!r} | Ned Batchelder | 2019-11-25 | 1 | -1/+1 |
| | |||||
* | Implement __spec__ for files we run. #745 #838 | Ned Batchelder | 2019-11-24 | 1 | -15/+40 |
| | |||||
* | Linux tests are runnable | Ned Batchelder | 2019-11-07 | 1 | -1/+1 |
| | | | | PYTHONPYCACHEPREFIX makes the tests 10% faster on 3.8 | ||||
* | Clarify two functions | Ned Batchelder | 2019-11-01 | 1 | -0/+4 |
| | |||||
* | Add tests of bug #806, and ensure it's fixed even if the program ends with ↵ | Ned Batchelder | 2019-07-06 | 1 | -4/+5 |
| | | | | an exception | ||||
* | Return to the original directory after exec'ing a file | Dan Hemberger | 2019-07-06 | 1 | -0/+4 |
| | | | | | | | | | | If the file that is exec'd chdirs to a directory that doesn't exist at the end of the execution, then we will fail to connect to the SQLite database (due to a failing `os.getcwd` command). We can easily fix this if we ensure we are in a directory that exists after executing the foreign code. Returning to the original directory seems to be a sensible choice. | ||||
* | Use pylint 2.x | Ned Batchelder | 2019-05-13 | 1 | -2/+2 |
| | |||||
* | Move more PYVERSION to be PYBEHAVIOR | Ned Batchelder | 2019-03-24 | 1 | -5/+1 |
| | |||||
* | Move some version conditionals to PYBEHAVIOR | Ned Batchelder | 2019-03-24 | 1 | -2/+2 |
| | |||||
* | PyRunner knows how to run Python files. | Ned Batchelder | 2018-11-25 | 1 | -76/+102 |
| | | | | Adjust sys.path to better emulate Python, but only if we should. | ||||
* | Update NOTICE link to GitHub. | Ned Batchelder | 2018-06-24 | 1 | -1/+1 |
| | |||||
* | Make version checking more uniform | Ned Batchelder | 2018-06-13 | 1 | -4/+5 |
| | |||||
* | Adapt to the 3.7.0b3 change in -m sys.path[0] behavior | Ned Batchelder | 2018-03-31 | 1 | -1/+9 |
| | |||||
* | Fine tune some more | Ned Batchelder | 2018-01-13 | 1 | -1/+1 |
| | |||||
* | Fine-tune the 3.7 decisions | Ned Batchelder | 2018-01-13 | 1 | -1/+1 |
| | |||||
* | Python 3.7 tweaked the layout of .pyc files | Ned Batchelder | 2018-01-10 | 1 | -5/+14 |
| | |||||
* | Suppress the coverage.py frame when reporting exceptions | Ned Batchelder | 2016-12-26 | 1 | -0/+2 |
| | |||||
* | Make excepthook execution more accurate. Pypy tests failing | Ned Batchelder | 2016-12-26 | 1 | -4/+12 |
| | |||||
* | Merged in andrewhoos/coverage.py (pull request #93) | Ned Batchelder | 2016-12-26 | 1 | -1/+11 |
|\ | | | | | | | Explicitely call sys.excepthook | ||||
| * | Update change with tests and fixes for tests | Andrew Hoos | 2016-11-30 | 1 | -8/+9 |
| | | |||||
| * | Remove the unused import | Andrew Hoos | 2016-11-29 | 1 | -1/+0 |
| | | |||||
| * | Limit changes to only execfile.py | Andrew Hoos | 2016-11-29 | 1 | -1/+0 |
| | | |||||
| * | Update code to better handle calling sys.excepthook when it throws | Andrew Hoos | 2016-11-29 | 1 | -1/+8 |
| | | |||||
| * | Update handling of sys.excepthook to only call custom excepthooks and ↵ | Andrew Hoos | 2016-11-29 | 1 | -1/+6 |
| | | | | | | | | re-raise exceptions | ||||
| * | Explicitely call sys.excepthook | Andrew Hoos | 2016-11-29 | 1 | -2/+1 |
| | | | | | | | | https://bitbucket.org/ned/coveragepy/issues/535/sysexcepthook-is-not-called | ||||
* | | Provide a more useful error message if failing to run a non-Python file. #514 | Ned Batchelder | 2016-12-17 | 1 | -6/+12 |
|/ | |||||
* | Fix explicit imports of __init__. #410 | Ned Batchelder | 2015-10-13 | 1 | -1/+1 |
| | |||||
* | Protect ourselves from mock'ed os. #416 | Ned Batchelder | 2015-10-06 | 1 | -1/+3 |
| | |||||
* | Support directories on the 'coverage run' command line. #252 | Ned Batchelder | 2015-08-01 | 1 | -6/+17 |
| | |||||
* | Merged in traff/coverage.py (pull request #50) | Ned Batchelder | 2015-08-01 | 1 | -0/+10 |
|\ | | | | | | | Look for __main__ module if coverage is being run for directory #252 | ||||
| * | Look for __main__ module if coverage is being run for directory #252 | Dmitry Trofimov | 2015-04-14 | 1 | -0/+10 |
| | | |||||
* | | Add license mention to the top of all files. #313. | Ned Batchelder | 2015-07-24 | 1 | -0/+3 |
| | | |||||
* | | All Python source is Unicode internally. | Ned Batchelder | 2015-05-17 | 1 | -1/+2 |
|/ | | | | | Unfortunately, this meant hacking around a silly Python 2 restriction (can't compile a Unicode string containing an encoding declaration). | ||||
* | Move python source understanding into python.py | Ned Batchelder | 2015-01-01 | 1 | -1/+1 |
| | |||||
* | A few more filenames as %s instead of %r | Ned Batchelder | 2014-12-28 | 1 | -1/+1 |
| | |||||
* | Don't use %r for filenames, on windows, the backslashes go nuts. | Ned Batchelder | 2014-12-28 | 1 | -1/+1 |
| | |||||
* | Further consolidation of code reading Python source. | Ned Batchelder | 2014-12-28 | 1 | -8/+3 |
| | |||||
* | Unify and clarify reading Python source. Probably broke .pyw files | Ned Batchelder | 2014-12-26 | 1 | -5/+2 |
| | |||||
* | Move some code, and fix pep8 things | Ned Batchelder | 2014-12-14 | 1 | -3/+6 |
| | |||||
* | For some reason, lowercase 'python' suddenly struck me as odd-looking. Fix ↵ | Ned Batchelder | 2014-12-12 | 1 | -2/+2 |
| | | | | them. | ||||
* | Cleanups from pull request 42 | Ned Batchelder | 2014-11-24 | 1 | -8/+8 |
| | |||||
* | Merged pull request 42, fixing issue #328. | Ned Batchelder | 2014-11-24 | 1 | -2/+20 |
|\ | |||||
| * | they changed the way __loader__ looks in 3.3 | Buck Golemon | 2014-11-14 | 1 | -1/+7 |
| | | | | | | | | | | | | --HG-- branch : __main__-support extra : amend_source : 7abd8465667b4bd4b3eeac24391c27c68edf9a95 | ||||
| * | shim for pep302 __loader__ | Buck Golemon | 2014-11-14 | 1 | -2/+14 |
| | | | | | | | | | | | | --HG-- branch : __main__-support extra : histedit_source : f07b26f0cfc575d81972546f1b7ae2ece84e2d87 | ||||
* | | Upgraded pylint to 1.4, removed useless suppressions | Ned Batchelder | 2014-11-23 | 1 | -1/+0 |
|/ | |||||
* | Fix a weird PyPy3 problem with a weird PyPy3 fix. | Ned Batchelder | 2014-10-28 | 1 | -0/+7 |
| | |||||
* | Avoid a bunch of deprecated functions. | Ned Batchelder | 2014-05-17 | 1 | -4/+4 |
| |