diff options
author | cpopa <devnull@localhost> | 2014-01-13 14:35:19 +0200 |
---|---|---|
committer | cpopa <devnull@localhost> | 2014-01-13 14:35:19 +0200 |
commit | c44d11564ba11449a93124214634a90d4b0077de (patch) | |
tree | cac2eec8584301ed5122139d65ff1071b1d71051 | |
parent | bdbe788ba0e3f0c36572d7a867f0b28f8e9ca896 (diff) | |
parent | db15b4c93edacb2e53e880805c43f44b721e5c29 (diff) | |
download | pylint-c44d11564ba11449a93124214634a90d4b0077de.tar.gz |
Merge with default.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | checkers/base.py | 1 | ||||
-rw-r--r-- | doc/conf.py | 6 |
3 files changed, 6 insertions, 3 deletions
@@ -11,6 +11,8 @@ ChangeLog for Pylint without being a dict or a dict subclass) or an instance which implements __reversed__. + * Mark `file` as a bad function when using python2 (closes #8). + * Add new warning 'bad-exception-context', checking that `raise ... from ...` uses a proper exception context (None or an exception). diff --git a/checkers/base.py b/checkers/base.py index cf4304c..55e5f36 100644 --- a/checkers/base.py +++ b/checkers/base.py @@ -55,6 +55,7 @@ REVERSED_METHODS = (('__getitem__', '__len__'), BAD_FUNCTIONS = ['map', 'filter', 'apply'] if sys.version_info < (3, 0): BAD_FUNCTIONS.append('input') + BAD_FUNCTIONS.append('file') del re diff --git a/doc/conf.py b/doc/conf.py index 3aaf613..b4b8fbd 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -41,16 +41,16 @@ master_doc = 'index' # General information about the project. project = u'Pylint' -copyright = u'2013, Logilab and contributors' +copyright = u'2013-2014, Logilab and contributors' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # # The short X.Y version. -version = '1.0.0' +version = '1.1.0' # The full version, including alpha/beta/rc tags. -release = '1.0.0' +release = '1.1.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. |