views:

28

answers:

0

I am using Eclipse 3.5.1 with PyDev 1.5.5 an Mac OS X 10.6.4 (Python 2.6.1). When using a type or function I have not imported yet, I usually write the code that uses it first, and then use quickfix to make PyDev import the necessary modules. However, it often makes weird suggestions here. For instance when I have the function itemgetter from the operator module, it instead suggests to import it from altgraph.compat (it does not show alternative suggestions either), so the only way is to add the import manually. Does anyone else know this problem and/or have a work-around or solution for it?