summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorChris Rebert <code@rebertia.com>2015-02-21 02:42:59 -0800
committerChris Rebert <code@rebertia.com>2015-02-21 02:42:59 -0800
commit01d79168185dcdb2330e78ed5dc698ec611134fc (patch)
treee1722ef7735565d21f3d329db3dada6649b3677e /ChangeLog
parentada48fb1d7776994341e1fa7522e3f13e41a7f53 (diff)
downloadpylint-01d79168185dcdb2330e78ed5dc698ec611134fc.tar.gz
Fix #299: Warn about `type(x) is/== Y`impl-299
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e32e165..c361c10 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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