Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix: raise CoverageException for SQLite connection errorsnedbat/sqldata-edge-tests | Ned Batchelder | 2021-10-10 | 1 | -1/+5 |
| | |||||
* | style: use the official designation for utf-8 | Ned Batchelder | 2021-10-10 | 1 | -2/+2 |
| | | | | | Yes, this is completely unimportant. Don't ask me why I bothered, I'm not really sure. | ||||
* | fix: contexts_by_lineno now returns a true dict | Ned Batchelder | 2021-10-09 | 1 | -8/+10 |
| | |||||
* | style: make string quotes uniform | Ned Batchelder | 2021-10-09 | 1 | -74/+71 |
| | |||||
* | refactor: use sets to collect data | Ned Batchelder | 2021-08-15 | 1 | -4/+5 |
| | | | | | | | Coverage.py predates sets as a built-in data structure, so the file data collection has long been dicts with None as the values. Sets are available to us now (since Python 2.4 in 2004, which coverage.py dropped support for in 2014!), we use sets. | ||||
* | fix: correct previous refactorings | Ned Batchelder | 2021-07-28 | 1 | -1/+1 |
| | | | | | File names should not be rendered with !r, since on Windows that will produce double backslashes, which only confuses people. | ||||
* | refactor: convert %-strings to f-strings | Ned Batchelder | 2021-07-28 | 1 | -1/+1 |
| | |||||
* | fix: retry immediately on a failure inside executemany. #1010 | Ned Batchelder | 2021-07-21 | 1 | -1/+7 |
| | |||||
* | fix: raise chained errors with "from" #998 | Ned Batchelder | 2021-07-20 | 1 | -2/+2 |
| | | | | | | This makes exceptions report their causes correctly, as "The above exception was the direct cause of the following exception" instead of "During handling of the above exception, another exception occurred." | ||||
* | docs: add a word to clarify an API | Ned Batchelder | 2021-05-08 | 1 | -1/+1 |
| | |||||
* | fix: shorten the sqlite debug info listing | Ned Batchelder | 2021-05-04 | 1 | -2/+5 |
| | | | | | | This is totally cosmetic. I often look at "coverage debug sys", and the long list of SQLite info at the end is never the thing I want to look at. So squish it up to take less space. | ||||
* | fix: make data collection operations thread-safe | Ned Batchelder | 2021-05-03 | 1 | -0/+20 |
| | |||||
* | refactor: move exceptions to their own module | Ned Batchelder | 2021-05-02 | 1 | -1/+2 |
| | |||||
* | refactor: pyupgrade --py36-plus coverage/*.py | Ned Batchelder | 2021-05-02 | 1 | -21/+21 |
| | |||||
* | refactor: remove more unneeded backward.py shims | Ned Batchelder | 2021-05-01 | 1 | -6/+5 |
| | | | | | | | | | | | | | | Gone are: - iitems - litems - iternext - to_bytes - to_string - binary_bytes - byte_to_int - bytes_to_ints - BUILTINS | ||||
* | refactor: remove unneeded backward.py shims | Ned Batchelder | 2021-05-01 | 1 | -8/+9 |
| | | | | | | | | | | | | | | | Removed were: - StringIO - configparser - string_class - unicode_class - range - zip_longest - get_thread_id - path_types - shlex_quote - reprlib | ||||
* | refactor: remove code explicitly choosing between py2 and py3 | Ned Batchelder | 2021-05-01 | 1 | -16/+1 |
| | |||||
* | docs: clarify that loads/dumps are not related to data files | Ned Batchelder | 2021-04-19 | 1 | -1/+8 |
| | |||||
* | fix: improve an error message. #803 | Ned Batchelder | 2021-02-28 | 1 | -2/+2 |
| | | | | Fixes #803. | ||||
* | Use set literals | Ned Batchelder | 2021-01-03 | 1 | -2/+2 |
| | |||||
* | Retry in the case of failures. #1010 | Ned Batchelder | 2020-12-05 | 1 | -1/+7 |
| | | | | | PyPy seems prone to intermittent SQLite failures. An immediate retry avoids them. Not great, but it works. | ||||
* | Fix --source performance regression. #1037 | Ned Batchelder | 2020-10-11 | 1 | -9/+20 |
| | |||||
* | Add temp_store to the SQLite3 debug output | Ned Batchelder | 2020-01-13 | 1 | -0/+2 |
| | |||||
* | Correct the use of fetchone | Ned Batchelder | 2020-01-13 | 1 | -3/+20 |
| | |||||
* | Include SQLite compile_options in "debug sys" | Ned Batchelder | 2020-01-11 | 1 | -0/+4 |
| | |||||
* | Improvements to debugging while chasing #915 | Ned Batchelder | 2020-01-11 | 1 | -4/+11 |
| | |||||
* | Put the filename calc back in _connect. Fixes #916 | Ned Batchelder | 2020-01-07 | 1 | -12/+16 |
| | | | | | | It was moved to __init__ to avoid recalculating, but the directory could have changed, so we need to wait to do the work. Instead, only do the relpath on systems that need it (Windows Py 2). | ||||
* | Improve the performances of SqliteDb._connect | jvoisin | 2020-01-04 | 1 | -8/+9 |
| | | | | | | | | | Since the self.filename attribute doesn't change during the lifetime of a SqliteDb object, we can move its relpath transformation in the init method, instead of doing it every time _connect is called, resulting in a ~30% performances gain. | ||||
* | Detect when a 4.x data file is being read. #886 | Ned Batchelder | 2019-12-22 | 1 | -1/+14 |
| | |||||
* | Workaround issue with relpath on Windows. #895 | Olivier Grisel | 2019-12-19 | 1 | -1/+8 |
| | |||||
* | Napoleon gets noisy if you use informal types | Ned Batchelder | 2019-11-11 | 1 | -6/+6 |
| | |||||
* | Finish the sqldata.py docstrings | Ned Batchelder | 2019-11-10 | 1 | -11/+44 |
| | |||||
* | Make sure dataio logging is happening where it should | Ned Batchelder | 2019-11-09 | 1 | -0/+2 |
| | |||||
* | CoverageData.lines doesn't sort its returned list | Ned Batchelder | 2019-11-09 | 1 | -1/+1 |
| | |||||
* | sqldata.py docstrings | Ned Batchelder | 2019-11-09 | 1 | -31/+118 |
| | |||||
* | '[run] note' is no longer supported. | Ned Batchelder | 2019-11-09 | 1 | -8/+2 |
| | |||||
* | Tie up a loose end in the docs | Ned Batchelder | 2019-10-08 | 1 | -1/+0 |
| | |||||
* | Sqlite3 info in 'coverage debug sys' | Ned Batchelder | 2019-10-08 | 1 | -1/+11 |
| | |||||
* | Slowly making progress on sqldata docstrings | Ned Batchelder | 2019-10-06 | 1 | -0/+7 |
| | |||||
* | Quiet pylint | Ned Batchelder | 2019-10-06 | 1 | -3/+5 |
| | |||||
* | Context patterns are regexes, not globs | Ned Batchelder | 2019-10-02 | 1 | -5/+27 |
| | |||||
* | Setting query context has to be done with a separate method call | Ned Batchelder | 2019-10-02 | 1 | -34/+24 |
| | |||||
* | Updating with an empty data is ok | Ned Batchelder | 2019-09-03 | 1 | -16/+24 |
| | | | | | With no arc or line data, it used to choose lines arbitrarily, which would fail if an empty data was updating an arc data. | ||||
* | Need to set a sqlite attribute on a real sqlite connection | Ned Batchelder | 2019-09-03 | 1 | -1/+1 |
| | |||||
* | Log some indication of the script being executed | Ned Batchelder | 2019-09-02 | 1 | -3/+5 |
| | |||||
* | Logging executemany failed if data was a generator | Ned Batchelder | 2019-09-02 | 1 | -0/+1 |
| | |||||
* | Log an operation before starting it | Ned Batchelder | 2019-09-01 | 1 | -1/+1 |
| | |||||
* | Improved numbits operations | Ned Batchelder | 2019-08-11 | 1 | -45/+30 |
| | | | | | | | | | * Better names (merge -> union) * More ops (intersection) * Can be registered for SQLite use * Numbits can be empty Also, line_map is a dumb table name. line_bits is marginally better. | ||||
* | Don't need the schema history in the schema | Ned Batchelder | 2019-08-06 | 1 | -8/+9 |
| | |||||
* | Version and timestamp in the meta data | Ned Batchelder | 2019-08-06 | 1 | -2/+10 |
| |