Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mypy: check python.py | Ned Batchelder | 2022-12-29 | 1 | -2/+2 |
| | |||||
* | mypy: use specialized type name for ints that are line numbers | Ned Batchelder | 2022-12-29 | 1 | -1/+2 |
| | |||||
* | test: add phystokens.py to the mypy train | Ned Batchelder | 2022-12-27 | 1 | -36/+42 |
| | |||||
* | fix: certain strange characters caused reporting to fail. #1512 | Ned Batchelder | 2022-12-23 | 1 | -1/+2 |
| | | | | | | It turns out that str.splitlines() will break text on some characters that file.readline() does not! Use readline() to read source files the same way that Python does. | ||||
* | style: fix spelling | Ned Batchelder | 2022-11-28 | 1 | -1/+1 |
| | | | | un-executed, white space, time stamp. | ||||
* | refactor: no need for special handling of compiling unicode source | Ned Batchelder | 2022-11-06 | 1 | -30/+0 |
| | | | | This was a holdover from Python 2 days. | ||||
* | fix: don't cache a failed parse | Ned Batchelder | 2022-08-21 | 1 | -1/+5 |
| | | | | Found by OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50381 | ||||
* | style: parens should indent the same as their opening line | Ned Batchelder | 2022-05-01 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | feat: soft keywords are shown in bold in the HTML report | Ned Batchelder | 2021-06-06 | 1 | -3/+36 |
| | | | | | | | | The match and case soft keywords are shown in bold when they are keywords, and not when they are not. The underscore soft keyword is ignored, because it is harder to get right, and because it doesn't look that much different in bold anyway. | ||||
* | refactor: pyupgrade --py36-plus coverage/*.py | Ned Batchelder | 2021-05-02 | 1 | -2/+2 |
| | |||||
* | refactor: remove more unneeded backward.py shims | Ned Batchelder | 2021-05-01 | 1 | -3/+2 |
| | | | | | | | | | | | | | | Gone are: - iitems - litems - iternext - to_bytes - to_string - binary_bytes - byte_to_int - bytes_to_ints - BUILTINS | ||||
* | refactor: remove code explicitly choosing between py2 and py3 | Ned Batchelder | 2021-05-01 | 1 | -108/+2 |
| | |||||
* | Use set literals | Ned Batchelder | 2021-01-03 | 1 | -1/+1 |
| | |||||
* | Fix unusual backslash token issue. #822 | Ned Batchelder | 2019-08-10 | 1 | -5/+4 |
| | |||||
* | Update NOTICE link to GitHub. | Ned Batchelder | 2018-06-24 | 1 | -1/+1 |
| | |||||
* | Use a 2/3 name for unicode | Ned Batchelder | 2016-11-23 | 1 | -2/+2 |
| | |||||
* | A fix for coding declarations, bug #529 | Ned Batchelder | 2016-11-05 | 1 | -1/+5 |
| | |||||
* | Fix another form-feed problem, #461 | Ned Batchelder | 2016-01-05 | 1 | -2/+1 |
| | |||||
* | Fix error with double occurence of encoding declaration | Max Linke | 2015-12-14 | 1 | -1/+1 |
| | | | | | | If a file sets the encoding using both vim and emacs style we can't compile the source-code. This commit ensures that always both occurences are removed before we compile the source-code. | ||||
* | Another edge case of encoding detection. #443 | Ned Batchelder | 2015-11-14 | 1 | -1/+1 |
| | |||||
* | Properly handle filenames with non-ASCII characters. #432 | Ned Batchelder | 2015-10-25 | 1 | -0/+3 |
| | |||||
* | Tweak neuter_encoding_declaration | Ned Batchelder | 2015-10-16 | 1 | -7/+2 |
| | |||||
* | Do a better job decoding source files. #431 | Ned Batchelder | 2015-10-16 | 1 | -11/+5 |
| | |||||
* | Make sure source_token_lines always returns Unicode strings for the token text. | Ned Batchelder | 2015-08-11 | 1 | -1/+1 |
| | |||||
* | Get rid of napoleon style docstrings, they don't format nicely. | Ned Batchelder | 2015-07-26 | 1 | -8/+4 |
| | |||||
* | Add license mention to the top of all files. #313. | Ned Batchelder | 2015-07-24 | 1 | -0/+3 |
| | |||||
* | Add more contracts | Ned Batchelder | 2015-06-16 | 1 | -3/+3 |
| | |||||
* | Use more @contract, less assert | Ned Batchelder | 2015-05-17 | 1 | -1/+2 |
| | |||||
* | Files with incorrect encoding declarations are no longer ignored. #351 | Ned Batchelder | 2015-05-17 | 1 | -1/+1 |
| | |||||
* | All Python source is Unicode internally. | Ned Batchelder | 2015-05-17 | 1 | -3/+39 |
| | | | | | Unfortunately, this meant hacking around a silly Python 2 restriction (can't compile a Unicode string containing an encoding declaration). | ||||
* | Fix bug with \f in HTML report. #360. | Ned Batchelder | 2015-02-28 | 1 | -1/+4 |
| | |||||
* | Collect all the nudgy environment checks into coverage.env | Ned Batchelder | 2015-01-18 | 1 | -2/+2 |
| | |||||
* | Further consolidation of code reading Python source. | Ned Batchelder | 2014-12-28 | 1 | -16/+0 |
| | |||||
* | Move next/__next__ distinction into backward.py | Ned Batchelder | 2014-12-28 | 1 | -7/+5 |
| | |||||
* | Make source_encoding stricter about its arguments, and test it everywhere | Ned Batchelder | 2014-12-28 | 1 | -4/+15 |
| | |||||
* | Refactor some of the encoding detection | Ned Batchelder | 2014-12-27 | 1 | -15/+29 |
| | |||||
* | Unify and clarify reading Python source. Probably broke .pyw files | Ned Batchelder | 2014-12-26 | 1 | -11/+14 |
| | |||||
* | Move some code, and fix pep8 things | Ned Batchelder | 2014-12-14 | 1 | -3/+50 |
| | |||||
* | Source is always Unicode in HTML code. More refactoring to come. | Ned Batchelder | 2014-12-12 | 1 | -0/+3 |
| | |||||
* | Try out pylint spelling. Kinda noisy, but fixed some stuff. | Ned Batchelder | 2014-11-27 | 1 | -6/+6 |
| | |||||
* | Fix non-comment encoding detection. | Anthony Sottile | 2014-06-29 | 1 | -1/+1 |
| | | | | | --HG-- branch : fix_source_encoding | ||||
* | Merged 4.0 to default | Ned Batchelder | 2013-12-13 | 1 | -8/+2 |
|\ | |||||
| * | We only run on 2.6, 2.7, 3.2, 3.3 now. | Ned Batchelder | 2013-10-19 | 1 | -7/+2 |
| | | | | | | | | | | --HG-- branch : 4.0 | ||||
* | | Cache generate_tokens to speed HTML reports. | Ned Batchelder | 2013-10-26 | 1 | -2/+4 |
| | | |||||
* | | Micro optimizations. | Ned Batchelder | 2013-10-26 | 1 | -3/+3 |
|/ | |||||
* | Make everything work on py2.3 again (for the last time). | Ned Batchelder | 2013-10-05 | 1 | -1/+3 |
| | |||||
* | Improve and more fully test the first-blank-line decoding fix. Thanks, ↵ | Ned Batchelder | 2013-09-16 | 1 | -2/+2 |
| | | | | Roger Hu. | ||||
* | Make UTF-8 detection more robust. | Roger Hu | 2013-05-25 | 1 | -1/+1 |
| | | | | | If the 1st line of the Python is blank/empty, the function assumes that the encoding is 'ascii' and doesn't try for the 2nd line. | ||||
* | Upgrading pylint means fixing more nits. | Ned Batchelder | 2012-11-10 | 1 | -1/+1 |
| |