Dave Halter
2fc53045c7
Goto stubs if on definition
2019-03-31 01:19:35 +01:00
Dave Halter
7cd79c440c
Try to read bytes if possible, not unicode
2019-03-27 22:19:57 +01:00
Dave Halter
04095f7682
Uncomment previous zip tests that needed bugfixing first
2019-03-27 00:56:15 +01:00
Dave Halter
993567ca56
Remove submodule dict issues from namespace packages
2019-03-26 18:42:47 +01:00
Dave Halter
e01d901399
Test zip imports that have nested modules
2019-03-26 09:33:54 +01:00
Dave Halter
a437c2cb02
Fix test_imports tests, now zip imports work again
2019-03-26 09:16:38 +01:00
Dave Halter
b6612a83c3
WIP import improvement, getting rid of bad old code
2019-03-21 23:22:19 +01:00
Dave Halter
ad69daf1a3
Update the imports in zip file to be correct
2019-03-20 22:21:47 +01:00
Dave Halter
e2fea0a5de
Fix some tests because of stub_context changes
2019-03-16 01:09:30 +01:00
Dave Halter
fce37fa0e3
Remove a few prints
2019-03-16 00:23:52 +01:00
Dave Halter
156e5f6beb
Add two typeshed tests
2019-03-13 10:04:19 +01:00
Dave Halter
8e9a91abf8
Implement is_stub and goto_stubs for the API
2019-03-11 19:13:24 +01:00
Dave Halter
32d2397e64
Move test_stub to test_gradual
2019-03-10 12:02:51 +01:00
Dave Halter
087a58965b
Add a typeshed test
2019-03-10 12:01:00 +01:00
Dave Halter
0cad79ad18
Merge branch 'master' into typeshed
2019-03-08 16:25:45 +01:00
Dave Halter
cd8c9436c5
Merge branch 'master' of github.com:davidhalter/jedi
2019-03-08 16:23:46 +01:00
Dave Halter
f93134d4f8
Two simple test fixes
2019-03-08 16:23:37 +01:00
Dave Halter
5743f54d69
One more relative import fix
2019-03-08 16:01:56 +01:00
Dave Halter
1914d10836
Fix relative imports outside of the proper paths
2019-03-08 14:25:54 +01:00
Dave Halter
6b579d53ec
Some more refactoring for relative imports
2019-03-08 10:54:28 +01:00
Dave Halter
c1d65ff144
Start reworking the relative imports
2019-03-07 00:27:51 +01:00
Dave Halter
9d19b060a9
Add a better comment for imports
2019-03-04 09:34:17 +01:00
Dave Halter
23d61e5e97
Restructure relative importing a bit and improve tests
2019-03-04 09:24:38 +01:00
micbou
46742328b6
Improve test_import_completion_docstring robustness
2019-03-02 09:58:01 +01:00
Dave Halter
467c2e5def
Merge branch 'master' into typeshed
...
There were quite a few conflicts, because there were two rewrites of the path
to dotted function.
2019-03-01 10:13:16 +01:00
Dave Halter
ffd9a6b484
Make it possible to complete in non-Python files
2019-02-28 20:04:17 +01:00
Dave Halter
8aca357de6
Write a test for #1209
...
Relative imports were failing in nested Python packages. With the fix to
transforming paths to dotted paths this should already be a lot better,
still here's a regression test.
2019-02-28 09:51:47 +01:00
Dave Halter
1a32663f85
The calculation of dotted paths from normal paths was completely wrong
2019-02-28 09:42:56 +01:00
Dave Halter
17136e03d2
Fix get_parent_scope
2019-02-27 13:08:21 +01:00
Dave Halter
24174632d4
Fix some bugs of the last few commits
2018-12-22 22:08:54 +01:00
Dave Halter
ca784916bb
Fix get_modules_containing_name
2018-12-22 14:33:24 +01:00
Dave Halter
fcda3f7bc5
Properly handle no __getitem__ on CompiledObject
2018-12-20 00:34:15 +01:00
Dave Halter
fcda62862c
Fix calculate_dotted_path_from_sys_path. It was broken beyond stupid.
2018-12-18 09:30:49 +01:00
Dave Halter
f55da1e1d6
Fix isues with Python 2.7 running a 3.6 env
2018-12-16 15:53:42 +01:00
Dave Halter
dc77c12e83
Fix pytest issues with this branch
2018-12-15 20:48:58 +01:00
Dave Halter
3ec78ba6c9
Merge branch 'master' into typeshed
2018-12-15 20:38:03 +01:00
Dave Halter
249564d6ea
Merge remote-tracking branch 'origin/master' into typeshed
2018-12-15 18:20:51 +01:00
Dave Halter
f7442032b2
Fix version differences for re.sub
2018-12-09 12:50:01 +01:00
Dave Halter
ae1f5fa511
Fix namedtuples and reactivate tests for Python 2
2018-12-09 12:41:58 +01:00
Dave Halter
0c37256050
Change some tests in Python2
2018-12-08 23:55:08 +01:00
oleg.hoefling
4711b85b50
used pytest.param to comply with pytest>=4
2018-12-07 17:49:39 +01:00
Dave Halter
decb5046ea
Some Python 2.7 fixes
2018-12-07 08:58:17 +01:00
micbou
368bf7e58a
Improve docstring formatting
2018-11-26 00:26:34 +01:00
Dave Halter
d5d7679120
Fix a few of the issues with compiled classes and typeshed and docs
2018-11-14 19:19:56 +01:00
Dave Halter
b847bb1c72
Some minor test changes to get typeshed almost fully working
2018-11-06 09:00:07 +01:00
Dave Halter
e086c433ff
Fix compiled docstrings for stubs
2018-09-04 10:08:09 +02:00
Dave Halter
b3a07941bb
Fix issues with the current branch
2018-08-09 23:25:29 +02:00
Dave Halter
9ca7b30e38
Rewrite the pyc test
2018-08-03 23:59:55 +02:00
Dave Halter
1a4be5c91c
Bound methods are now working correctly in all Python versions. Therefore a test was wrong.
2018-08-03 00:25:25 +02:00
Dave Halter
e7a019e628
The implicit namespace package test from 4b276bae87 can only be used for Python 3.4+
2018-07-21 11:51:41 +02:00