pylint #123285 Pragmas for warnings applying to lines should be interpreted as is [validation pending]

As is, no warning will be raised for the first line in the following program:
<<<BEGIN
# This is a very very very very very very very very very very very very very very very very very very very very very long line.
# pylint: disable=line-too-long
"""Make sure enable/disable pragmas work for messages that are applied to lines and not syntax nodes."""
# pylint: enable=line-too-long

__revision__ = '1'

print 'This is a very long line which the linter will warn about, now that line-too-long has been enabled again.'
>>>END

This is because pragmas are extended to the beginning of the block if they occur before the first line containing actual code statements. This should not happen for warnings applying to physical source code lines rather than AST nodes.

prioritynormal
typebug
done in0.28.0
load left0.000
closed by#2748816ac5de Make sure that pragmas that apply to whole lines are interpreted literally, so that
patchMake sure that pragmas that apply to whole lines are interpreted literally, so that [applied]