Dave Halter
|
0203461980
|
Disable the star import cache.
|
2015-04-26 00:02:47 +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
|
bc765979ca
|
Import priorities are wrong (__dict__ > files). Test for #536.
|
2015-04-13 15:04:49 +02:00 |
|
Dave Halter
|
e72eaf7a59
|
on import completion preparations.
|
2014-11-25 15:10:36 +01:00 |
|
Dave Halter
|
08bdcfb8ca
|
Small issue with relative imports that don't contain a path after from.
|
2014-11-19 15:22:18 +01:00 |
|
Dave Halter
|
aeaf073ca2
|
Move some tests that targeted completion on import statements into a separate file.
|
2014-11-19 14:14:27 +01:00 |
|
Dave Halter
|
6c5f3419ff
|
'as' test and implementation for ImportName. Working pretty well.
|
2014-11-19 13:07:08 +01:00 |
|
Dave Halter
|
e630eeb397
|
Care for import aliases better.
|
2014-11-19 12:45:39 +01:00 |
|
Dave Halter
|
3c6d5dafb1
|
Split Import, now there is ImportFrom and ImportName as it exists in the python grammar.
|
2014-11-19 00:40:16 +01:00 |
|
Dave Halter
|
535a69e499
|
Small improvments to from imports
|
2014-11-18 18:43:16 +01:00 |
|
Dave Halter
|
23008d8a19
|
use scope_names_generator in completion api as well. hopefully the last __file__ related issue :)
|
2014-07-02 13:12:37 +02:00 |
|
Dave Halter
|
a252d825f2
|
remove an unimportant test case that showed strange unreproducible behavior on travis.
|
2014-05-20 16:47:23 +02:00 |
|
Dave Halter
|
a717981679
|
more extensive __file__ tests, #408
|
2014-05-19 01:03:40 +02:00 |
|
Dave Halter
|
08b48807e9
|
a (temporary) solution for the __file__ access issues in imported modules, see #408
|
2014-05-19 01:01:56 +02:00 |
|
Dave Halter
|
50c4b7bfd9
|
memoize problems with defaults in combination with raised exceptions
|
2014-04-20 14:14:30 +02:00 |
|
David Halter
|
a8e259763e
|
fix problem with variables in from clauses, #268
|
2013-08-17 22:04:55 +04:30 |
|
David Halter
|
0fef34c26e
|
finding out that fake imports arent't allowed in python and os.path is a sys.modules modification, fix tests #213
|
2013-08-11 17:30:50 +04:30 |
|
David Halter
|
9d1e527b7c
|
merge issue-213-from-import-definition of @tkf into dev
|
2013-08-11 01:20:45 +04:30 |
|
David Halter
|
7ab00242a8
|
finally change name of test.base module to helpers.py, fixes #181
|
2013-08-07 18:35:47 +04:30 |
|
David Halter
|
c6e08221ce
|
fixed more import problems (also with the import usage), definitely fixes davidhalter/jedi-vim#152
|
2013-08-07 10:24:28 +04:30 |
|
David Halter
|
f72816a702
|
fix builtin module imports, fixes davidhalter/jedi-vim#152
|
2013-08-06 18:44:34 +04:30 |
|
David Halter
|
cdba4ef3e1
|
fixed multi level import issue, includes parts of a patch by Lubos Trilety <ltrilety@redhat.com>
|
2013-07-28 23:15:45 +02:00 |
|
David Halter
|
6cb021f4ae
|
add memoize decorator to an Instance method, fixes RecursionError of #239
|
2013-07-10 10:23:05 +02:00 |
|
Takafumi Arakaki
|
46ac76e8be
|
Reproduce the previous test failure w/o stdlib
It turned out that the failure occurs when you define "fake module path"
by importing some module from others. Indeed, this is what happens
in os.py.
|
2013-05-21 17:40:20 +02:00 |
|
Takafumi Arakaki
|
1a5942364a
|
Add failing tests for first part of #213
|
2013-05-21 17:16:40 +02:00 |
|
David Halter
|
3a7c8af87f
|
also normal imports should return the right user_stmt, similar case than #137
|
2013-05-09 12:16:54 +04:30 |
|
David Halter
|
f3a4439285
|
import end_pos calculated differently, fixes #137
|
2013-05-09 11:54:08 +04:30 |
|
Takafumi Arakaki
|
1fffbf13ca
|
Fix test failures because imports.py uses base.py
|
2013-03-12 10:18:18 +01:00 |
|
David Halter
|
f3f7eacae3
|
fix a little problem with import keyword autocompletion
|
2013-01-14 22:35:32 +01:00 |
|
David Halter
|
ce51021c1e
|
move more testing functionality out of run.py
|
2013-01-05 22:42:16 +01:00 |
|
David Halter
|
41362370ed
|
follow imports if they are in the file path, fixes davidhalter/jedi-vim#56
|
2012-12-30 10:29:35 +01:00 |
|
David Halter
|
fc9e78c31e
|
new relative import tests
|
2012-12-27 15:40:46 +01:00 |
|
David Halter
|
658e5833ce
|
Import missed a get_set_vars function, which caused an error with user_stmt checking -> fixes issue 16 of jedi-vim
|
2012-10-18 22:00:13 +02:00 |
|
David Halter
|
8059b075c6
|
handled import statement recursions
|
2012-10-10 22:55:07 +02:00 |
|
David Halter
|
4735126f1b
|
goto / related_name fixed -> tests are passing again
|
2012-09-22 15:15:21 +02:00 |
|
David Halter
|
ea53d07238
|
tests weren't clean again
|
2012-09-20 00:37:59 +02:00 |
|
David Halter
|
6f0cbf18db
|
again all sort of import related stuff, relative imports work now! fixes #2
|
2012-09-13 15:03:10 +02:00 |
|
David Halter
|
119455c3b3
|
cleaned up and fixed most cases of import related stuff, fixes #2
|
2012-09-12 21:36:16 +02:00 |
|
David Halter
|
911495da30
|
relative imports should work now
|
2012-09-02 16:27:41 +02:00 |
|
David Halter
|
a9fbb2edce
|
temporary import work
|
2012-08-03 12:18:48 +02:00 |
|
David Halter
|
b4d147738f
|
solved goto-import problems
|
2012-08-03 00:14:14 +02:00 |
|
David Halter
|
d8c0b8f8e9
|
again import tests
|
2012-08-02 20:09:45 +02:00 |
|
David Halter
|
24f81ea75c
|
updated/added import test (nested structures)
|
2012-08-02 13:49:40 +02:00 |
|
David Halter
|
2feef20dc5
|
import completion fully working
|
2012-07-17 00:44:40 +02:00 |
|
David Halter
|
45413a18b9
|
most import completions work now, but some other tests don't
|
2012-07-16 20:42:22 +02:00 |
|
David Halter
|
e779cc8c97
|
basic imports rewriting, which has still it's rough edges
|
2012-07-16 02:19:48 +02:00 |
|
David Halter
|
972b4bd13d
|
parentheses work now in import statements (tested)
|
2012-07-13 01:00:44 +02:00 |
|
David Halter
|
1af8273389
|
added import tests
|
2012-04-21 23:08:13 +02:00 |
|
David Halter
|
4feb8f5a3a
|
import tests
|
2012-04-21 19:35:24 +02:00 |
|