1
0
forked from VimPlug/jedi
Commit Graph

43 Commits

Author SHA1 Message Date
Dave Halter a210be8198 Don't use the create function anymore in compiled
Now the whole creation of builtin objects is abstract and was moved to subprocesses etc.
2017-12-06 15:26:29 +01:00
Dave Halter 3c75f27376 Move the base Context stuff to another module to keep context free for imports. 2017-09-30 16:46:07 +02:00
Dave Halter 8f177eea07 Move the ModuleContext to a separate module. 2017-09-29 13:24:48 +02:00
Dave Halter a37201bc1d Finally fixing the Python 2 issues with static_getattr. 2017-08-13 22:24:50 +02:00
Dave Halter 88cfb2cb91 Remove side effects when accessing jedi from the interpreter.
Note that there is http://bugs.python.org/issue31184.
Fixes #925.
2017-08-12 22:49:05 +02:00
Dave Halter 8a35a04439 Remove the module path from the parser tree.
Some static analysis tests are still failing.
2017-03-27 18:13:32 +02:00
Dave Halter 437f915f35 Delete a lot of names dict related stuff but also other things that were not used anymore. 2016-12-17 16:51:28 +01:00
Dave Halter 9ac301d0c3 Refactor the mixed objects a bit to make at least some interpreter tests pass. 2016-12-16 17:17:03 +01:00
Dave Halter 575352d4b6 Start cleaning up the interpreter module. 2016-12-15 09:49:34 +01:00
Dave Halter cad9ae8ab1 Start implemeting contexts with specialized TreeNameDefinitions to avoid gambling with the parser. 2016-10-20 19:36:44 +02:00
Dave Halter 24cddda8e7 Remove the old interpreter logic. 2016-07-04 08:35:22 +02:00
Dave Halter 6b41db96bf Refactor something to use .type instead of isinstance. 2016-06-30 09:55:21 +02:00
Dave Halter 689284c615 Refactor Evaluator.wrap to use the types in a more consequent way. 2016-06-29 21:06:35 +02:00
Dave Halter a3b263a599 REPL completion is working again partially. There's some progress at least. 2016-06-29 08:49:20 +02:00
Dave Halter 5edcf47512 Break Interpreter completion even more in favor of a better solution in the future. 2016-06-03 19:31:42 +02:00
Dave Halter a08ad2d53d Further improvements to the interpreter refactoring. 2016-05-19 01:41:06 +02:00
Dave Halter d93d31feb8 Make a first test working with mixed objects. 2016-05-18 11:49:50 +02:00
Dave Halter ef314a5c38 Complete writing the full mixed objects module. 2016-05-17 17:44:22 +02:00
Dave Halter 818730d6ea Fix descriptions for REPL. 2016-05-15 23:32:16 +02:00
Dave Halter cc331d62e0 Get closer to fixing a lot of issues with the completion for repl. 2016-05-15 14:26:22 +02:00
Dave Halter bef5fca516 Refactor compiled.CompiledObject so it always owns an evaluator instance. 2015-12-08 02:19:33 +01:00
Dave Halter 84c43bf2dc Correct issues with slices and some more subtle bugs. 2015-11-01 21:30:41 +01:00
Dave Halter d038fba9df er.wrap -> Evaluator.wrap 2015-04-23 13:51:42 +02:00
Dave Halter cf223a71f5 Add a position modifier for the fast parser. Not yet in use though. 2015-01-15 13:57:56 +01:00
Dave Halter b75ba1e16c interpreter documentation. 2015-01-08 18:34:55 +01:00
Dave Halter 81c4792349 Simplify the interpreter completion. 2015-01-08 18:30:49 +01:00
Dave Halter a20fd12de9 Remove all scope_names_generator usages. 2015-01-08 13:24:01 +01:00
Dave Halter c6315e0b45 todo updates. 2014-12-17 01:48:32 +01:00
Dave Halter 2dd8ed2270 Fix interpreter stuff, fix slicing with CompiledObject and a few other things. 2014-12-11 04:24:50 +01:00
Dave Halter 4aac363413 Some changes to the interpreter completions. 2014-12-11 03:49:05 +01:00
Dave Halter c152a1c58b Actually replace tree with representation (in all the imports). 2014-11-23 19:46:52 +01:00
Dave Halter 4f4ac505a3 Fix isses with interpreter completions. 2014-09-26 13:07:08 +02:00
Dave Halter 13ada3154b replace get_defined_names with scope_names_generator in a lot of places (the cleanup still needs to be done, though). 2014-07-02 16:12:49 +02:00
Dave Halter 876942d2b8 Small adjustment in Interpreter completion to be compatible with static analysis 2014-05-13 01:39:33 +02:00
Dave Halter 63155808df interpreter cleanup, use proper parents 2014-05-12 01:55:48 +02:00
Dave Halter ff810d9ece cache compiled.CompiledObject.defined_names attribute, improves test suite performance by 20%, numpy by more than 50%. Awesome! 2014-04-14 02:20:22 +02:00
Dave Halter 4bc55be103 significant speedup due to compiled caching 2014-04-13 16:31:38 +02:00
Dave Halter c5fcebde82 changed _compatibility.utf8 -> 'u' and removed a lot of the issues with the now enforced unicode source input of the parser 2014-02-23 11:29:00 +01:00
Dave Halter 600371632f NamePart is now no str subclass anymore. They are separated, which makes us save a lot of dicts 2014-02-13 19:22:36 +01:00
Dave Halter 7b1c35c3ed fix python 3 issues with the new interpreter implementation 2014-01-22 16:33:00 +01:00
Dave Halter 4a71f4beeb fixes for the interpreter stuff, py27 works now fine 2014-01-22 15:42:11 +01:00
Dave Halter 7c105d27e0 some tests survive the new interpreter module already 2014-01-22 15:17:50 +01:00
Dave Halter 9e063b1248 started writing a new interpreter module that is heavily simplified and fits the current Jedi architecture way better. 2014-01-21 23:35:21 +01:00