+1  A: 

I suspect pydev may have better, specific solutions, but what about just putting some code at the start of your program, such as:

if not hasattr(os, 'symlink'): os.symlink = None

Yeah, it's a hack, but, unless pydev does have specialized solutions (unfortunately I don't know of any, but then I'm no pydev expert;-), may be better than nothing...

Alex Martelli
I would rather not change my source code to deal with Pydev if at all possible. Also it appears that you have to do this at the method/function level for each undefined variable (doing this globally didn't work for me).Hopefully there are settings that I can add to my Pydev project file.
chris.nullptr
+1  A: 

I use pydev + pylint.

With pylint you can add which messages to ignore in the Preferences>Pydev>Pylint>"Aggruments to pass to pylint" section.

--disable-msg=W0232,F0401

You can ignore messages in-line as well with comments:

os.symlink(target, symlink) # IGNORE:<MessageID> 

Mouse-over the "x" where the line numbers are to see the message id.

monkut
Does pylint disable the normal pydev messages or is that just to ignore them in pylint? Also, I don't get a message id when mousing-over the "x" -- just 'undefined error from import: symlink'.
chris.nullptr
pylint is somewhat of an add-on. You may be using the Pydev>Editor>Code Analysis feature. (Check if "Do code analysis?" is checked) I'm not familiar with how this feature works.
monkut