Hi!
Not sure if this is the right place to ask this question, but here it is anyway.
I'm using CherryPy a lot, and its session-keeping features. Basically
CherryPy exposes a dictionary that can be used to store session
variables, like this:
import cherrypy
cherrypy.session["username"] = "parrot"
username = cherrypy.session.get("username")
Problem is -- CherryPy's module does not contain the session variable.
It is created at run time. So that every line where I access
cherrypy.session in any way is marked red by PyDev. Which is annoying.
Yes, I could add #...@undefinedvariable at the end of each such line, but
that's not very sensible in the long run. And putting it at the end of
just a single line does not fix things in the rest of the file.
What should I do?
Best,
Elver
[email protected]
+372 5661 6933
http://memeresearch.com/
skype: elver.loho
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
pydev-code mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-code