diff options
author | Chris Rebert <code@rebertia.com> | 2015-02-21 02:42:59 -0800 |
---|---|---|
committer | Chris Rebert <code@rebertia.com> | 2015-02-21 02:42:59 -0800 |
commit | 01d79168185dcdb2330e78ed5dc698ec611134fc (patch) | |
tree | e1722ef7735565d21f3d329db3dada6649b3677e /ChangeLog | |
parent | ada48fb1d7776994341e1fa7522e3f13e41a7f53 (diff) | |
download | pylint-01d79168185dcdb2330e78ed5dc698ec611134fc.tar.gz |
Fix #299: Warn about `type(x) is/== Y`impl-299
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -36,6 +36,11 @@ ChangeLog for Pylint appropriate built-in is not used in an iterating context (semantics taken from 2to3). + * Add a new warning, 'unidiomatic-typecheck', emitted when an explicit + typecheck uses type() instead of isinstance(). For example, + `type(x) == Y` instead of `isinstance(x, Y)`. Patch by Chris Rebert. + Closes issue #299. + 2015-01-16 -- 1.4.1 |