1
0
forked from VimPlug/jedi
Commit Graph

260 Commits

Author SHA1 Message Date
Dave Halter f35f1b9676 Add the cache_path parameter to parso calls. 2017-05-20 10:08:48 -04:00
Dave Halter 9bca3d39f5 Actually use parso now instead of Jedi. 2017-05-19 14:20:14 -04:00
Dave Halter 30a02587a7 Merge branch 'dev' of github.com:davidhalter/jedi into dev 2017-05-07 14:46:47 +02:00
Élie Gouzien a78769954d Check whether inspect.getfile will raise a TypeError and anticipate it.
Anticipate the raise of TypeError from inspect.getfile to prevent the computation of repr() for the error message wich is not used.
Useful for some big pandas arrays.
Fix tentative of #919.
2017-05-06 19:40:36 +02:00
Dave Halter 14eeb60240 Remove is_scope from CompiledObject. It's not needed according to tests. 2017-05-05 09:23:50 +02:00
Dave Halter b4039872bd Replace Scope.subscopes with iter_funcdefs and iter_classdefs. 2017-04-30 01:36:17 +02:00
Dave Halter 3e05061f3b Remove old unused code. 2017-04-28 18:34:02 +02:00
Matthias Bussonnier b0f10081d4 Fix : Jedi do not complete numpy arrays in dictionary
Fix ipython/ipython#10468
2017-04-21 13:14:07 +02:00
Dave Halter ac8ed62a77 Remove FakeName since it's not actually used anymore. 2017-04-20 09:52:31 +02:00
Dave Halter 7ca62578e1 Add py__doc__ as a better approach to docstrings. 2017-04-20 09:45:15 +02:00
Dave Halter a0b65b52c6 used_names -> get_used_names(). 2017-04-12 08:56:11 +02:00
Dave Halter eb37f82411 Add memoization where it needs to be. Fixes #894. 2017-04-05 01:06:48 +02:00
Dave Halter fe5eaaf56c Add a better debugging message for import fails. 2017-04-04 23:27:45 +02:00
Dave Halter 47c1b8fa07 Fix bug #844. 2017-04-02 22:21:57 +02:00
Dave Halter 4cc467123c Use PythonNode and not Node in the evaluator. 2017-04-01 17:39:52 +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 63cafeaa87 Remove all usages of start_parsing=True in the fast parser. 2017-03-26 12:49:40 +02:00
Dave Halter 2cb565561d Replace the diff parser imports with the modified path. 2017-03-21 22:10:01 +01:00
Dave Halter 0f66a3c7a8 Remove the module attribute from the parser. 2017-03-18 03:53:34 +01:00
Dave Halter 448bfd0992 Move the python parser tree. 2017-03-16 17:20:32 +01:00
Dave Halter 55c9fd3227 Fix an issue in the fake parser 2017-03-15 08:44:49 +01:00
Dave Halter 9efb3f0af2 More direct parser usage removals. 2017-03-14 19:31:54 +01:00
Dave Halter 97fc3bc23c Refactored the parser calls. Now it's possible to use jedi.parser.python.parse to quickly parse something. 2017-03-14 00:38:58 +01:00
Matthias Bussonnier fc27ca1b6a 'fix a couple of error locations' 2017-02-24 13:03:03 +01:00
Dave Halter 425fba5e95 Move the parser.fast module to parser.diff. 2017-01-10 19:15:47 +01:00
Dave Halter ae8e43d3c7 Move get_node() to tree_node and replace all the custom classdefs/funcdefs. 2017-01-05 23:43:12 +01:00
Dave Halter b44f0aae5d Remove the origin_scope from filters that don't need it. 2017-01-05 21:57:06 +01:00
Dave Halter 9fb2644f03 Fix an issue with creating contexts. 2017-01-05 18:05:24 +01:00
Dave Halter 464968aed7 Fix an issue where compiled object api types raised an error. 2016-12-21 00:23:50 +01: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 173c939956 Add a comment. 2016-12-17 14:29:53 +01:00
Dave Halter 6bccbb562a Fix some utils completions. 2016-12-17 14:25:52 +01:00
Dave Halter ce0a02f6c1 Fix an issue with executed python objects. 2016-12-17 14:08:49 +01:00
Dave Halter d93f6815fc Refactor test_interpreter. 2016-12-16 18:55:21 +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 cb4f405f7d Fix some internal name handling. 2016-12-05 22:27:18 +01:00
Dave Halter 6f4cd7e6d3 Improve api class tests. 2016-12-04 20:04:54 +01:00
Dave Halter 439e394535 Fix call signatures. 2016-12-04 03:52:33 +01:00
Dave Halter 6940900c58 A lot more fixes - fix all evaluate integration tests. 2016-12-03 22:17:38 +01:00
Dave Halter 760f900560 Fix a python3 issue with py__file__. 2016-12-03 13:41:55 +01:00
Dave Halter f355c04cae Finally fixed all black box tests in python 2. 2016-12-03 13:37:51 +01:00
Dave Halter 2edbe44d64 Fix some next() stuff. 2016-12-03 03:45:27 +01:00
Dave Halter 7607db801f Rewrite the next function. 2016-12-03 02:54:09 +01:00
Dave Halter da1a163da7 Fix python 2 string iterators. 2016-12-03 02:08:40 +01:00
Dave Halter 9d4786ddcb Refactor the descriptor logic. 2016-12-02 22:13:45 +01:00
Dave Halter d74e48dae2 Fix context completions and super calls. 2016-11-29 18:38:04 +01:00
Dave Halter bad1f85f8f Improvements towards arrays / predefined names logic. 2016-11-25 23:31:45 +01:00
Dave Halter 05581714d9 Fix goto tests. 2016-11-17 23:28:47 +01:00
Dave Halter d15016c5c1 Fix the whole test suite of descriptors. 2016-11-16 22:57:07 +01:00
Dave Halter ba03f1dcb9 Fix properties. 2016-11-16 21:16:12 +01:00