1
0
forked from VimPlug/jedi
Commit Graph

130 Commits

Author SHA1 Message Date
David Halter
3eeecff1a1 fixed some position issues 2013-04-28 22:12:32 +04:30
David Halter
4b36fb2f6f corrected some doctest problems 2013-04-28 21:10:29 +04:30
David Halter
cf49bdc9ab merge of tokenizer/dev branch 2013-04-20 19:23:15 +04:30
Danilo Bargen
f98b0d7b6f New "with ignored(*exceptions)" context manager 2013-04-17 23:28:37 +02:00
David Halter
d82f315ea6 don't use SubModule's in the scope list if it has a parent 2013-04-17 13:39:02 +04:30
David Halter
188ed33c4f fixed parser change problems 2013-04-15 11:50:05 +04:30
David Halter
b08390c136 some parser end positions changed 2013-04-15 10:22:27 +04:30
Takafumi Arakaki
f5fee5f0df Fix wrong imports
- "from _compatibility import ..." (not in circular imports)
- "from jedi import builtin" (one of circular imports)
- "api_classes = api.api_classes"
  ("from jedi import api_classes" is not supported)
2013-03-16 21:03:34 +01:00
David Halter
7b6a4c9a2b some corrections of imports 2013-03-15 16:01:23 +04:30
David Halter
9ad9c806bb rename non-cycling imports to 'from jedi import ..' 2013-03-15 15:02:33 +04:30
Takafumi Arakaki
2b89dda5a6 Use reraise when re-raising MultiLevelStopIteration 2013-03-13 23:28:53 +01:00
Takafumi Arakaki
eca0f01cfb Use @common.rethrow_uncaught and stop manual re-raise 2013-03-13 23:21:49 +01:00
David Halter
d063aa3d66 Merge pull request #141 from tkf/attribute-docstring
Attribute docstring support
2013-03-10 13:23:47 -07:00
Takafumi Arakaki
06de4d66e7 Revert "Add get_names_of_scope option to evaluate.get_names_of_scope"
This reverts commit 154662ea273a17f00186546bdf9d75833553d307.
2013-03-10 20:40:52 +01:00
Takafumi Arakaki
71d5b0ac67 Document return type of get_names_of_scope 2013-03-10 20:40:52 +01:00
Takafumi Arakaki
87714460a2 Add get_names_of_scope option to evaluate.get_names_of_scope
Previously failing test passes now.
2013-03-10 20:40:14 +01:00
Takafumi Arakaki
8d486ff9aa Make doctest Python 3.x compatible 2013-03-04 02:07:47 +01:00
Takafumi Arakaki
0c6f7f66e9 Document get_names_of_scope with examples 2013-03-03 15:49:49 +01:00
Takafumi Arakaki
11707ffbbb Document evaluate.get_defined_names_for_position 2013-03-03 15:29:26 +01:00
Takafumi Arakaki
95a98c9033 Do not use >>> for non-doctest code example
Use literal block instead.
2013-02-26 10:36:08 +01:00
Takafumi Arakaki
aad9c34db6 Include statements to Script.definition if it has docstring 2013-02-24 20:56:09 +01:00
David Halter
6ea64a28bf dev/refactor merge 2013-02-23 20:53:57 +04:30
David Halter
0084b9f04d little cleanup, removed old unused code 2013-02-21 20:57:05 +04:30
David Halter
9fa0b9f924 fix rest of rename tests 2013-02-21 01:45:25 +04:30
David Halter
6b5295bc40 also fixed nested list comprehensions 2013-02-21 01:39:49 +04:30
David Halter
4d3267b24f fix list comprehension problems for non-nested 2013-02-21 01:13:23 +04:30
David Halter
4e102e25e6 fix some of the dynamic bugs 2013-02-17 23:23:57 +04:30
David Halter
c67b9986a6 some minor fixes / inits to inputs refactoring 2013-02-17 22:48:41 +04:30
David Halter
89a2cb15d0 fix problems with positions in definitions with the same name on the same line 2013-02-17 00:14:30 +04:30
Danilo Bargen
ea9a667425 Fixed issue with repr encoding (fixes davidhalter/jedi-vim#94) 2013-02-14 21:10:06 +01:00
David Halter
cda84dc92a add an empty IsScope class to match all scopes 2013-02-14 20:54:26 +04:00
David Halter
52b32a01c1 move default arguments [] to (), because mutable may be dangerous (especially in a recursive environment 2013-02-11 01:21:51 +01:00
David Halter
f423de1956 fix some descriptor methods 2013-02-11 01:08:45 +01:00
David Halter
cae38ed3d7 fix getattr/__getattr*__ 2013-02-11 00:50:32 +01:00
David Halter
da4ad7fd3f fix Name (instead of Param) as param key 2013-02-10 23:57:20 +01:00
David Halter
22a1b2397d simple function tests pass now 2013-02-09 03:55:30 +01:00
David Halter
a1e366f791 different little beauty improvements 2013-02-09 03:16:10 +01:00
David Halter
9540025a02 fixed some more array tests 2013-02-09 02:17:29 +01:00
David Halter
ffaaa68f56 fix unnessecary bracket stuff 2013-02-09 00:00:26 +01:00
David Halter
2fef25b1b1 fixed some dict issues 2013-02-08 21:18:58 +01:00
David Halter
a5e9977e94 fix first tuple assignments 2013-02-08 18:46:56 +01:00
David Halter
c831bfcca1 exchanged assignment_details order (another refactoring) 2013-02-08 18:06:11 +01:00
David Halter
bd393883b6 fixed assignment_detail parsing if tuples were used before = 2013-02-08 17:58:27 +01:00
David Halter
70f07320aa Statement.get_assignment_details -> get_commands (makes more sense) 2013-02-08 16:19:05 +01:00
David Halter
942c620cde make the second test pass 2013-02-08 15:24:49 +01:00
David Halter
6c0a0e889c fix start_pos of multiple elements 2013-02-08 15:14:43 +01:00
David Halter
39f43c52fe little fixes for the dynamic module 2013-02-08 12:53:14 +01:00
David Halter
94126edda8 get rid of generate_param_array 2013-02-08 12:32:19 +01:00
David Halter
bf298f0ef4 start to get rid of parent_stmt 2013-02-07 18:34:18 +01:00
David Halter
d6a5a3e0e7 further removals of unused code, also changes evaluate, now. 2013-02-07 17:39:54 +01:00