Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=3899578
By: fabioz

I took a look at the code and what you said is correct:

Pydev only considers .py and .pyw files for source code (and .pyd, .so and .dll
for compiled modules).

This issue actually appears in the open-source version (take a look at
PythonPathHelper.java), so, you also don't have code-completion for those
modules.

Just adding .pyc is not enough to solve it, because you'd end up with duplicates
in compiled/source modules (altough that's the first part for doing it).

The solution would need to identify when a module appears as both .py and .pyc
and when that happens only keep the .py option... this would make things a bit
more slower, and as this is a pretty isolated, there should be an option to
turn it on/off, so that users that don't need it are not affected).

Meanwhile, while this is not implemented, you can add those modules manually
to the forced builtins (so, in the example you gave, just add 're' to the forced
builtins).

Cheers,

Fabio

p.s.: please add this as a feature request.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=293649

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Pydev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to