Commit Graph

5939 Commits

Author SHA1 Message Date
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
Dave Halter e783611030 Merge branch 'master' of github.com:davidhalter/jedi 2017-11-05 15:05:22 +01:00
Dave Halter fc0397732e Update the parso dependency 2017-11-05 15:05:09 +01:00
Dave Halter 421ea222d1 virtualenv progress 2017-11-05 15:02:40 +01:00
Samuel Bishop 9cbcf00aa2 Fix dead link.
Hopefully this is close enough to the original video.
2017-11-03 17:52:22 +01:00
Dave Halter baafea4a90 Remove unused code 2017-11-01 19:14:54 +01:00
Robin Roth 5b184fbd0c Use python3.6 for tox/sith 2017-11-01 14:18:29 +01:00
Robin Roth dc43eba07b Support async/await syntax 2017-11-01 13:44:38 +01:00
Johannes Mikulasch d9dc4ac840 Merge branch 'master' of https://github.com/johannesmik/jedi 2017-10-31 14:02:35 +01:00
Johannes Mikulasch a1b60a978d add testcases for pep0484 ahead of time annotations 2017-10-31 13:57:10 +01:00
Johannes Mikulasch 6feac2a0ec add ahead of time annotations PEP 526 2017-10-31 12:58:56 +01:00
langsamer 1428b67c4d Replace TODO by explanation of the parameter 'cut_own_trailer'
(it cannot be dropped!) (#978)
2017-10-29 02:00:28 +02:00
Robin Roth f13b4e800a Install docopt for dev setup 2017-10-28 14:36:16 +02:00