When I type izip and ctrl+space, the only import suggestion I get is the izip from logilab.common.compat, not the one from itertools. Same for chain or imap or any other function from itertools.
When I type wraps and ctrl+space, I do get functools suggested (among others). So completion is working, but not for itertools.
Adding itertools to Forced Builtins does not change anything.
I tried throwing out logilab and setting up the Python interpreter again, and now nothing is suggested when I ctrl+space on izip. So it wasn't some weird conflict with logilab.
Pydev version 1.4.5.2727, Python version 2.5.4, platform is Mac OS X 10.5.6.
When I set up the interpreter in Pydev preferences, I get this in Documents/workspace/.metadata/.log:
!ENTRY org.python.pydev 1 1 2009-05-11 11:47:46.041
!MESSAGE Information about process of adding new interpreter:
- Chosen interpreter file:'python
- Ok, file is non-null. Getting info on:python
- Beggining task:Getting libs totalWork:100
- Setting task name:Mounting executable string...
- Setting task name:Executing: python -u /Applications/eclipse/plugins/org.python.pydev_1.4.5.2727/PySrc/interpreterInfo.py
- Setting task name:Making pythonpath environment... python -u /Applications/eclipse/plugins/org.python.pydev_1.4.5.2727/PySrc/interpreterInfo.py
- Setting task name:Making exec... python -u /Applications/eclipse/plugins/org.python.pydev_1.4.5.2727/PySrc/interpreterInfo.py
- Setting task name:Reading output...
- Setting task name:Waiting for process to finish.
- Success getting the info. Result:Version2.5Executable:/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python|/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python|/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/PyObjC|/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5|/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload|/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk|/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-darwin|/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac|/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac/lib-scriptpackages|/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python25.zip|/Users/gthb/Library/Python/2.5/site-packages/BeautifulSoup-3.0.7a-py2.5.egg|/Users/gthb/Library/Python/2.5/site-packages/SQLAlchemy-0.5.2-py2.5.egg|/Users/gthb/Library/Python/2.5/site-packages/nose-0.11.0.dev_r592-py2.5.egg|/Users/gthb/Library/Python/2.5/site-packages/python_dateutil-1.4.1-py2.5.egg|/Users/gthb/Library/Python/2.5/site-packages/simplejson-2.0.9-py2.5-macosx-10.5-i386.egg|/Users/gthb/Library/Python/2.5/site-packages/suds-0.3.3-py2.5.egg|/Users/gthb/Library/Python/2.5/site-packages/xlrd-0.7.0-py2.5.egg@$|OpenGL|__builtin__|__main__|_ast|_codecs|_sre|_symtable|_types|email|errno|exceptions|gc|imp|marshal|os|posix|pwd|signal|sys|thread|wx|wxPython|xxsubtype|zipimport
!ENTRY org.python.pydev.core 4 4 2009-05-11 11:51:42.298
!MESSAGE The encoding found: >>uft-8<< on /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/test/bad_coding.py is not a valid encoding.
!STACK 0
java.io.UnsupportedEncodingException: The encoding found: >>uft-8<< on /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/test/bad_coding.py is not a valid encoding.
at org.python.pydev.core.REF.getValidEncoding(REF.java:893)
at org.python.pydev.core.REF.getPythonFileEncoding(REF.java:865)
at org.python.pydev.core.REF.getPythonFileEncoding(REF.java:789)
at org.python.pydev.core.REF.getCustomReturnFromFile(REF.java:664)
at com.python.pydev.analysis.additionalinfo.builders.InterpreterObserver.restoreInfoForModuleManager(InterpreterObserver.java:176)
at com.python.pydev.analysis.additionalinfo.builders.InterpreterObserver.notifyDefaultPythonpathRestored(InterpreterObserver.java:61)
at org.python.pydev.ui.interpreters.AbstractInterpreterManager.restorePythopathForAllInterpreters(AbstractInterpreterManager.java:463)
at org.python.pydev.ui.pythonpathconf.PythonInterpreterPreferencesPage.doRestore(PythonInterpreterPreferencesPage.java:42)
at org.python.pydev.ui.pythonpathconf.AbstractInterpreterPreferencesPage$1.run(AbstractInterpreterPreferencesPage.java:168)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)