Kevin Kelley
|
9ff7f99bac
|
Add test cases demonstrating the issues with parser.tree.Lambda.
|
2015-10-24 23:34:06 +00:00 |
|
immerrr
|
a6512f7702
|
Move clean_jedi_cache fixture to top-level conftest.py
Otherwise doctest module running in jedi/ subdirectory will not find it.
|
2015-10-21 18:04:32 +03:00 |
|
Dave Halter
|
f77712ddf1
|
Test to assure that imports are not loaded twice.
|
2015-10-10 19:49:40 +02:00 |
|
Dave Halter
|
e7528198d3
|
Fix an issue with raise statements in the linter.
|
2015-09-13 23:45:53 +02:00 |
|
Tzerjen Wei
|
666cbbf123
|
update the test of set comprehension literal
|
2015-08-09 17:58:38 +08:00 |
|
Tzerjen Wei
|
fdcf718317
|
move set comprehension tests to comletion/comprehensions.py
|
2015-08-09 14:11:42 +08:00 |
|
Tzerjen Wei
|
4cc6cb3ac4
|
fix a set comprehension issue
|
2015-07-29 00:08:21 +08:00 |
|
Dave Halter
|
f2cc320a61
|
Tests and implementation for type(some class). (Which returns type)
|
2015-07-01 14:58:37 +02:00 |
|
Dave Halter
|
3ac8f02841
|
Type tests and implementation for functions.
|
2015-07-01 14:54:23 +02:00 |
|
Dave Halter
|
d1218c97bf
|
Tests for finding if branches that are correct.
|
2015-07-01 14:44:31 +02:00 |
|
Dave Halter
|
e355ab201e
|
Tests and implementation for type on lambda and function objects.
|
2015-07-01 14:40:57 +02:00 |
|
Dave Halter
|
e222a30227
|
Implement the type builtin better and with a lot more tests.
|
2015-07-01 14:27:49 +02:00 |
|
Dave Halter
|
d694ab83a3
|
Memoizing statements doesn't work anymore.
Statements now need to be evaluated at least if predefined_names_dict is set.
|
2015-06-29 13:32:39 +02:00 |
|
Dave Halter
|
a014d4fd38
|
Fix a bug in call_of_name.
It was possible to get a NAME(x) result when calling call_of_name on x, which shouldn't happen. It should just return x.
|
2015-06-29 11:27:10 +02:00 |
|
Dave Halter
|
5d9fff50af
|
Static analysis tests for type errors with variables.
|
2015-06-23 18:04:36 +02:00 |
|
Dave Halter
|
6da4f1fffb
|
Static analsyis test for complex flow tests (filtering).
|
2015-06-22 22:15:02 +02:00 |
|
Sid Shanker
|
de7273e04b
|
Fixed utf-8 decoding error in build.
|
2015-05-17 23:11:23 -07:00 |
|
Sid Shanker
|
258d5aee4a
|
Added support for correct continue & break autocompletion.
|
2015-05-16 14:55:04 -07:00 |
|
Dave Halter
|
93500c3f72
|
Merge pull request #578 from squidarth/554_support_enumerate
Added in support for autocompleting `enumerate`.
|
2015-05-04 18:46:47 +02:00 |
|
Sid Shanker
|
20061fcf2e
|
Added in support for autocompleting enumerate.
Resolves #554
|
2015-05-04 00:19:14 -07:00 |
|
Dave Halter
|
66557903ae
|
\\\r\n is as possible as \\\n.
|
2015-04-28 18:53:14 +02:00 |
|
Dave Halter
|
712ae01ac0
|
Classes should always evaluate to true when asked for py__bool__()
|
2015-04-28 18:32:19 +02:00 |
|
Dave Halter
|
607f43290f
|
The backwards tokenizer sometimes parsed not only string literals but also normal names.
|
2015-04-28 18:10:08 +02:00 |
|
Dave Halter
|
c2a287c25a
|
Usages on syntax should not return anything.
|
2015-04-28 17:35:26 +02:00 |
|
Dave Halter
|
b6f635b88b
|
Python 2.7 io.StringIO always needs unicode input.
|
2015-04-28 02:05:38 +02:00 |
|
Dave Halter
|
b6ebb2f8bf
|
Fixed issues with last positions in the tokenizer, which was messed up a little bit a few commits ago.
|
2015-04-27 21:42:40 +02:00 |
|
Dave Halter
|
0a96083fde
|
Fix ur'' literals.
|
2015-04-27 19:21:41 +02:00 |
|
Dave Halter
|
902482568e
|
The tokenize endmarker should really be the maximum position possible. Caused matplotlib to fail. Fixes davidhalter/jedi-vim#377.
|
2015-04-27 19:01:45 +02:00 |
|
Dave Halter
|
47d468a9bc
|
forgot to include test_evaluate/not_in_sys_path files.
|
2015-04-27 17:16:43 +02:00 |
|
Dave Halter
|
d7417391a7
|
Skip star import cache tests.
|
2015-04-27 14:15:39 +02:00 |
|
Dave Halter
|
0203461980
|
Disable the star import cache.
|
2015-04-26 00:02:47 +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
|
ed74dde45c
|
forgot to check in invisible_pkg
|
2015-04-23 13:40:05 +02:00 |
|
Dave Halter
|
d16da33b9b
|
Small test fix.
|
2015-04-23 04:11:28 +02:00 |
|
Dave Halter
|
039579b391
|
Improved static analysis for imports.
|
2015-04-23 02:43:49 +02:00 |
|
Dave Halter
|
7af5c23874
|
Cache bug fixes.
|
2015-04-22 03:01:32 +02:00 |
|
Dave Halter
|
9b9049e574
|
Some small import changes that fix a few of the broken test cases.
|
2015-04-21 17:31:43 +02:00 |
|
Dave Halter
|
18c4b5f7dc
|
Add py__package__ to the ModuleWrapper, which makes relative imports easy to implement and fixed a lot of other things.
|
2015-04-21 16:12:24 +02:00 |
|
Dave Halter
|
8fca3f78a1
|
Add a py__name__ call to modules. This makes listing the qualified names of modules possible (in combination with the module_name_cache). Fixes #519.
|
2015-04-14 17:36:20 +02:00 |
|
Dave Halter
|
2f64a83e3c
|
Rename test_api_classes -> test_classes.
|
2015-04-13 15:17:44 +02:00 |
|
Dave Halter
|
bc765979ca
|
Import priorities are wrong (__dict__ > files). Test for #536.
|
2015-04-13 15:04:49 +02:00 |
|
Dave Halter
|
e2455eb670
|
Call signatures should work better for builtin classes (ducktyping). Fixes #515.
|
2015-04-10 13:45:23 +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
|
47bf1c5daf
|
Issue with numbers after names in call signatures. It would cause Jedi to stop analysing call signatures. Fixes #510
|
2015-04-10 02:17:12 +02:00 |
|
Dave Halter
|
7a22d374ca
|
Merge branch 'dev' of github.com:davidhalter/jedi into dev
|
2015-04-09 16:17:30 +02:00 |
|
Dave Halter
|
a9d3df9b5e
|
Replace the threading.Thread tests in docstrings with random.Random tests, because that might work smother in the travis tests. Don't know why it broke there.
|
2015-04-09 16:17:16 +02:00 |
|
Mathias Fussenegger
|
67d9fbca81
|
run buildout detection only once per buildout script
in order to avoid running into the max recursion limit.
|
2015-04-09 08:51:25 +02:00 |
|
Dave Halter
|
79caa2186e
|
list(open().read()) should work now, fixes #412.
|
2015-04-09 00:46:31 +02:00 |
|
Dave Halter
|
7773859305
|
Write the tests for init extension modules (#472).
|
2015-04-08 02:54:35 +02:00 |
|
Dave Halter
|
474d390220
|
Use imp.get_suffixes to deal with __init__ files that are not .py files but .so etc. fixes #472
|
2015-04-08 02:41:59 +02:00 |
|