Dave Halter
ee52cc7501
Fix most dynamic array issues.
2017-09-26 17:26:33 +02:00
Dave Halter
c51634b8d4
dict_values should be accessible for CompiledObjects.
2017-09-17 02:48:09 +02:00
Dave Halter
2210b11778
Fix some issues with import completion
...
Fixes #759
2017-09-14 20:09:13 +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
3bceef075a
Merge branch 'numpydoc' of https://github.com/bcolsen/jedi
2017-09-09 18:50:19 +02:00
Dave Halter
882f8029ea
Use split_lines and python_bytes_to_unicode directly.
2017-09-03 18:38:00 +02:00
Dave Halter
7e19e49200
Start replacing get_definitions.
2017-09-02 17:48:01 +02:00
bcolsen
3422b21c62
Added Yields test
2017-08-09 00:37:29 -06:00
bcolsen
77d6de0ae5
fix test skip and py3.6
2017-08-08 23:30:02 -06:00
bcolsen
d19a97f53a
Numpydocs and compiled objects return types
2017-08-08 22:46:33 -06:00
micbou
175e57214e
Fix instance docstring
2017-07-14 00:59:55 +02:00
micbou
f5248250d8
Fix keyword docstring
2017-07-14 00:22:27 +02:00
Dave Halter
e0485b032e
Fix some stuff to make parso work again.
2017-06-02 00:00:31 +02:00
Dave Halter
f94ef63ff2
Remove load_python_grammar for tests as well.
2017-05-25 13:36:40 -04:00
Dave Halter
ef2e2f343e
Fix some warnings.
2017-05-25 12:24:21 -04:00
Dave Halter
cd8932fbfc
Add a latest grammar to the evaluator and use it to avoid importing from parso import parse.
2017-05-24 00:37:36 -04:00
Dave Halter
b90589b62e
Some changes because parso has changed.
2017-05-22 15:42:42 -04:00
Dave Halter
9bca3d39f5
Actually use parso now instead of Jedi.
2017-05-19 14:20:14 -04:00
Dave Halter
9fb7fb66da
Move another test to delete a file.
2017-05-07 16:39:32 +02:00
Dave Halter
d717c3bf40
Merge some import tests.
2017-05-07 16:20:49 +02:00
Dave Halter
6b7376bc5d
Move some stdlib tests.
2017-05-07 16:06:01 +02:00
Dave Halter
eaa5100372
Removed Scope.statements from the parser tree.
2017-04-28 18:18:58 +02:00
Dave Halter
7ca62578e1
Add py__doc__ as a better approach to docstrings.
2017-04-20 09:45:15 +02:00
Dave Halter
b4631d6dd4
Progress in removing the docstring/call signature logic from the parser.
2017-04-18 18:48:05 +02:00
Dave Halter
b0ac07228b
Restructure/Refactor has_absolute_import a bit.
2017-04-12 08:47:30 +02:00
Dave Halter
0117f83809
Forgot to include a test for #844 .
2017-04-04 20:35:32 +02:00
Dave Halter
632072000e
Fix the builtin docstring issue that we've had. Fixes #859 .
2017-04-03 00:27:31 +02:00
Dave Halter
8a35a04439
Remove the module path from the parser tree.
...
Some static analysis tests are still failing.
2017-03-27 18:13:32 +02:00
Dave Halter
63cafeaa87
Remove all usages of start_parsing=True in the fast parser.
2017-03-26 12:49:40 +02:00
Dave Halter
fb4cff8ef9
A small buildout script refactoring.
2017-03-23 14:22:27 -07:00
Dave Halter
0f66a3c7a8
Remove the module attribute from the parser.
2017-03-18 03:53:34 +01:00
Dave Halter
06702d2a40
Move the python parser.
2017-03-16 08:40:19 +01:00
Dave Halter
375749c5c3
Small restructuring.
2017-03-15 08:56:49 +01:00
Dave Halter
97fc3bc23c
Refactored the parser calls. Now it's possible to use jedi.parser.python.parse to quickly parse something.
2017-03-14 00:38:58 +01:00
daniel
5513f72987
added support for implicit ns packages and added tests
2017-02-23 23:53:14 +01:00
Dave Halter
b6e61133d8
Move the tests for the last PR #848 .
2017-02-04 18:11:14 +01:00
Mathias Rav
37d7b85ed1
Add tests for decorator completion
2017-02-04 18:05:15 +01:00
Dave Halter
1edccbe2c3
Improve literal tests.
2017-01-08 19:52:21 +01:00
Dave Halter
7300f3e7ef
Fix issues with Python 3.6's f strings and underscores in numbers.
2017-01-08 19:39:14 +01:00
Dave Halter
ae8e43d3c7
Move get_node() to tree_node and replace all the custom classdefs/funcdefs.
2017-01-05 23:43:12 +01:00
Dave Halter
55ec47f15f
Test module attributes.
2017-01-04 18:32:16 +01:00
Dave Halter
5b9e5f96aa
Merge with master.
2017-01-02 13:05:45 +01:00
Dave Halter
c6248ae169
Some testing fixes that were broken with the few previous commits.
2016-12-06 18:18:53 +01:00
Dave Halter
6940900c58
A lot more fixes - fix all evaluate integration tests.
2016-12-03 22:17:38 +01:00
Dave Halter
ee1f077014
Some test refactorings.
2016-12-03 14:32:00 +01:00
Daniel Hahler
f7f966805f
sys_path: prepend/prefer egg-link files
...
With `pip install -e` the generated .egg-link file gets preferred over
any normally installed distribution, and `pip uninstall` will first
remove the egg-link before the normal package.
2016-10-14 14:18:09 +02:00
Dave Halter
6440e33512
Fix an issue with magic methods on classes. Fixes #461 .
2016-07-31 23:42:16 +02:00
scribu
4fbde0001a
add test for namespaced packages
2016-07-29 08:31:21 +02:00
Dmitry Sadovnychyi
60484707a0
Add support for ZIP and EGG packages in imports
2016-07-25 20:29:02 +08:00
Dave Halter
5280f567f9
The docstring of import completions was wrong.
...
This is fixed now. However, since this might massively decrease performance,
it's not enabled by default. You can enable it with `docstring(fast=False)`
(see test changes), but I wouldn't recommend it at this point.
Fixes #656 .
2016-07-09 01:04:15 +02:00