Dave Halter
98a3da674c
Ahhh another bug... A bit stupid of me not to run the tests
2018-01-20 22:00:41 +01:00
Dave Halter
256f001480
Another small issue in the tests
2018-01-20 21:47:31 +01:00
Dave Halter
20d64cf2b3
Fix issues with a recent refactoring
2018-01-20 21:21:58 +01:00
Dave Halter
27a3be3b42
Merge a commit that adds the build folder to the ignored paths
2018-01-20 20:38:56 +01:00
Dave Halter
9c0b344962
Small mistake when opening a file
2018-01-20 20:30:44 +01:00
Dave Halter
1476551257
Add better error reporting for potential issues
2018-01-20 19:33:47 +01:00
Dave Halter
877383b110
Add a test to avoid encoding issues. Fixes #1003
2018-01-20 18:28:29 +01:00
Dave Halter
16b463a646
Refactor to avoid having unicode decode errors by default
2018-01-19 19:23:11 +01:00
Dave Halter
c1394a82b5
Better error reporting, see #944
2018-01-18 19:12:32 +01:00
Dave Halter
609f59ce41
Fix issues with random tuples in TreeArgument.
...
Thanks @micbou for noticing it.
https://github.com/davidhalter/jedi/commit/b92c7d3351a34052237df4a292ec81ef97647e7f
2018-01-18 09:54:19 +01:00
Dave Halter
b92c7d3351
Some cleaning up of code
2018-01-13 18:59:03 +01:00
Dave Halter
d815470e54
Remove the copyright notice from docs
2018-01-09 23:29:39 +01:00
Dave Halter
598ea1b89b
Add Python 2.6 removal to changelog. Refs #1018
2018-01-07 14:39:08 +01:00
Dave Halter
cc460a7126
Merge branch 'master' into rm-2.6
2018-01-07 14:32:47 +01:00
Dave Halter
4e52acbf26
Using setup.py build should not include part of tests
...
It looks like that we have to not only exclude the test package but also 'test.*'. Thanks to @david-geiger for noticing this. Fixes #1024 .
2018-01-07 14:13:40 +01:00
Dave Halter
f37089e54b
Bump the version number
2017-12-15 10:47:14 +01:00
Dave Halter
69237c4aa6
Add a changelog for jedi 0.11.1
2017-12-15 10:45:27 +01:00
Dave Halter
02f238ce08
Add the executable bit to deploy-master.sh
2017-12-14 22:51:02 +01:00
Dave Halter
e526cb1ae3
Don't run Python 2.6 in tox by default
...
Python 2.6 seems to be harder and harder to run in tox if setuptools is not properly configured for it.
It's still possible to run it and it still runs on travis.
2017-12-14 22:50:13 +01:00
Dave Halter
62915686af
Don't use pytest 3.3+ because it removed support for Python 3.3
2017-12-14 22:29:13 +01:00
Dave Halter
6ee361864c
Merge branch 'master' of github.com:davidhalter/jedi
2017-11-06 19:32:31 +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
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
Dave Halter
30df79e234
Rename py__iter__types to iterate_contexts.
2017-09-28 13:19:33 +02:00
Dave Halter
8c0845cf0c
Move iterate logic to the context.
2017-09-28 13:13:09 +02:00
Dave Halter
47c249957d
Make BuiltinMethod a Context object.
2017-09-28 12:04:44 +02:00
Dave Halter
b08300813e
Fix an issue surrounding namedtuples where I didn't see the tests failing.
2017-09-28 10:39:54 +02:00
Dave Halter
1c9060ebc5
Remove evaluator as param from apply_decorators.
2017-09-28 09:18:12 +02:00
Dave Halter
d9d3aeb5bc
Move more functions to the syntax tree module.
2017-09-28 09:16:43 +02:00
Dave Halter
0782a80cef
Move all the search to py__getattribute__ and remove find_types.
2017-09-27 19:22:50 +02:00
Dave Halter
9073f0debc
Use the typical ordering of arguments for ClassContext.
2017-09-27 19:16:05 +02:00
Dave Halter
a7a66024d4
Make a lot more functions private.
2017-09-27 19:13:19 +02:00
Dave Halter
ed43a68c03
Remove the precedence module in favor of the syntax tree module.
2017-09-27 19:09:30 +02:00
Dave Halter
d0939f0449
Move eval_or_test away from precedence module.
2017-09-27 18:51:53 +02:00
Dave Halter
08a48672bc
A minor rename.
2017-09-27 18:15:12 +02:00
Dave Halter
d584b698b7
Move eval_element and eval_stmt to the syntax tree module.
2017-09-27 18:14:04 +02:00
Dave Halter
b997b538a7
Move eval_atom to the syntax tree module.
2017-09-27 16:27:37 +02:00
Dave Halter
5415a6164f
Starting to try to move some functions away from Evaluator.
...
This time eval_trailer.
2017-09-27 16:21:02 +02:00
Dave Halter
313e1b3875
Use a different way of executing functions.
2017-09-27 16:07:24 +02:00
Dave Halter
025951089a
Some conversions of eval_element -> eval_node.
2017-09-27 15:17:11 +02:00
Dave Halter
b1ed0c7d22
Add py__class__ to ContextSet.
2017-09-27 14:09:09 +02:00
Dave Halter
b74c8cb033
To be able to customize ContextSet, move a subclass to evaluate.context
2017-09-27 09:20:58 +02:00
Dave Halter
faa2d01593
The memoize decorator doesn't need to magically cache generators as lists.
...
This makes no sense at all. Explicit is better than implicit.
2017-09-26 18:36:10 +02:00
Dave Halter
a0a438fe6f
Forgot an iterator in context sets.
2017-09-26 18:32:42 +02:00
Dave Halter
e4090910f6
Remove the ParamListener, it was not used anymore.
2017-09-26 18:24:42 +02:00
Dave Halter
00f2f9a90c
Fix the final issues with the ContextSet refactoring.
2017-09-26 18:17:19 +02:00
Dave Halter
ee52cc7501
Fix most dynamic array issues.
2017-09-26 17:26:33 +02:00
Dave Halter
592f2dac95
A lot more fixes for tests.
2017-09-26 16:29:07 +02:00
Dave Halter
174eff5875
Replace a lot more of empty sets and unite calls.
2017-09-25 23:08:59 +02:00
Dave Halter
921d1008f2
First tests are now passing.
2017-09-25 11:10:09 +02:00
Dave Halter
5328d1e700
Add a ContextSet.
...
This is not bug free yet, but it's going to be a good abstraction for a lot of small things.
2017-09-25 11:04:09 +02:00
Dave Halter
dd924a287d
Deployment script forgot to push the tags to github.
2017-09-21 00:05:52 +02:00
Dave Halter
a06af3d989
Remove the old deploy script.
2017-09-20 22:23:50 +02:00
Dave Halter
f2855ebb11
Change the date of the change log.
2017-09-20 20:33:52 +02:00
Dave Halter
a433ee7a7e
Move common to evaluate.utils.
2017-09-20 20:33:01 +02:00