Pydev debugger imports broken in Python 3

Python 3 doesn't support implicit relative imports, relative modules must be imported with the "from ... import" syntax (see PEP 328).  On the other hand, Python 2.5 disallows importing '*' from '.', so you can't use the "from . import module" syntax.  Thus the only way to import modules from the same package (and use '*') is to do the full "from pydev import pydevd".  The attached patch fixes all such cases I could find.

pydev.patch (21KB)

Please sign in to leave a comment.