diff options
author | Roy Williams <roy.williams.iii@gmail.com> | 2016-11-23 02:05:12 -0800 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2016-11-23 12:05:12 +0200 |
commit | 23e59c80cfcba5878b7f634464a203017ab91187 (patch) | |
tree | 59ce792e5fb8eac3efc6795eae7611355f8599b2 /CONTRIBUTORS.txt | |
parent | 48a4f6f978cbeb3591eb3c7a63bc05331c9d1607 (diff) | |
download | pylint-git-23e59c80cfcba5878b7f634464a203017ab91187.tar.gz |
Add a Python 3 checker for calls to `encode` or `decode` with non-text codecs. (#1172)
These codecs were removed from the type restricted convenience methods on
`str`, `bytes`, and `bytearray` in Python 3.4 and produce inconsistent output
with their counterparts in `codecs`
Diffstat (limited to 'CONTRIBUTORS.txt')
-rw-r--r-- | CONTRIBUTORS.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index 24a5383fb..72bdabc74 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -110,6 +110,7 @@ Order doesn't matter (not that much, at least ;) * Alexander Todorov: added new error conditions to 'bad-super-call'. * Roy Williams (Lyft): added check for implementing __eq__ without implementing __hash__, - Added Python 3 check for accessing Exception.message + Added Python 3 check for accessing Exception.message, + Added Python 3 check for calling encode/decode with invalid codecs. * Erik Eriksson - Added overlapping-except error check. |