Dave Halter
d15016c5c1
Fix the whole test suite of descriptors.
2016-11-16 22:57:07 +01:00
Dave Halter
ba03f1dcb9
Fix properties.
2016-11-16 21:16:12 +01:00
Dave Halter
cf00c83ed8
Fix parameter issues in functions that are defined on self.
2016-11-13 03:29:36 +01:00
Dave Halter
7848be97ab
Some improvements towards iterators.
2016-11-12 03:53:25 +01:00
Dave Halter
20380e80b0
Remove type(self).__name__ occurences, because python 2 will always output 'instance'.
2016-11-08 19:18:03 +01:00
Dave Halter
afac66d82c
Working on __init__.
2016-11-06 18:28:04 +01:00
Dave Halter
82667b85b9
Publicize the _evaluator in contexts.
2016-11-03 09:54:47 +01:00
Dave Halter
90af0c36e0
Function -> FunctionContext and fakes use the FunctionContext, too.
2016-10-25 09:59:42 +02:00
Dave Halter
e34246eb00
Fix __call__.
2016-10-24 00:39:59 +02:00
Dave Halter
2e6603cc2e
A lot of small improvements.
2016-10-22 17:40:42 +02:00
Dave Halter
4ccfbb4962
Use super().__getattribute__ instead of custom AttributeErrors in __getattr__.
2016-10-21 02:12:54 +02:00
Dave Halter
cad9ae8ab1
Start implemeting contexts with specialized TreeNameDefinitions to avoid gambling with the parser.
2016-10-20 19:36:44 +02:00
Dave Halter
3654de97b0
Better filter for arrays.
2016-10-16 14:57:08 +02:00
Dave Halter
0a0cb2a722
Fix generators.
2016-10-16 04:17:11 +02:00
Dave Halter
129c669bc0
Fix private variables in filters.
2016-10-15 19:12:46 +02:00
Dave Halter
fce0eff18a
Get rid of all names_dicts in the completion api.
2016-10-12 03:40:24 +02:00
Dave Halter
482103e796
Replace names_dicts with filters in trailer completion.
2016-10-12 02:34:50 +02:00
Dave Halter
862e4a6176
Add filters for the sub module dicts and module attributes dicts.
2016-10-12 02:19:52 +02:00
Dave Halter
37ba971787
Trying to start implementing instance filters.
2016-10-06 16:35:53 +02:00
Dave Halter
c2873792eb
Filters for compiled objects and also FunctionExecution.
2016-10-02 15:36:24 +02:00
Dave Halter
a96eec8058
Fix an issue with mixed objects.
2016-09-27 01:28:42 +02:00
Dave Halter
885cf62a12
Remove the position_modifier from the parser.
2016-09-18 00:50:31 +02:00
Dave Halter
1226962922
Remove dedents from the parser tree. No need for them.
2016-09-11 13:03:29 +02:00
Dave Halter
05ad8c6608
Start working on param autocompletion for the REPL.
2016-08-01 23:59:49 +02:00
Dave Halter
abaa9732eb
Merge branch 'dev' of https://github.com/bstaint/jedi into dev
2016-08-01 15:17:52 +02:00
bstaint
e35a9ff389
Replace multiple slashes.
2016-08-01 10:42:36 +08:00
Dave Halter
6440e33512
Fix an issue with magic methods on classes. Fixes #461 .
2016-07-31 23:42:16 +02:00
Dave Halter
647a4db326
Autocomplete inherited methods when overriding in child class. Fixes #458 .
2016-07-31 23:09:50 +02:00
bstaint
b31b456dd4
Fixed Windows slashes problem.
2016-08-01 01:13:39 +08:00
Dave Halter
6f598b1157
Use the memoize function for faked arguments only when needed.
...
It's important to note that memoizing every object would mean that
theoretically all objects passed through get_faked would get memoized. This
would have been a possible memory leak, which we should avoid.
Obviously the previous solution proposed in #649 was still better, but this
issue was a new one. Also using str() around keys was not a good idea.
Refs #649 .
2016-07-31 15:02:30 +02:00
ColinDuquesnoy
600a087446
Merge branch 'dev' into bugfix/performances_degradation
...
# Conflicts:
# test/test_regression.py
2016-07-30 16:52:17 +02:00
Dave Halter
ff47fab62a
Remove Whitespace class and replace it with Newline and Endmarker.
2016-07-24 17:16:36 +02:00
ColinDuquesnoy
07f76a1703
Merge remote-tracking branch 'upstream/dev' into bugfix/performances_degradation
...
# Conflicts:
# jedi/evaluate/compiled/fake.py
2016-07-21 10:41:11 +02:00
Dave Halter
074a154af3
Fix a small issue that coul dhappen e.g. in stdin.
2016-07-06 08:05:50 +02:00
Dave Halter
6a8138d185
Improve the compiled object generation caching, which was very wrong and is ok now, but still needs improvements.
2016-07-03 15:32:08 +02:00
Dave Halter
62786158da
Some more Python compatibility improvements.
2016-07-03 11:35:07 +02:00
Dave Halter
9245181a8c
Some python 2.7 (and 3.3) compatibility improvements.
2016-07-03 02:54:21 +02:00
Dave Halter
609965d07c
Finally fix all python 3.4 tests again.
2016-07-01 20:59:24 +02:00
Dave Halter
67a0f604a7
Fix an issue with interpreter exceptions in certain cases.
2016-07-01 19:32:05 +02:00
Dave Halter
2652666080
Remove the logic to not use getattr on instances in CompiledObjects.
2016-07-01 18:11:44 +02:00
Dave Halter
f7278f5bf1
Some more bug fixes for MixedObject.
2016-06-30 19:36:21 +02:00
Dave Halter
a3b263a599
REPL completion is working again partially. There's some progress at least.
2016-06-29 08:49:20 +02:00
Dave Halter
5edcf47512
Break Interpreter completion even more in favor of a better solution in the future.
2016-06-03 19:31:42 +02:00
Dave Halter
2700c2cca4
Make it possible to import Jedi in Python 2 again.
2016-05-28 20:20:45 +02:00
Dave Halter
a08ad2d53d
Further improvements to the interpreter refactoring.
2016-05-19 01:41:06 +02:00
Dave Halter
1bb8d32084
Improve interpreter tests.
2016-05-18 11:56:33 +02:00
Dave Halter
d93d31feb8
Make a first test working with mixed objects.
2016-05-18 11:49:50 +02:00
Dave Halter
ef314a5c38
Complete writing the full mixed objects module.
2016-05-17 17:44:22 +02:00
Dave Halter
5595fb3e2f
Start adding a module that mixes compiled and parser objects.
2016-05-16 13:12:45 +02:00
Dave Halter
50f6bb0299
When we are working with CompiledObjects and instances there should never be a case where class values are returned.
2016-05-15 23:06:07 +02:00