Dave Halter
2210b11778
Fix some issues with import completion
...
Fixes #759
2017-09-14 20:09:13 +02:00
Dave Halter
4c2d1ea7e7
Understand context managers correctly
...
Fixes #812 .
2017-09-13 11:00:34 +02:00
Dave Halter
5ff7e3dbbe
Actually do goto when follow_imports is used
...
Fixes #945 .
2017-09-13 00:28:49 +02:00
Dave Halter
5a8b9541a7
Add operator.itemgetter support for Python <= 3.3.
...
Also fixes namedtuple support for these versions.
2017-09-12 23:18:32 +02:00
Dave Halter
a8a15114ac
Fix namedtuple support
...
There were a couple issues:
- namedtuple with one member didn't work
- namedtuple content access was never possible
- operator.itemgetter didn't work properly. Corrected py__bool__ for FakeSequence
Fixes #730 .
2017-09-12 11:06:39 +02:00
Dave Halter
4a544c29ea
Fix a follow_imports (goto) issue.
2017-09-11 23:32:10 +02:00
Dave Halter
619acbd2ca
Goto didn't work well on imports in __init__.py files.
...
Fixes #956 .
2017-09-11 21:48:37 +02:00
Dave Halter
c05f1d3ccc
Completion after as in imports should not be possible.
...
Fixes #841 .
2017-09-10 11:27:57 +02:00
Dave Halter
c25a4a00df
readlines should be completable.
...
Fixes #921 .
2017-09-10 01:54:50 +02:00
Dave Halter
80284fb14b
Gracefully fail in 2.7 because inspect.signature is not available.
2017-09-10 01:36:32 +02:00
Dave Halter
5c6f8bda01
Fix inspect.signature for Python3.4.
2017-09-10 01:34:15 +02:00
Dave Halter
d1c85191a0
Start using inspect.signature for CompiledObject params.
...
Fixes 917 and 924.
2017-09-09 22:29:00 +02:00
Dave Halter
c7f225439d
Comprehenions can also define self variables.
...
Also related to #932 .
2017-09-09 20:20:05 +02:00
Dave Halter
40f4f032c6
Fix class/def/class nesting definitions
...
Fixes #932 .
2017-09-09 20:13:03 +02:00
Dave Halter
236b860cc7
Add the numpy docstring changes to the changelog.
2017-09-09 19:27:11 +02:00
Dave Halter
d47804edef
Don't use literal_eval
...
Using it without control over the input leads to various possible exceptions.
Refs #868 .
2017-09-09 19:23:06 +02:00
Dave Halter
3bceef075a
Merge branch 'numpydoc' of https://github.com/bcolsen/jedi
2017-09-09 18:50:19 +02:00
Dave Halter
381fedddb4
Fix get_line_code().
...
Fixes #948 .
2017-09-09 18:28:05 +02:00
Dave Halter
ef6a1ca10f
Fix an issue with choosing the right lines in get_line_code. Refs #948 .
2017-09-09 18:10:53 +02:00
Dave Halter
46f306aa11
Add a TODO.
2017-09-09 17:59:53 +02:00
Dave Halter
078b5802d2
Remove unused code.
2017-09-09 17:58:06 +02:00
Dave Halter
077bccadc7
Remove AnonymousFunctionExecution and simplify everything.
2017-09-09 17:58:06 +02:00
Dave Halter
37ec79241c
Remove the only param for AnonymousArguments.
2017-09-09 17:58:06 +02:00
Dave Halter
04c4313dc7
Start refactoring arguments.
2017-09-09 17:58:06 +02:00
Dave Halter
2f213f89e5
Remove code that was scheduled for removal.
2017-09-09 17:58:06 +02:00
Guglielmo Saggiorato
12a6a388cd
removed reference to autocomplete-python
...
kept only ref to autocomplete-python-jedi
2017-09-07 10:58:13 +02:00
Guglielmo Saggiorato
06fac596d9
corrected typo in docs/docs/usage.rst
2017-09-07 10:58:13 +02:00
Guglielmo Saggiorato
7c4a96fbfa
Citing autocomplete-python-jedi alongside to autocomplete-python
2017-09-07 10:58:13 +02:00
Dave Halter
4841b8d491
Merge branch 'master' of github.com:davidhalter/jedi
2017-09-07 10:46:15 +02:00
Dave Halter
794880b8a8
Prepare for version 0.11.0.
2017-09-07 10:43:40 +02:00
Dave Halter
c4601b835f
Don't go crazy with big lists.
2017-09-07 01:26:53 +02:00
Dave Halter
a0bf465aee
Fix an issue in stdlib path checking.
2017-09-07 01:10:54 +02:00
Dave Halter
d2b4e0511f
Ignore stdlib paths for dynamic param inference.
2017-09-07 00:09:14 +02:00
Dave Halter
8d06e9f9c9
Do some parser tree caching. This might be important for recursions.
2017-09-05 19:00:49 +02:00
Dave Halter
16ad43922f
Aldo change CachedMetaClass a bit to use the same memoize decorator.
2017-09-05 18:52:12 +02:00
Dave Halter
e85000b798
Replace memoize_default with two nicer functions.
2017-09-05 18:46:16 +02:00
Dave Halter
e81486894f
Prepare for eventual cache changes.
2017-09-05 18:38:32 +02:00
Dave Halter
2aa5da8682
Parso was finally released.
2017-09-05 18:19:10 +02:00
Jakub Wilk
6c85ec1a6d
Fix typos.
2017-09-05 00:34:27 +02:00
Dave Halter
882f8029ea
Use split_lines and python_bytes_to_unicode directly.
2017-09-03 18:38:00 +02:00
Dave Halter
ef89593896
Disable more tests in Python2.6, because of set literals that don't exist there.
2017-09-03 02:01:43 +02:00
Dave Halter
957f2cedf4
Disable some tests that don't run in 2.6, because its syntax doesn't support it.
2017-09-03 01:23:54 +02:00
Dave Halter
245ad9d581
Bump parso version.
2017-09-03 01:10:22 +02:00
Dave Halter
65c02a2332
A bit of shuffling code around get_definition around.
2017-09-03 01:05:53 +02:00
Dave Halter
f69d8f1f29
_get_definition -> get_definition in parso.
2017-09-03 00:50:52 +02:00
Dave Halter
4795ed9071
More refactoring.
2017-09-03 00:39:15 +02:00
Dave Halter
6fb2f73f88
Some more refactorings.
2017-09-03 00:37:20 +02:00
Dave Halter
b64690afb8
Param defaults were not correctly followed when goto was used on them.
2017-09-03 00:22:59 +02:00
Dave Halter
e85816cc85
Simplify getting code for completions.
2017-09-03 00:11:23 +02:00
Dave Halter
fc8326bca1
Finally get rid of the last get_definition.
2017-09-03 00:07:14 +02:00