title: Disable pylint execution on a section of code or function
body: <p>I am using pylint 0.27 with python 2.7.3. Pylint has a known bug which hits when it analyses code having a <code>.next()</code> call. As given in <a href="http://www.logilab.org/122793" rel="noreferrer">http://www.logilab.org/122793</a> link, it fails with the given traceback.</p>
  
  <p><strong>I cannot change my python and pylint versions</strong> but I would like to workaround this problem by disabling pylint on the piece of code that has <code>.next()</code> call by adding a <code>#pylint: MAGIC</code> comment in my code.</p>
  
  <p>I could find support for disabling pylint checking on a file using <code>#pylint: skip-file</code> but I am interested at doing this at function level or rather at line level.</p>
  
  <p>Any other workarounds are also welcomed!</p>