1
0
forked from VimPlug/jedi
Commit Graph

343 Commits

Author SHA1 Message Date
Dave Halter
2f1e9d634f FunctionExecution improvement. 2016-10-02 19:54:03 +02:00
Dave Halter
c2873792eb Filters for compiled objects and also FunctionExecution. 2016-10-02 15:36:24 +02:00
Dave Halter
249049b10c Start using filters for name resolution. 2016-09-30 13:29:20 +02:00
Dave Halter
885cf62a12 Remove the position_modifier from the parser. 2016-09-18 00:50:31 +02:00
Dave Halter
6440e33512 Fix an issue with magic methods on classes. Fixes #461. 2016-07-31 23:42:16 +02:00
Dave Halter
ec51891bb2 Fix nested namespace packages. At least now there's no error anymore. Fixes #743. 2016-07-30 02:44:09 +02:00
Dave Halter
1fa16337b7 Fix an issue with named args goto. 2016-07-29 00:22:24 +02:00
Dave Halter
9eee0d6635 Remove misleading/wrong TODO. 2016-07-18 00:02:47 +02:00
Dave Halter
20529d3405 Fix decorator issues with nested decorators and class combinations. Fixes #642. 2016-07-17 23:55:59 +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
7d64069780 An empty path given to Jedi should not raise errors. Fixes #577. 2016-07-09 17:27:57 +02:00
Dave Halter
e0cb1346e1 Add basic yield from type inference. References #647. 2016-07-09 02:33:56 +02:00
Dave Halter
f7278f5bf1 Some more bug fixes for MixedObject. 2016-06-30 19:36:21 +02:00
Dave Halter
0a3bc34d6b Fix some more issues with the call_of_name function. 2016-06-21 18:39:02 +02:00
Dave Halter
6f366e2d77 Rename next_sibling and prev_sibling. 2016-06-14 23:22:33 +02:00
Dave Halter
379eb440cd Fix: the parent setting of deep_ast_copy worked the wrong way. 2016-01-07 18:52:06 +01:00
Dave Halter
ac294244cf Remove legacy code from FunctionExecution. 2015-12-22 07:37:09 +01:00
Dave Halter
23f40d8998 Merge branch 'linter' of https://github.com/reinhrst/jedi into pep484
Conflicts:
	AUTHORS.txt
2015-12-17 23:46:20 +01:00
Dave Halter
3d79d0994e Fix: is_class() on Instance was not implemented. 2015-12-15 16:44:28 +01:00
Claude
576fdf8106 better separation pep0484 code and py__annotation__() function 2015-12-14 12:10:00 +01:00
Claude
7e8112d607 pep0484 return type support 2015-12-13 23:07:13 +01:00
Dave Halter
a1410de9e8 Better description of the py__XXX__ attributes. 2015-12-10 16:53:08 +01:00
Dave Halter
9e8da17688 Remove py__class__ evaluator param from representation objects. 2015-12-10 16:39:27 +01:00
Dave Halter
afb1d6c3b8 Remove evaluator param from py__call__. 2015-12-10 16:20:46 +01:00
Dave Halter
506d5a4f31 Remove evaluator param from py__bases__. 2015-12-10 16:16:30 +01:00
Dave Halter
98b1845784 Remove evaluator param from py__mro__. 2015-12-10 16:12:43 +01:00
Dave Halter
b16fd84628 Remove py__getattribute__. 2015-12-10 16:07:15 +01:00
Dave Halter
86037222b4 Fix: stdlib issues with the latest CompiledObject changes. 2015-12-10 00:02:06 +01:00
Dave Halter
bef5fca516 Refactor compiled.CompiledObject so it always owns an evaluator instance. 2015-12-08 02:19:33 +01:00
Dave Halter
3910d97b7e Fix: __getitem__ sometimes didnt evaluate all the types. 2015-12-05 12:36:05 +01:00
Dave Halter
db060c70c9 Start creating py__getitem__. 2015-12-04 12:08:29 +01:00
Dave Halter
8daa0b8784 Introduce an additional node parameter for py__iter__ which helps static analysis. 2015-12-03 11:52:54 +01:00
Dave Halter
d835ffc5a3 Get rid of ordered_elements_of_iterable and use py__iter__ instead. 2015-12-02 13:39:22 +01:00
Dave Halter
53dbdf22a2 Fix: In the py__iter__ version, we didn't respect __next__ being an option. 2015-12-01 19:55:13 +01:00
Dave Halter
239f0d7213 Small generator correction that leads to more stability in its result. 2015-11-11 11:34:18 +01:00
Dave Halter
7c94cd674a Fix an issue with the default type of memoize_default nt being a set. 2015-11-10 20:53:42 +01:00
Dave Halter
498e24df94 Fix an issue with combined reversed and yield without for loops. 2015-11-10 09:37:07 +01:00
Dave Halter
9f82cce3bb Implement py__iter__ for Generators, which means that yield expressions are now orderable, if they are not too complicated. 2015-11-09 15:15:03 +01:00
Dave Halter
844a011193 Replacing the types list with a types set. Some tests are failing, though. 2015-10-13 18:03:36 +02: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
712ae01ac0 Classes should always evaluate to true when asked for py__bool__() 2015-04-28 18:32:19 +02:00
Dave Halter
126f490f1e Modules have now the name __main__ if they contain dots. 2015-04-28 17:29:42 +02:00
Dave Halter
bb02f99de3 Dynamically created trailers need a parent, otherwise it can lead to crashes. 2015-04-28 16:40:58 +02:00
Dave Halter
ef4b424cda Replace pr with tree, #566. 2015-04-28 01:34:31 +02:00
Dave Halter
0203461980 Disable the star import cache. 2015-04-26 00:02:47 +02:00
Dave Halter
06d134a7c1 Finished changing the import logic. The sys.path calculations within Jedi are clearer now. 2015-04-25 22:45:08 +02:00
Dave Halter
d038fba9df er.wrap -> Evaluator.wrap 2015-04-23 13:51:42 +02:00
Dave Halter
a7c4b5800b Namespace packages work again. This time the same way as Python does it. 2015-04-23 03:36:46 +02:00