Dave Halter
|
8003d30b06
|
Fix the Python 2.7 tests
|
2017-12-11 21:39:30 +01:00 |
|
Dave Halter
|
b196c6849b
|
Don't try to pickle ellipsis
|
2017-12-11 20:55:34 +01:00 |
|
Dave Halter
|
fa2712a128
|
Ignore __main__ modules
|
2017-12-11 09:23:13 +01:00 |
|
Dave Halter
|
3a7bc92863
|
Use builtins_module instead of BUILTINS
|
2017-12-10 18:52:51 +01:00 |
|
Dave Halter
|
afb73876ac
|
Don't use the pickler modification anymore. That doesn't work in other python versions and was in general a bit hard to do
|
2017-12-10 18:39:03 +01:00 |
|
Dave Halter
|
aa7319dba5
|
Remove the last test failures.
|
2017-12-09 17:38:45 +01:00 |
|
Dave Halter
|
649225333f
|
Get the subprocess mostly working
|
2017-12-08 09:44:12 +01:00 |
|
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
|
13f8f37547
|
Use even more subprocess accesses
|
2017-12-06 15:16:27 +01:00 |
|
Dave Halter
|
42fb93dc01
|
Use the subprocess access to create acceses
|
2017-12-06 15:06:48 +01:00 |
|
Dave Halter
|
f09ca9fc20
|
Use access handles everywhere
|
2017-12-06 14:46:27 +01:00 |
|
Dave Halter
|
7db6d11c49
|
Create a way of accessing access objects through a subprocess
|
2017-12-06 14:18:10 +01:00 |
|
Dave Halter
|
34bd19ee8d
|
Use a class instead of a dict in get_special_objects
|
2017-12-05 08:44:36 +01:00 |
|
Dave Halter
|
79071790da
|
Move get_special_object
|
2017-12-05 00:32:39 +01:00 |
|
Dave Halter
|
542644ad19
|
Move load_module a bit around
|
2017-12-04 19:18:30 +01:00 |
|
Dave Halter
|
617b11c92b
|
Move another usage of create to builtin_from_name
|
2017-12-04 08:57:43 +01:00 |
|
Dave Halter
|
3f25ba436c
|
Use sys.modules instead of __import__
The module should already have been imported at this point. Plus if the __module__ was wrong it won't just randomly import something.
|
2017-12-04 00:21:12 +01:00 |
|
Dave Halter
|
85abc55e89
|
Remove unused code
|
2017-12-03 19:39:31 +01:00 |
|
Dave Halter
|
15d9e64281
|
Start creating access objects in a different way
|
2017-12-03 19:37:03 +01:00 |
|
Dave Halter
|
3c78aad8b1
|
Use create_simple_object for a lot of use cases
|
2017-12-02 01:59:48 +01:00 |
|
Dave Halter
|
2aa2005502
|
Move some of the compiled.create calls to compiled.builtin_from_name
|
2017-12-01 09:54:29 +01:00 |
|
Dave Halter
|
543f4f7ff2
|
Move some stuff from compiled to context
|
2017-11-29 01:03:01 +01:00 |
|
Dave Halter
|
4f04f7f09c
|
Remove stuff from CompiledObject that didn't belong there and wasn't used
|
2017-11-29 00:42:16 +01:00 |
|
Dave Halter
|
37c3f0904d
|
create_from_access -> _create_from_access
|
2017-11-29 00:25:30 +01:00 |
|
Dave Halter
|
ba0768bab6
|
Refactor a bit more and remove the parent_context parameter from create_from_access
|
2017-11-29 00:24:28 +01:00 |
|
Dave Halter
|
187a523e05
|
Isolate fake stuff a bit more
|
2017-11-29 00:18:43 +01:00 |
|
Dave Halter
|
10e9dac758
|
Simplify an if
|
2017-11-28 21:39:00 +01:00 |
|
Dave Halter
|
6ec3e50a16
|
Rewrite bases
|
2017-11-28 21:20:55 +01:00 |
|
Dave Halter
|
cce9a1cf6a
|
Use create only for non access objects
|
2017-11-28 21:15:55 +01:00 |
|
Dave Halter
|
c1f31e0328
|
Some simplification of _create_from_access
|
2017-11-28 20:35:49 +01:00 |
|
Dave Halter
|
74495d518f
|
Remove the old now unused fake code
|
2017-11-28 18:39:05 +01:00 |
|
Dave Halter
|
47114178e9
|
Fake context python code is now not the base for a lot of things anymore. It just gets executed.
|
2017-11-28 18:26:12 +01:00 |
|
Dave Halter
|
a2b08eabc6
|
Rename SelfNameFilter to SelfAttributeFilter
|
2017-11-28 18:06:00 +01:00 |
|
Dave Halter
|
85bda448b1
|
Simplify one if statement
|
2017-11-28 08:43:56 +01:00 |
|
Dave Halter
|
e69509b1d9
|
Refactor LazyInstanceName -> SelfName
|
2017-11-27 21:08:39 +01:00 |
|
Dave Halter
|
b31d928704
|
Fix all tests except fake docstring stuff
|
2017-11-26 22:49:07 +01:00 |
|
Dave Halter
|
02fb73655c
|
Fix a slice test with a better helper function
|
2017-11-26 22:18:51 +01:00 |
|
Dave Halter
|
accf20226d
|
Fix a few more tests
|
2017-11-26 22:07:13 +01:00 |
|
Dave Halter
|
85ce57a863
|
Creating objects works now a bit better but is a huge mess.
|
2017-11-26 18:26:02 +01:00 |
|
Dave Halter
|
e71f0062dd
|
Get a lot of tests passing
|
2017-11-26 17:48:00 +01:00 |
|
Dave Halter
|
c266fb301b
|
Make params work with access
|
2017-11-26 01:48:43 +01:00 |
|
Dave Halter
|
7263d8565b
|
Add an access abstraction (only array tests work, yet)
The access abstraction will be the new way of accessing builtin objects. This way it will be easier to move that to another process
|
2017-11-25 19:47:49 +01:00 |
|
Dave Halter
|
52bc1be84e
|
The check if we should add type completions is now a bit more obvious
|
2017-11-24 08:55:16 +01:00 |
|
Dave Halter
|
1a7fc512bc
|
Eliminate CompiledObject.type
|
2017-11-23 21:50:18 +01:00 |
|
Dave Halter
|
4dc2ad281d
|
Make some faked things private
|
2017-11-22 19:22:18 +01:00 |
|
Dave Halter
|
37533c5d51
|
Cleanup some compiled stuff.
|
2017-11-22 19:04:02 +01:00 |
|
Dave Halter
|
96a0003cb5
|
Progress in executing builtin stuff in submodules.
|
2017-11-20 21:02:40 +01:00 |
|
Dave Halter
|
87452639ad
|
Exceptions now also work over the subprocess.
|
2017-11-17 01:54:05 +01:00 |
|
Dave Halter
|
4a7d715a57
|
Finally got compiled_objects and the access to them working
|
2017-11-17 01:42:27 +01:00 |
|
Dave Halter
|
73576b2a8b
|
Progress when working with evaluators
|
2017-11-17 01:21:38 +01:00 |
|
Dave Halter
|
4136dcaf08
|
Make the subprocesses work and return the right sys paths for the different versions
|
2017-11-15 08:58:13 +01:00 |
|
Dave Halter
|
96149d2e6a
|
Make it possible to connect to a subprocess to get the sys path
|
2017-11-14 18:25:37 +01:00 |
|
Dave Halter
|
46b81dfa6d
|
Subprocess progress
Also add an enviornment variable to Script
|
2017-11-13 00:40:32 +01:00 |
|
Dave Halter
|
3a4dc94ee6
|
Use types instead of special objects (see also #988)
|
2017-11-12 13:12:04 +01:00 |
|
Dave Halter
|
969d029499
|
Some subprocess progress
|
2017-11-12 11:46:35 +01:00 |
|
Dave Halter
|
421ea222d1
|
virtualenv progress
|
2017-11-05 15:02:40 +01:00 |
|
Dave Halter
|
baafea4a90
|
Remove unused code
|
2017-11-01 19:14:54 +01:00 |
|
Dave Halter
|
752b7d8d49
|
One more usages test.
|
2017-10-15 21:11:49 +02:00 |
|
Dave Halter
|
2b138b3150
|
Usages fix for more complex situations
|
2017-10-09 21:09:04 +02:00 |
|
Dave Halter
|
06004ad2f5
|
Some minor refactorings.
|
2017-10-09 20:32:28 +02:00 |
|
Dave Halter
|
8658ac5c28
|
Using additional_dynamic_modules sometimes led to weird behavior of using modules twice.
|
2017-10-09 20:28:39 +02:00 |
|
Dave Halter
|
bedff46735
|
Simplify usages. It should also work way better, now.
|
2017-10-08 20:13:24 +02:00 |
|
Dave Halter
|
4ddf7bf56d
|
Remove the disabling of dynamic flow information
We should be able to handle this anyway also in completions. Don't hide issues here.
|
2017-10-07 10:52:43 +02:00 |
|
Dave Halter
|
8dba08eeb2
|
Small sys path refactoring.
|
2017-10-06 09:01:15 +02:00 |
|
Dave Halter
|
21531abd1e
|
Fix a small test error
|
2017-10-05 20:43:31 +02:00 |
|
Dave Halter
|
7019ca643e
|
Remove a possible security issue
sys paths are not executed anymore and use static analysis now.
|
2017-10-05 19:57:50 +02:00 |
|
Dave Halter
|
aa8a6d2482
|
Move a function around
|
2017-10-05 18:49:12 +02:00 |
|
Dave Halter
|
28dea46bed
|
Better English
|
2017-10-05 18:35:17 +02:00 |
|
Dave Halter
|
2b30c6fee4
|
Remove documentation about caveats that are not realy 100% true anymore.
|
2017-10-05 18:33:02 +02:00 |
|
Dave Halter
|
51d2ffb078
|
Use sys path mostly from project and move some sys path stuff around.
|
2017-10-05 10:06:28 +02:00 |
|
Dave Halter
|
383f749026
|
Move the initial sys path generation into a new project class.
|
2017-10-02 20:19:55 +02:00 |
|
Dave Halter
|
0762c9218c
|
Move arguments to a separate module.
|
2017-10-01 13:29:28 +02:00 |
|
Dave Halter
|
b6bb251c96
|
Common instance objects are now directly accessible
|
2017-09-30 18:19:25 +02:00 |
|
Dave Halter
|
604ca65a9b
|
Directly importing FunctionContext.
|
2017-09-30 18:11:15 +02:00 |
|
Dave Halter
|
39b24ff2df
|
Move lazy contexts to a separate module not in contexts
|
2017-09-30 18:02:02 +02:00 |
|
Dave Halter
|
16011a91af
|
Move iterable to context/iterable.
|
2017-09-30 17:41:21 +02:00 |
|
Dave Halter
|
06b2857974
|
Import simplification.
|
2017-09-30 17:26:20 +02:00 |
|
Dave Halter
|
f733e07045
|
AbstractSequence -> AbstractIterable.
|
2017-09-30 17:23:15 +02:00 |
|
Dave Halter
|
3bfff846ed
|
Move the special method filter from iterable to filters.
|
2017-09-30 17:15:23 +02:00 |
|
Dave Halter
|
2c81bd919e
|
ClassContext is now importable from context.
|
2017-09-30 16:57:28 +02: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
|
3c2221ec2d
|
Don't use a star import.
|
2017-09-29 15:47:36 +02:00 |
|
Dave Halter
|
c8cae2140f
|
Move the lazy contexts to a separate module.
|
2017-09-29 15:44:47 +02:00 |
|
Dave Halter
|
8c601a1c65
|
Also move the class to the context package.
|
2017-09-29 15:39:20 +02:00 |
|
Dave Halter
|
5f613ece28
|
Move the namespace to a separate module.
|
2017-09-29 15:31:26 +02:00 |
|
Dave Halter
|
32917d5565
|
Remove the function context to a separate module.
|
2017-09-29 15:28:17 +02:00 |
|
Dave Halter
|
8a9e1cd914
|
Move an import of a function.
|
2017-09-29 15:17:19 +02:00 |
|
Dave Halter
|
95930d293c
|
Move instance module to the context package.
|
2017-09-29 15:14:56 +02:00 |
|
Dave Halter
|
8f177eea07
|
Move the ModuleContext to a separate module.
|
2017-09-29 13:24:48 +02:00 |
|
Dave Halter
|
41cfbe2382
|
Move context to base.py
|
2017-09-29 13:06:03 +02:00 |
|
Dave Halter
|
20a462597d
|
Move context.py to a separate package.
|
2017-09-28 21:10:19 +02:00 |
|
Dave Halter
|
b70cef735a
|
Find packages differently in setup.py
|
2017-09-28 21:03:56 +02:00 |
|
Dave Halter
|
d656ccd833
|
Move a BaseContext to jedi.common.context.
|
2017-09-28 17:06:58 +02:00 |
|
Dave Halter
|
d99d4deebf
|
Merge branch 'values'
|
2017-09-28 16:19:38 +02:00 |
|
Dave Halter
|
3734d52c8b
|
Move all the remaining imports out of the syntax tree functions
|
2017-09-28 14:44:58 +02:00 |
|
Dave Halter
|
18bab194c0
|
Move a few imports out of functions.
|
2017-09-28 14:38:11 +02:00 |
|
Dave Halter
|
e62d89bb03
|
Move the is_string etc functions to the helpers module.
|
2017-09-28 14:28:07 +02:00 |
|
Dave Halter
|
6b76e37673
|
Make some functions private in evaluate/iterable.
|
2017-09-28 14:19:11 +02:00 |
|
Dave Halter
|
612ad2f491
|
Move eval_subscript_list to the syntax_tree module.
|
2017-09-28 14:17:37 +02:00 |
|
Dave Halter
|
65ef6a3166
|
Move py__getitem__ to the context module.
|
2017-09-28 14:10:32 +02:00 |
|