diff options
author | Brett Cannon <brett@python.org> | 2014-10-31 15:06:36 -0400 |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2014-10-31 15:06:36 -0400 |
commit | 4d52dadee16ce7ceb252ce13249ac390044c8239 (patch) | |
tree | 48a860d6108feaef36995497619e25917d6784da /ChangeLog | |
parent | 2baad676aba7e4a47cc1f66c1b5a66b85a4af873 (diff) | |
download | pylint-4d52dadee16ce7ceb252ce13249ac390044c8239.tar.gz |
Warn when calling dict.iter*(), dict.view*() or .next() on any object.
These methods either do not exist in Python 3 or are never used.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -142,15 +142,21 @@ ChangeLog for Pylint * 'too-many-lines' disable pragma can be located on any line, not only the first. Closes issue #321. - * Warn in Python 2.7 when an import statement is found without a + * Warn in Python 2 when an import statement is found without a corresponding `from __future__ import absolute_import`. - * Warn in Python 2.7 when a non-floor division operation is found without + * Warn in Python 2 when a non-floor division operation is found without a corresponding `from __future__ import division`. * Add a new option, 'exclude-protected', for excluding members from the protected-access warning. Closes issue #48. + * Warn in Python 2 when using dict.iter*(), dict.view*(); none of these + methods are available in Python 3. + + * Warn in Python 2 when calling an object's next() method; Python 3 uses + __next__() instead. + 2014-07-26 -- 1.3.0 |