I am trying vim’s python omni-completion script, it works, but I got problem.
After I start vim, the 1st time I press to ask vim to complete python code, many warning shown up. That’s because some python libs in my project use md5, which will trigger a warning message in python 2.6
That’s very ignoring, how to stop vim/python from issuing warning?
If you have a top level routine which imports the 3rd party library, you can insert this
to ignore all deprecation warnings (which is what the
md5warning is).Check the
warningsmodule for the details on more sophisticated filtering.