State of Python

RJD <[email protected]> Wed, 21 Jan 2015 13:07:32 +0000 (UTC)
Newsgroups gmane.emacs.semantic
Message-ID <[email protected]>
I have some tests wrote in Python and would like to start developing tests.
>From what I have gathered the latest cedet (I have the latest git version ~~
17th Jan 2015) should work straight of the box with python?

Again, I do not use EDE but run a hook function if the py file matches a
certain path. When I open the py file semantic loads everything and the hook
seems to work because global-decoration-mode does not highlight anything.
The hook looks something like this:

(semantic-add-system-include "c:/dir/dir1/dir2/py_libs/").

Anyway, semantic seems to be able to complete symbols in the current buffer,
but if I have something like the following:

import LIB1.module1 as as_module

myUnTypedVar = as_module. # this does not work.

But, later on in the file completion works for:

myUnT # completes to the current buffer var.

So it seems that code completion is not seeking the included modules.

When I run bovinate I get something like:

(("LIB1.module1" include nil
 (unlink-hook
 (semantic--tag-unlink-secondary-overlays)
 secondary-overlays
 (#<overlay from 95 to 129 in model.py>)
 dependency-file "d:/path/to/py/file/mypy.py" link-hook
 (semantic--tag-link-secondary-overlays)
 unlink-copy-hook
 (semantic--tag-unlink-copy-secondary-overlays))
#<overlay from 95 to 129 in model.py>)
(("LIB1.module2" include nil

All I see is a bunch of nils.

Cheers.


------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet