Dave Halter
ba67d384c1
Remove predefined_names from value, it's not needed anymore
2019-08-24 02:41:10 +02:00
Dave Halter
ba9c318d22
Move predefine_names to context
2019-08-24 02:39:51 +02:00
Dave Halter
ce3ec4eecb
Rename value -> context for some more places
2019-08-24 02:36:29 +02:00
Dave Halter
e148d5120f
Move some finder stuff around
2019-08-24 02:28:58 +02:00
Dave Halter
3828532065
Move a debugging statement out of finder
2019-08-24 02:13:52 +02:00
Dave Halter
6d361e03ac
Avoid import recursions in other ways
2019-08-24 02:06:57 +02:00
Dave Halter
250ac77f4a
Remove a check that is not needed
2019-08-24 01:11:31 +02:00
Dave Halter
ddb2ccb657
Move error handling for py__getattribute__
2019-08-24 00:59:48 +02:00
Dave Halter
bd24ee2ab3
Move a paragraph
2019-08-24 00:46:16 +02:00
Dave Halter
b13a9f7d5b
Trying to move towards unifying goto and py__getattribute__
2019-08-24 00:18:48 +02:00
Dave Halter
fcec30dff6
Use py__getattribute__alternatives instead of overwriting py__getattribute__
2019-08-23 23:04:17 +02:00
Dave Halter
0992dc7ae9
Move __getattr__ and __getattribute__ logic to instance
...
Now getattr warnings might be wrong
2019-08-23 21:59:01 +02:00
Dave Halter
60a73f6bac
Move get_global_filters to the context module
2019-08-23 21:19:17 +02:00
Dave Halter
a9d8f389a9
Avoid using get_global_filters if it's not needed
2019-08-23 20:56:00 +02:00
Matthias Bussonnier
9a3f41e63b
Complete path after ~.
...
Note this is mostly to discuss as if I understood one of your message on
Twitter, this was not possible without fuzzy completion.
I tried with just this patch and that works great.
Note that unlike IPython that right now does :
~/<tab> -> /Full/Path/to/user/home
But with this patch this just complete things correctly without
expanding the tab. And I think not expanding the tab is actually better.
Anyway, open that to better understand the why you were waiting for
fuzzy completion.
2019-08-23 17:57:12 +02:00
Dave Halter
3fcecb3d6d
Move the filter search to a different place
2019-08-23 16:29:13 +02:00
Dave Halter
ead0964282
_get_origin_scope is no longer really used
2019-08-23 16:21:14 +02:00
Dave Halter
0cbd1e6cff
Avoid passing of contexts in multiple ways for self name filters
2019-08-23 15:45:26 +02:00
Dave Halter
b38da47981
Prefer readability
2019-08-23 15:33:15 +02:00
Dave Halter
c393a406ee
Refactoring of the contexts to properly use inheritance
2019-08-23 15:28:55 +02:00
Dave Halter
7573e2033a
Fix comprehension parent issues, fixes #1215
2019-08-23 14:34:16 +02:00
Dave Halter
ecc574025c
Merge branch 'ngates/comprehension-parent' of https://github.com/gatesn/jedi into refactoring
2019-08-23 13:52:25 +02:00
Dave Halter
51ac055a38
Another _value removal
2019-08-23 13:42:07 +02:00
Dave Halter
c9e4cdaba1
Get rid of another private access
2019-08-23 13:34:04 +02:00
Dave Halter
aceef78a21
Get rid of a private access
2019-08-23 13:19:53 +02:00
Dave Halter
86f4f7be45
Remove a private access
2019-08-23 11:55:49 +02:00
Dave Halter
041fd992b3
create_value can deal with modules now
2019-08-23 00:45:59 +02:00
Dave Halter
05ce1c8237
Remove a test that tested a removed function
2019-08-23 00:26:15 +02:00
Dave Halter
3e684519e6
Very small refactoring
2019-08-23 00:24:30 +02:00
Dave Halter
9f3a2f93c4
Remove get_statement_of_position. It's not used anymore
2019-08-23 00:13:18 +02:00
Dave Halter
193ba47f50
Simplify get_user_context
2019-08-23 00:10:56 +02:00
Dave Halter
05fe29a156
Get rid of the node_is_value parameter
2019-08-23 00:02:39 +02:00
Dave Halter
bd754718e1
Fix a string escape
2019-08-22 23:32:52 +02:00
Dave Halter
df014dc527
Create create_value to eventally use on contexts for some things
2019-08-22 23:21:21 +02:00
Dave Halter
6d5e9f4b0f
Remove node_is_object, not used anymore
2019-08-22 23:13:42 +02:00
Dave Halter
faf6752ff8
Move create_context to a context
2019-08-22 22:47:26 +02:00
Dave Halter
ee6331747f
Use a class_context instead of a class_value for MethodValue
2019-08-22 22:13:02 +02:00
Dave Halter
eee6810576
Small cleanup of code
2019-08-22 17:20:07 +02:00
Dave Halter
f87f8c028b
Fix context issues when working with instances
2019-08-22 17:11:54 +02:00
Dave Halter
b97237f264
Rename the filter context argument to parent_context
2019-08-22 10:09:07 +02:00
Dave Halter
4e260cdadb
Remove infer_element from Value
2019-08-22 00:36:15 +02:00
Dave Halter
337c03e5be
Separate infer_import and goto_import a bit better
2019-08-22 00:23:24 +02:00
Dave Halter
bf4d42798b
Make separate methods for goto_import and infer_import
2019-08-21 23:58:26 +02:00
Dave Halter
2fb04db0ab
Fix the weird py__path__ behavior
2019-08-21 23:08:42 +02:00
Dave Halter
592f3771fc
Make Importer.module_context Importer._module_context
2019-08-21 09:56:36 +02:00
Dave Halter
925dd38c18
Remove a private access
2019-08-21 09:54:32 +02:00
Dave Halter
6142d18206
More rename
2019-08-21 09:53:48 +02:00
Dave Halter
9d34df2fed
Make Slice a proper LazyValueWrapper
2019-08-21 09:51:47 +02:00
Dave Halter
02c96b37db
Some more value -> context renames
2019-08-21 09:31:23 +02:00
Dave Halter
55c08e06ab
Remove a hack that is no longer necessary
2019-08-21 09:25:15 +02:00