[Pydev-users] [pydev - Users] RE: Unresolved Imports - not finding libs on
Brought to you by:
fabioz
From: SourceForge.net <no...@so...> - 2006-09-05 12:48:06
|
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 |