Currently, the parser for the stubs file does a
from mymodule import *
whenever ANY object from mymodule is found in another module. This works,
but obviously leaves the stub module with a lot more items than necessary,
and makes autocompletion slower.
Made aborted attempt to override __import__ function, to detect imports...
however, while it detects
from mymodule import MyClass
it fails to detect
from mymodule import *
Solution would probably be to see if everything (or above a certain
percentage?) in the one module is in the other module before using import
*; can use sepecific from imports for others.
Original issue reported on code.google.com by elron...@gmail.com on 6 Jan 2010 at 11:38
Original issue reported on code.google.com by
elron...@gmail.com
on 6 Jan 2010 at 11:38