Dave Halter
9f38f10366
fix tests. Operators should not equal to other operators with a different position. or even parent.
2014-08-18 13:13:07 +02:00
Dave Halter
fd90dfc4f5
Use a LazyName for module attributes, they should only be generated if needed.
2014-08-15 15:20:40 +02:00
Dave Halter
89ab0ba137
Fix fast_parent_copy. The caching is now more solid than before (and doesn't produce weird side effects. This also solves an issue with Lambdas. However, by fixing all of this we have broken some other things.
2014-08-15 01:55:43 +02:00
Dave Halter
1965469050
fast_parent_copy should also change the parent of NameParts.
2014-08-14 23:48:27 +02:00
Dave Halter
c44168f7ad
add a Flow.previous attribute to be able to access the if flow from an else clause.
2014-08-05 11:17:18 +02:00
Dave Halter
aba4a16ae3
fix indexing issues for multiple index options
2014-06-27 11:23:46 +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
43e54b6173
list comprehensions should be able to serve as an input for dynamic params as well.
2014-06-11 21:54:18 +02:00
Dave Halter
248cca2e5e
fix issues with empty *args as inputs
2014-05-31 11:03:37 +02:00
Dave Halter
d0b2a2ce4f
fixed NestedImportModule
2014-05-09 11:52:10 +02:00
Dave Halter
f2af053a4a
fix the CallSignature.index attribute
2014-05-04 23:36:24 +02:00
Dave Halter
0b5ed6a5fe
array_for_pos -> call_signature_array_for_pos
2014-04-19 16:27:41 +02:00
Dave Halter
1f7fd6f439
search_call_signature refactoring
2014-04-19 16:26:15 +02:00
Dave Halter
33fa2b0cb4
call_signatures should work on more nested edge cases
2014-04-18 17:17:10 +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
b680246195
docstring working for local definitions as well
2014-03-27 12:34:53 +01:00
Dave Halter
db1b73d423
lo and behold - reversed is implemented - the force is strong with this one. fixes #24
2014-03-11 11:04:00 +01:00
Dave Halter
cf0a2e8c2e
use FakeStatement instead of strange Statement constructions
2014-01-13 14:14:04 +01:00
Dave Halter
4006b231d3
fix a few last standing issues with integration tests. ok after running tests with tox i see that they are not the last issues...
2014-01-12 00:34:56 +01:00
Dave Halter
fc35e69a16
adding helpers.FakeName and other fakes to make it easier to fake parser names and statements
2014-01-11 13:41:03 +01:00
Dave Halter
3126031ff2
move module checking again - probably the last time (resolves an import issue)
2014-01-07 15:20:00 +01:00
Dave Halter
a74b7299e2
scan_statement -> scan_statement_for_calls
2014-01-07 15:10:19 +01:00
Dave Halter
359f3ed4a9
also moved scan_statement away from dynamic
2014-01-07 15:06:11 +01:00
Dave Halter
a5fa739960
moved another method away from dynamic
2014-01-07 15:01:59 +01:00
Dave Halter
887418bbfd
move helpers to evaluate
2014-01-06 00:09:29 +01:00