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
6ee361864c
Merge branch 'master' of github.com:davidhalter/jedi
2017-11-06 19:32:31 +01:00
Thomas A Caswell
22c97b0917
FIX: install on python 3.7 ( #971 )
...
* FIX: install on python 3.7
https://github.com/python/cpython/pull/46 /
https://bugs.python.org/issue29463 move the module comment into the
AST node and hence out of the tree which means the 2nd entry in the
tree is now the import rather than the `__version__` string.
Adds nightly on travis.
* BLD: update python tags in setup.py
* CI: switch to 3.7-dev
* CI: allow failure on 3.7 dev
2017-11-06 19:29:06 +01:00
Dave Halter
6c355a0ac2
Update version
2017-11-05 15:07:06 +01:00