Commits

Anonymous committed f63d926 Merge

Merge with default.

  • Participants
  • Parent commits 6dc470e, 0753071
  • Branches exception_context

Comments (0)

Files changed (3)

       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).

File checkers/base.py

 BAD_FUNCTIONS = ['map', 'filter', 'apply']
 if sys.version_info < (3, 0):
     BAD_FUNCTIONS.append('input')
+    BAD_FUNCTIONS.append('file')
 
 del re
 
 
 # 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.