Dave Halter
0c1ba1b305
Move the importing of modules out of compatibility
2020-07-02 10:51:49 +02:00
Dave Halter
5ab351dc8f
Remove unicode literals from code base
2020-07-02 10:43:14 +02:00
Dave Halter
5a912de937
Remove a few unicode references in tests
2020-07-02 03:18:48 +02:00
Dave Halter
ef96c4c66b
Remove __future__ usages
2020-07-02 03:15:07 +02:00
Dave Halter
6e184bca97
Remove most version_info.major usages
2020-07-02 03:00:01 +02:00
Dave Halter
188fdcd34f
Remove the skip_python2 fixture
2020-07-02 02:52:24 +02:00
Dave Halter
f4e537fd72
Remove a lot of sys.version_info references
2020-07-02 02:49:35 +02:00
Dave Halter
49e4b1a0f8
Remove force_unicode
2020-07-02 01:47:21 +02:00
Dave Halter
227cf00638
Remove the __builtin__ compatibility
2020-07-02 01:15:29 +02:00
Dave Halter
7e295d05a1
Remove some more Python 2/3.5 references
2020-07-02 00:25:00 +02:00
Dave Halter
50b85153ce
Remove a lot of test references to Python 2/3.5
2020-07-02 00:17:21 +02:00
Dave Halter
e41b966283
Some test skips
2020-06-27 03:10:24 +02:00
Dave Halter
4188526e2d
Revert some of the Decoratee changes
2020-06-27 02:18:31 +02:00
Dave Halter
804b0f0d06
Some more signature adjustments
2020-06-27 02:18:31 +02:00
Dave Halter
bc23458164
Fix the of a signature with a decorator
2020-06-27 02:18:31 +02:00
Dave Halter
9a54e583e7
Fix docstrings for method decorators, fixes #1621
2020-06-27 02:18:31 +02:00
Dave Halter
59ccd2da93
Make partial use the __doc__ of its function, fixes #1621
2020-06-27 02:18:31 +02:00
Dave Halter
6fcdc44f3e
Typeshed third party libraries should not be loaded if they don't actually exist in the environment, fixes #1620
2020-06-24 01:08:04 +02:00
Dave Halter
24236be3ce
Fix a small issue with doctest completions, fixes #1585
2020-06-05 13:35:36 +02:00
Vlad Serebrennikov
e1c0d2c501
Reduce noise in signatures of compiled params ( #1564 )
...
* Remove "typing." prefix from compiled signature param
* Don't print default "None" for Optional params
* Don't remove 'typing.' prefix if symbol doesn't come from typing module
* Revert "Don't print default "None" for Optional params"
This reverts commit 8db334d9bb .
* Make sure "typing." doesn't appear in the middle
* Make sure only "typing." prefix is removed and not it's entries in the middle
* Use inspect.formatannotation() to create an annotation string
* Update AUTHORS.txt
* Add test for compiled param annotation string
* Replace Optional in test with other typing facilities
in order for test to be forward-compatible with 3.9
* Add an empty string fallback for Python 2
* Move _annotation_to_str back to original position
2020-05-10 13:33:36 +02:00
Dave Halter
d606ea6759
Correct a test
2020-04-27 09:59:38 +02:00
Dave Halter
8c7a883abd
Test that the actual signature of a function is used in Interpreter
2020-04-27 01:47:06 +02:00
Dave Halter
ac33d5dea3
If branch inference should not trigger for things we don't know, fixes #1530
2020-03-31 22:46:31 +02:00
Dave Halter
88c13639bc
Remove unused environment param
2020-03-21 03:19:39 +01:00
Dave Halter
28c1ba6c1c
Fix a Python 2 test
2020-03-21 03:13:59 +01:00
Dave Halter
a2764283ba
Merge branch 'refactor'
2020-03-21 02:54:07 +01:00
Dave Halter
0ffd566957
Merge branch 'project'
2020-03-21 02:52:51 +01:00
Dave Halter
5b54ac835d
Fix deprecations in tests
2020-03-21 02:42:00 +01:00
Dave Halter
d6d9286242
Get rid of deprecations in tests
2020-03-21 02:15:57 +01:00
Dave Halter
4c964ae655
Fix some test results
2020-03-21 01:52:56 +01:00
Dave Halter
0888dd468f
Fix partialmethod issues
2020-03-14 01:22:46 +01:00
Dave Halter
661fdb2b26
Merge branch 'add-partialmethod' of https://github.com/ffe4/jedi
2020-03-14 00:28:06 +01:00
Dave Halter
10bc578bfe
Merge branch 'master' into refactor
2020-03-13 23:53:09 +01:00
Daniel Lemm
fd6540a9e5
Fix PartialMethodObject (WIP)
...
Implemented feedback from PR #1522 .
Does not pass new tests in test/completion/stdlib.py
2020-03-13 21:40:58 +01:00
Daniel Lemm
96c969687a
Add partialmethod, fixes #1519
...
Returns correct method signature but test/completion/stdlib.py fails
2020-03-12 18:47:17 +01:00
Dave Halter
d574162da3
Fix namedtuple docstring/signature issues, fixes #1506
2020-03-10 20:07:10 +01:00
Dave Halter
7247c32990
Refactor load_module_from_path to be simpler
2020-03-09 17:40:14 +01:00
Dave Halter
e5fabb4c5f
Fix some version issue stuff
2020-03-01 01:42:22 +01:00
Dave Halter
fd23946de3
Avoid universal newlines even more
2020-03-01 01:12:47 +01:00
Dave Halter
5f2a402b19
Removed some more 3.4 usages
2020-02-27 18:30:46 +01:00
Dave Halter
a892887b04
Remove Python 3.4 support
2020-02-27 02:04:03 +01:00
Dave Halter
6e63799a7d
Fix a test that picked up the wrong paths
2020-02-06 22:51:40 +01:00
Dave Halter
14ac0512a9
Get rid of cwd modifications in tests
2020-02-06 01:47:39 +01:00
Dave Halter
f2722952e7
Fix load_unsafe_extensions issue
2020-02-05 10:01:21 +01:00
Dave Halter
3101e43aa6
Merge branch 'master' into project
2020-02-03 09:26:43 +01:00
Dave Halter
eee919174d
Stubs should not become stubs again in the conversion function, fixes #1475
2020-02-03 00:58:54 +01:00
Dave Halter
8ff2ea4b38
Make sure to not load unsafe modules anymore if they are not on the sys path, fixes #760
2020-01-31 13:09:28 +01:00
Dave Halter
4a1d9a9116
Use project instead of sys_path parameter in tests
2020-01-30 21:02:47 +01:00
Dave Halter
ceccbf3678
Make the Project API public, fixes #778
2020-01-30 19:24:16 +01:00
Dave Halter
8cccdde28d
CompiledObject -> CompiledValue
2020-01-25 18:13:50 +01:00