Dave Halter
fe0e41e9d6
Fix some more dict.get/dict.values stuff
2018-02-02 18:24:18 +01:00
Dave Halter
8028138e8c
Implememnt dict.values for FakeDict to avoid a recursion error. Fixes #1014 .
2018-02-02 09:34:40 +01:00
Dave Halter
febe65f737
Disable predefined name analysis (if stmts) for all non-analysis tasks
...
It's really buggy and caused quite a few issues
2018-01-29 00:56:29 +01:00
Dave Halter
c7dbf95344
Fix recursion issues.
...
Completely refactored the recursion checker and changed some settings.
Fixes #861 .
2017-09-17 21:54:09 +02:00
Dave Halter
8fcb468539
Jedi was able to go crazy and loop endlessly in certain if/self assignment combinations.
...
Here we limit type inferance per tree scope. I'm still not sure this is the way
to go, but it looks okay for now and we can still go anther way in the future.
Tests are there.
Fixes #929 .
2017-09-17 02:04:42 +02:00
Dave Halter
4c2d1ea7e7
Understand context managers correctly
...
Fixes #812 .
2017-09-13 11:00:34 +02:00
Dave Halter
c25a4a00df
readlines should be completable.
...
Fixes #921 .
2017-09-10 01:54:50 +02:00
Dave Halter
68ff520cf8
Limit dynamic param searches to not go crazy in a lot of occasions. Refs #574 .
2016-07-17 19:49:43 +02:00
Dave Halter
75c1ebc2fe
Add a max_dynamic_params_depth setting to limit recusive searching for those params. It shouldn't be too crazy.
2016-07-17 13:59:19 +02:00
Dave Halter
7141158484
Merge master into linter.
2015-12-15 12:28:38 +01:00
Dave Halter
f2cc320a61
Tests and implementation for type(some class). (Which returns type)
2015-07-01 14:58:37 +02:00
Dave Halter
3ac8f02841
Type tests and implementation for functions.
2015-07-01 14:54:23 +02:00
Dave Halter
e355ab201e
Tests and implementation for type on lambda and function objects.
2015-07-01 14:40:57 +02:00
Dave Halter
e222a30227
Implement the type builtin better and with a lot more tests.
2015-07-01 14:27:49 +02:00
Sid Shanker
20061fcf2e
Added in support for autocompleting enumerate.
...
Resolves #554
2015-05-04 00:19:14 -07:00
Dave Halter
425290aa8f
Fix an issue with partial keyword inputs.
2014-08-14 12:25:00 +02:00
Dave Halter
fb1dba269a
re-enable the interpretation of the None keyword
2014-08-12 14:38:56 +02:00
Dave Halter
d09279e0ad
change tests that provided wrong instance information
2014-07-31 15:16:24 +02:00
Danilo Bargen
efebb2d6d0
Added tests for random.choice
2014-07-26 17:40:08 +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
7d73e571bb
json.load[s] shouldn't return any results. fixed by overwriting the method
2014-06-27 11:56:40 +02:00
Dave Halter
cf1fd691da
custom copy.copy and copy.deepcopy implementations to not confuse autocompletion (just return the first param)
2014-06-27 11:49:26 +02:00
Dave Halter
8cd7f9a288
std -> stdlib
2014-06-27 11:24:23 +02:00