1
0
forked from VimPlug/jedi
Commit Graph

289 Commits

Author SHA1 Message Date
Takafumi Arakaki
7cbb541b78 Use warnings.warn instead of raise 2012-12-27 18:32:03 +01:00
David Halter
5e03147f43 tried to link the DeprecationWarning in Sphinx 2012-12-27 18:16:37 +01:00
David Halter
f8efc7c950 changed warnings to sphinx doc style 2012-12-27 18:15:11 +01:00
David Halter
22fcfe5e19 deprecated BaseDefinition.line_nr in favor of 'line'. thx @dbrgn for the hint. 2012-12-27 18:12:18 +01:00
Yakov Borevich
5036960bf1 Merge branch 'dev' of github.com:davidhalter/jedi into docrtypes 2012-12-27 19:31:36 +04:00
Yakov Borevich
502c643c73 Return types for docstrings 2012-12-27 19:30:40 +04:00
David Halter
4c2c86ae72 ignore completion in import aliases 2012-12-27 16:22:25 +01:00
David Halter
50d6f8e916 fix completions on 'from . import variable' 2012-12-27 16:13:48 +01:00
David Halter
21bd50c608 follow 'from . import variable', fixes parts of davidhalter/jedi-vim#56 2012-12-27 15:30:43 +01:00
David Halter
31b335dc08 fix for tar_import stuff, that was caused by http://bugs.python.org/issue16791, may affect davidhalter/jedi-vim#56 2012-12-27 13:32:39 +01:00
Yakov Borevich
46a3ecc7d8 Support for Epydoc format in docstrings 2012-12-27 14:59:42 +04:00
David Halter
d1f23444b1 add property tests for renaming and removed some limitations of renaming, fixes davidhalter/jedi-vim#57 2012-12-27 00:03:02 +01:00
David Halter
4ff3a0ba26 variable set in the wrong place 2012-12-26 23:10:03 +01:00
David Halter
95a435f946 use get_in_function_call_cache again, because parsing the code is sometimes to slow 2012-12-26 23:05:31 +01:00
David Halter
45c9fe16b8 many tests and fixes for instance element renamings 2012-12-26 22:56:56 +01:00
David Halter
2534269cce many new renaming tests (and bug fixes) 2012-12-26 21:34:21 +01:00
David Halter
3bf0ec70fc improved goto on assignees (just return the assignee). 2012-12-26 20:53:15 +01:00
David Halter
e020c6b792 api.Script.parser -> api.Script._parser (and the same with module). important for #86, sphinx docs 2012-12-26 18:42:54 +01:00
David Halter
b7888c3d7c Merge pull request #86 from dbrgn/docs
Sphinx Docs
2012-12-26 08:35:38 -08:00
Danilo Bargen
5170919458 Extended documentation of BaseDefinition properties. 2012-12-26 16:41:47 +01:00
Danilo Bargen
495ff87081 Added examples to API docs 2012-12-26 16:31:49 +01:00
Danilo Bargen
9f3bf0114e Improved API documentation 2012-12-26 14:25:59 +01:00
Danilo Bargen
e0d07aff79 Started creating full documentation 2012-12-26 01:34:36 +01:00
David Halter
bd93f8fd2d move some parser details to protected class members 2012-12-24 12:53:38 +01:00
David Halter
40898450af support for super() 2012-12-24 12:27:43 +01:00
David Halter
e647e09f0c fix problems with unnecessary brackets and following executions, which fixes also the last remaining lambda problem 2012-12-24 10:47:11 +01:00
David Halter
f05b960386 lambdas: fix problems with reverse tokenizer 2012-12-24 01:26:35 +01:00
David Halter
716d2362fd fixed mostly wrong lambda tests (and a few lambda improvements as well) 2012-12-23 15:52:49 +01:00
David Halter
c7fd196850 get_code is now able to process returns again 2012-12-22 20:28:34 +01:00
David Halter
e701a4ef92 lambdas: add correct parents and change evaluate 2012-12-22 19:43:30 +01:00
David Halter
77b2ea2dce basic lambda parsing 2012-12-22 19:27:44 +01:00
David Halter
ef1f637e71 Lambda class 2012-12-22 19:08:37 +01:00
David Halter
da6186618e changed re.SREPattern mixins (forgot the params everywhere) 2012-12-22 18:33:16 +01:00
David Halter
60c65596d4 changed re.SREMatch.group 2012-12-22 18:29:01 +01:00
David Halter
5fa88af041 forgot an import... it's late, I should go to sleep... 2012-12-22 01:48:36 +01:00
David Halter
a2e05c215a forgot to move two function calls in the last commit 2012-12-22 01:43:29 +01:00
David Halter
0d6d84402d move star_import_cache to cache.py 2012-12-22 01:39:22 +01:00
David Halter
ed8845c343 delete caches also at the beginning of an interaction 2012-12-22 01:37:31 +01:00
David Halter
2610c180c0 check for expired time caches in every interaction 2012-12-22 01:36:03 +01:00
David Halter
0617909e84 add get_in_function_call caching (3s for now) 2012-12-22 01:28:24 +01:00
David Halter
f4b585a5e7 added an option to disable get_in_function_call caching 2012-12-21 18:00:21 +01:00
David Halter
99f1c805ef reversed builtin for pypy (is not a class), fixes #85 2012-12-19 23:47:54 +01:00
David Halter
ce0aadc9a5 fix problems with certain builtins (names were just stupid, like '_sqlite3.cpython-32mu' / python 2.5 may have an error more #84 2012-12-19 23:12:15 +01:00
David Halter
2ee09980eb improve sqlite3 support -> added mixins -> fixes #84 2012-12-19 22:26:53 +01:00
David Halter
acc8a4bc66 improve docstring hinting, also matters for sqlite3 2012-12-19 22:26:12 +01:00
David Halter
dfc82742ec fix for missing unicode in py3k 2012-12-19 21:30:27 +01:00
David Halter
e789e41fde remove old return statements 2012-12-19 21:27:59 +01:00
David Halter
ca21f76128 no confusions in executions for dict assignments, fixes #83 2012-12-19 21:23:50 +01:00
David Halter
5e2e0a8f45 added source_to_unicode method to deal with different encodings, davidhalter/jedi-vim#48 2012-12-19 20:45:49 +01:00
David Halter
15510a4c3b more unicode casts instead of str casts 2012-12-19 18:46:32 +01:00