summaryrefslogtreecommitdiff
path: root/coverage/sqldata.py
Commit message (Collapse)AuthorAgeFilesLines
* build: 3.11.0 and 3.12.0a1 are availableNed Batchelder2022-10-271-1/+0
|
* feat: implicitly combine relative pathsNed Batchelder2022-10-151-1/+3
|
* feat: --debug=pathmap will show details of re-mapping due to [paths] setting.Ned Batchelder2022-09-161-2/+1
|
* fix: filenames can contain special glob characters (#1405)earthman12022-08-061-2/+2
| | | | | * Fix globbing of filenames that contain special glob characters * glob the path as well as the filename
* refactor: SQLite REGEX function can be inlineNed Batchelder2022-06-081-6/+1
|
* fix: don't create a data file when just trying to read one. #13286.4Ned Batchelder2022-05-221-2/+3
|
* feat: a new debug option `sqldata` shows all the data being written to the db.Ned Batchelder2022-05-221-10/+23
|
* refactor: SqliteDb uses its debug object more like other codeNed Batchelder2022-05-221-7/+7
|
* style: make sqldata.py code more uniformNed Batchelder2022-05-211-20/+20
|
* fix: CoverageData(no_disk=True).update() now works. #1323Ned Batchelder2022-05-211-5/+7
|
* debug: slightly nicer wrapping of the sqlite3 debug infoNed Batchelder2022-05-141-3/+2
|
* test: remove version-specfic skips we no longer needNed Batchelder2022-05-131-3/+0
|
* style: parens should indent the same as their opening lineNed Batchelder2022-05-011-3/+3
|
* debug: include an indication of exception in the debug logNed Batchelder2022-02-031-0/+4
|
* fix: use a re-entrant lock to avoid self-deadlocking #1310Ned Batchelder2022-01-301-1/+5
|
* test: skip tests on py 3.11.0a4 that are failing in metacovNed Batchelder2022-01-291-0/+3
| | | | | This specific set of circumstances was triggering https://bugs.python.org/issue44088
* fix: create the db as needed when accessedNed Batchelder2022-01-201-30/+25
|
* refactor: make this more apparentNed Batchelder2022-01-171-1/+2
|
* refactor: filename_suffix() is only used by CoverageData, so move itNed Batchelder2021-11-161-1/+23
|
* docs: clarify the CoverageData(basename=) argument. #985Ned Batchelder2021-11-151-1/+1
| | | | [skip actions]
* refactor: specialize exceptionsNed Batchelder2021-11-141-16/+16
| | | | | | CoverageException is fine as a base class, but not good to use for raising (and catching sometimes). Introduce specialized exceptions that allow third-party tools to integrate better.
* refactor: no need for __nonzero__, that was py2 onlyNed Batchelder2021-11-131-3/+1
|
* test: cover the last edge cases in sqldata.pyNed Batchelder2021-10-101-4/+4
|
* fix: raise CoverageException for SQLite connection errorsnedbat/sqldata-edge-testsNed Batchelder2021-10-101-1/+5
|
* style: use the official designation for utf-8Ned Batchelder2021-10-101-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 dictNed Batchelder2021-10-091-8/+10
|
* style: make string quotes uniformNed Batchelder2021-10-091-74/+71
|
* refactor: use sets to collect dataNed Batchelder2021-08-151-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 refactoringsNed Batchelder2021-07-281-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-stringsNed Batchelder2021-07-281-1/+1
|
* fix: retry immediately on a failure inside executemany. #1010Ned Batchelder2021-07-211-1/+7
|
* fix: raise chained errors with "from" #998Ned Batchelder2021-07-201-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 APINed Batchelder2021-05-081-1/+1
|
* fix: shorten the sqlite debug info listingNed Batchelder2021-05-041-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-safeNed Batchelder2021-05-031-0/+20
|
* refactor: move exceptions to their own moduleNed Batchelder2021-05-021-1/+2
|
* refactor: pyupgrade --py36-plus coverage/*.pyNed Batchelder2021-05-021-21/+21
|
* refactor: remove more unneeded backward.py shimsNed Batchelder2021-05-011-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 shimsNed Batchelder2021-05-011-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 py3Ned Batchelder2021-05-011-16/+1
|
* docs: clarify that loads/dumps are not related to data filesNed Batchelder2021-04-191-1/+8
|
* fix: improve an error message. #803Ned Batchelder2021-02-281-2/+2
| | | | Fixes #803.
* Use set literalsNed Batchelder2021-01-031-2/+2
|
* Retry in the case of failures. #1010Ned Batchelder2020-12-051-1/+7
| | | | | PyPy seems prone to intermittent SQLite failures. An immediate retry avoids them. Not great, but it works.
* Fix --source performance regression. #1037Ned Batchelder2020-10-111-9/+20
|
* Add temp_store to the SQLite3 debug outputNed Batchelder2020-01-131-0/+2
|
* Correct the use of fetchoneNed Batchelder2020-01-131-3/+20
|
* Include SQLite compile_options in "debug sys"Ned Batchelder2020-01-111-0/+4
|
* Improvements to debugging while chasing #915Ned Batchelder2020-01-111-4/+11
|
* Put the filename calc back in _connect. Fixes #916Ned Batchelder2020-01-071-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).