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
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
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
ef314a5c38
Complete writing the full mixed objects module.
2016-05-17 17:44:22 +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
Dave Halter
cc331d62e0
Get closer to fixing a lot of issues with the completion for repl.
2016-05-15 14:26:22 +02:00
Dave Halter
1189868593
Use CheckAttribute descriptor more in CompiledObject to avoid duplicate code.
2015-12-10 16:43:42 +01:00
Dave Halter
5087584fdc
evaluator is now used only as an attribute in CompiledObject.
2015-12-10 16:40:56 +01:00
Dave Halter
9e8da17688
Remove py__class__ evaluator param from representation objects.
2015-12-10 16:39:27 +01:00
Dave Halter
afb1d6c3b8
Remove evaluator param from py__call__.
2015-12-10 16:20:46 +01:00
Dave Halter
506d5a4f31
Remove evaluator param from py__bases__.
2015-12-10 16:16:30 +01:00
Dave Halter
98b1845784
Remove evaluator param from py__mro__.
2015-12-10 16:12:43 +01:00
Dave Halter
3a975db0d7
Get completely rid of get_index_types.
2015-12-10 04:41:21 +01:00
Dave Halter
e23f453a11
Fix all remaining issues from the compiled refactoring except static analysis.
2015-12-10 01:48:08 +01:00
Dave Halter
86037222b4
Fix: stdlib issues with the latest CompiledObject changes.
2015-12-10 00:02:06 +01:00
Dave Halter
c9a5caa96e
Fix: dicts lookups were not working in all cases.
2015-12-08 22:37:30 +01:00
Dave Halter
bef5fca516
Refactor compiled.CompiledObject so it always owns an evaluator instance.
2015-12-08 02:19:33 +01:00
Dave Halter
21faf2431a
Added isinstance type checks in the linter.
2015-12-03 16:14:26 +01:00
Dave Halter
8daa0b8784
Introduce an additional node parameter for py__iter__ which helps static analysis.
2015-12-03 11:52:54 +01:00
Dave Halter
37c21726e7
Fix: py__iter__ in dynamic list/set usages with empy params.
2015-12-01 18:35:12 +01:00
Dave Halter
306d274a3d
Merge dev into linter.
2015-11-10 21:52:18 +01:00
Dave Halter
ee51b0a62f
More issues from the list of types to set of types conversion.
2015-10-30 10:32:17 +01:00
immerrr
4eb3cf7921
Improve virtualenv support & egg-link resolution
...
- add sys_path= kwarg to Script & Evaluator constructors
- store sys_path for each evaluator instance
- replace get_sys_path with get_venv_path
- get_venv_path: use addsitedir to load .pth extension files
- get_venv_path: look for egg-link files in all directories in path
2015-10-26 13:03:42 +03:00
Dave Halter
844a011193
Replacing the types list with a types set. Some tests are failing, though.
2015-10-13 18:03:36 +02:00
Dave Halter
3ac8f02841
Type tests and implementation for functions.
2015-07-01 14:54:23 +02:00
Dave Halter
126f490f1e
Modules have now the name __main__ if they contain dots.
2015-04-28 17:29:42 +02:00
Dave Halter
cbd3a8a59a
Restructured loading of compiled __init__ files.
2015-04-28 02:30:32 +02:00
Dave Halter
06d134a7c1
Finished changing the import logic. The sys.path calculations within Jedi are clearer now.
2015-04-25 22:45:08 +02:00
Dave Halter
df9452f210
Trying to change the import logic completely. We now have a sys.modules like cache.
2015-04-20 14:47:33 +02:00
Dave Halter
74779f1a5d
Test and preparations for better call signatures with builtins, see #515 .
2015-04-10 03:05:38 +02:00
Dave Halter
8b1c033fc4
Remove old commented code.
2015-03-06 11:22:38 +01:00
Dave Halter
eb146adcc1
Modules that are not importable shouldn't cause Jedi to stop working (just issue a warning). Fixes #468 , #71 .
2015-03-06 11:13:04 +01:00
Dave Halter
a998c36fa3
Fix an attribute error in static analysis code.
2015-02-26 14:40:33 +01:00
Dave Halter
6e5ba3de87
Fix remaining issue siwh the Param refactoring.
2015-02-11 01:40:18 +01:00
Dave Halter
8125d5f562
Remove asserts and calculate them dynamically.
2015-02-05 20:16:55 +01:00
Dave Halter
26ecb16e5f
CompiledObject.type resembles now the Node.type values.
2015-01-09 01:33:59 +01:00
Dave Halter
144c20579b
Get rid of get_defined_names in compiled modules.
2015-01-08 17:53:20 +01:00
Dave Halter
a20fd12de9
Remove all scope_names_generator usages.
2015-01-08 13:24:01 +01:00
Dave Halter
ec76d57679
Start using names_dicts for completion as well.
2015-01-07 01:49:38 +01:00
Dave Halter
9178d314b0
Add search_global to names_dicts calls.
2015-01-06 15:30:59 +01:00
Dave Halter
9de4a5479c
Start using names_dicts instead of scope_names_generator.
2015-01-01 23:27:03 +01:00
Dave Halter
ed3cf5577e
Compiled objects should also have a names_dict.
2014-12-26 12:49:40 +01:00
Dave Halter
d11ea73ef4
Re-enable AttributeError/NameError detection for more complicated occurances than just statements.
2014-12-11 19:18:00 +01:00
Dave Halter
24903739f2
A first implementation of call signatures.
2014-12-05 16:05:54 +01:00
Dave Halter
aa9057be38
Small fix for builtins.
2014-12-04 02:01:30 +01:00
Dave Halter
c152a1c58b
Actually replace tree with representation (in all the imports).
2014-11-23 19:46:52 +01:00