Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7599752
By: nicolas79k
I have a python project where some globals are set when the program starts.
How can I teach pydev's source code analysis that these globals are set in my
project even when they are not set in the current source file?
I see that I can set forced builtins - but if I add my global objects there,
they are recognized by code completion but still produce errors in code
analysis.
Did I misunderstood forced builtins? Let me give you a short example:
First File (called first):
class DEMO:
pass
import __builtin__
__builtin__.__dict__['DEMO'] = DEMO
Second file (called later):
...
demo = DEMO()
How can I tell pydevs source code analysis that DEMO exists as a global in the
current project and where to look for DEMO (without an actual import statement
in the second file)?
______________________________________________________________________
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
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Pydev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-users