Dave Halter
8d395a2ef1
scope_names_generator now works with modules perfectly well.
2014-07-02 12:41:16 +02:00
Dave Halter
8d63e6f6e7
somehow temporary solution to enable completion of __file__
2014-07-01 15:10:32 +02:00
Dave Halter
0d3ea4dfb4
fix a ModuleWrapper with StarImports. Now all modules are wrapped.
2014-06-29 21:04:52 +02:00
Dave Halter
5b7c869323
types also add to completions, also for compiled objects. removed a few lines of code that complicated the process as well.
2014-06-28 12:09:43 +02:00
Dave Halter
aba4a16ae3
fix indexing issues for multiple index options
2014-06-27 11:23:46 +02:00
Dave Halter
4238538df4
Add __getattr__ checks with proper inheritance.
2014-06-26 12:56:01 +02:00
Dave Halter
6e82fa31e1
submodules need relative imports not absolute
2014-06-25 11:08:29 +02:00
Dave Halter
44238a9f92
submodules are automatically indexed without actually importing them. fixes #413 .
...
However, this is not a 100% correct Python behavior. Python behavior would be to follow ALL imports in all modules (recursively) and check if the module was imported. However, that's a lot of work, that would slow down autocompletion. For now it's better to have no false positives in flaking and to ignore a few attribute errors.
2014-06-25 01:39:43 +02:00
Dave Halter
a373818965
fix function execution mutable list issue
2014-06-16 17:12:27 +02:00
Dave Halter
eb1f299444
function repr should only include the decorated function if it actually is one.
2014-06-16 13:06:53 +02:00
Dave Halter
e6331f8ac8
fix issues with the previous commits (broken tests)
2014-06-10 01:13:37 +02:00
Dave Halter
1899f16a4a
if there's a func listener, stop the execution of a function. This solves the issue of nested *args that were reported as having too many params in static analysis.
2014-05-29 12:15:07 +02:00
Dave Halter
08b48807e9
a (temporary) solution for the __file__ access issues in imported modules, see #408
2014-05-19 01:01:56 +02:00
Dave Halter
b6ec589997
refactor general array lookup method get_index_types
2014-05-12 15:23:48 +02:00
Dave Halter
60971245d6
star imports now have their own class, which will be important for AttributeError detection
2014-05-10 16:53:27 +02:00
Dave Halter
23b4a89d1d
slices should be ignored in __getitem__ settings (for now)
2014-04-28 18:15:25 +02:00
Dave Halter
240b0c9581
NamePart doesn't have an __eq__ method anymore
2014-04-18 14:36:10 +02:00
Dave Halter
6a40c9b671
remove get_set_vars completely from existance
2014-04-14 12:40:59 +02:00
Dave Halter
058e123879
fix issues with a copy.copy usage for Name
2014-04-13 14:55:07 +02:00
Dave Halter
f7e236971b
moved the input of get_index_types to a more typical type system
2014-04-04 12:09:46 +02:00
Dave Halter
283a5086f9
use memoize_default instead of strange underscore_decorators in api classes
2014-04-02 10:34:43 +02:00
Dave Halter
305b593f3b
create an is_callable method for all representation objects, to determine if something is callable or not
2014-04-02 09:42:15 +02:00
Dave Halter
2dbfe46a5a
fix a minor issue with __repr__ for decorators
2014-03-26 16:33:31 +01:00
Dave Halter
c71247e9c9
syntastic sugar
2014-03-13 10:39:18 +01:00
Dave Halter
8b176e34f2
clean up decorator mess
2014-03-13 01:51:02 +01:00
Dave Halter
ec6d7df950
fix problems with decorators with call signatures, fixes #319
2014-03-13 01:29:32 +01:00
Dave Halter
cffdcd2571
correct developer documentation a little bit
2014-03-11 15:38:46 +01:00
Dave Halter
f191917555
fixed compild classes inheritance issue, fixes #380
2014-03-11 12:45:29 +01:00
Dave Halter
6c5e91da69
some code - just written for @dbrgn
2014-03-10 23:08:09 +01:00
Dave Halter
62a14f7558
restructure NameFinder.filter_name a little bit
2014-03-10 15:57:01 +01:00
Dave Halter
1eba63760e
more change to simplify the statement parser
2014-02-27 16:58:08 +01:00
Dave Halter
2e12eb7861
start with the integration of an Operator class to make way for precedences
2014-02-26 14:44:51 +01:00
Dave Halter
44e16c11e5
fixed docstr problems with unified interfaces
2014-02-26 02:33:18 +01:00
Dave Halter
d5aa36cc69
replace propery with safe_property in some evaluate cases. fixes #249
2014-01-15 15:07:06 +01:00
Dave Halter
717c4315df
Remove Todos that didn't make sense.
2014-01-13 16:29:30 +01:00
Dave Halter
682e1c2708
debug.dbg and debug.warning now take a string and format args parameters to make debugging a little bit cleaner
2014-01-13 16:16:07 +01:00
Dave Halter
83b490dd6d
PyObject -> CompiledObject, PyName -> CompiledName
2014-01-13 14:09:03 +01:00
Dave Halter
1765fadf73
fix problems with self attributes - from fake modules
2014-01-11 18:05:44 +01:00
Dave Halter
6f9d834a93
now able to execute instance subscopes on compiled
2014-01-11 13:01:09 +01:00
Dave Halter
28ab937eca
in the process...
2014-01-11 02:55:50 +01:00
Dave Halter
19fa320c88
a hopefully simple integration of PyObject into Instance
2014-01-11 01:48:59 +01:00
Dave Halter
0234c1429b
fix a few more tracebacks
2014-01-09 17:54:40 +01:00
Dave Halter
dfd9a779c3
fix magic_function issues with compiled module
2014-01-09 17:09:31 +01:00
Dave Halter
f755e615c9
magic_method -> magic_function
2014-01-09 17:06:02 +01:00
Dave Halter
11e2446438
replaced builtin with compiled in all modules except imports
2014-01-09 11:05:04 +01:00
Dave Halter
d2358c60b7
more builtin replacements with compiled
2014-01-09 02:02:33 +01:00
Dave Halter
1881a24e73
moved the param generation into another file
2014-01-07 14:33:27 +01:00
Dave Halter
53dbec52ab
use find_types instead of find_names
2014-01-06 14:29:23 +01:00
Dave Halter
887418bbfd
move helpers to evaluate
2014-01-06 00:09:29 +01:00
Dave Halter
1e3b936052
move FakeStatement
2014-01-06 00:01:25 +01:00