At work we have some pyexpat link issues (our Python build is linked against
a newer version of expat than some other internal libraries), so to force
dynamic linking of the correct version I add

    import pyexpat

to the top of a script which (indirectly) uses expat.  This results in a
predictable warning:

    [W] Unused import pyexpat

So I suppressed it with this:

    #pylint: disable-msg=W0611

Now it complains about the disable action:

    [I] Locally disabling W0611

How is that any better than emitting the original warning?  I'm trying to
suppress useless noise.  How do I suppress the info message without
generating another one?

Thx,

-- 
Skip Montanaro - [email protected] - http://www.smontanaro.net/
_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to