summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorcpopa <devnull@localhost>2014-08-17 22:35:28 +0300
committercpopa <devnull@localhost>2014-08-17 22:35:28 +0300
commit7c50e98ba61dc650e995eb0c106ba2487e6e359f (patch)
tree2a90fb6059f6c738637955bbbd05fe2b3c40d888 /ChangeLog
parent91af7c933718f518c819fd9eb9f3aa3dd967f43b (diff)
downloadpylint-7c50e98ba61dc650e995eb0c106ba2487e6e359f.tar.gz
Check that a class has an explicitly defined metaclass before emitting 'old-style-class' for Python 2.
This can catch metaclasses defined at module level, using `__metaclass__ = ...` syntax, which transforms all old style classes to newstyle. Also, look for the .newstyle attribute instead of bases.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog3
1 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c6b9b03..dc85ee4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -68,6 +68,9 @@ ChangeLog for Pylint
* Detect calls of the parent's __init__, through a binded super() call.
+ * Check that a class has an explicitly defined metaclass before
+ emitting 'old-style-class' for Python 2.
+
2014-07-26 -- 1.3.0