1
0
forked from VimPlug/jedi
Commit Graph

55 Commits

Author SHA1 Message Date
Laurens Van Houtven
ad932815b9 PEP8 whitespace fixes 2013-07-10 18:55:48 +02:00
Laurens Van Houtven
cdc41128b4 (Mostly) whitespace fixes 2013-07-10 14:45:47 +02:00
David Halter
57c030c160 remove untested legacy code 2013-07-10 10:25:13 +02:00
David Halter
6cb021f4ae add memoize decorator to an Instance method, fixes RecursionError of #239 2013-07-10 10:23:05 +02:00
David Halter
4865505215 getattr is now also allowed on modules, fixes #116 2013-05-03 17:00:07 +04:30
Danilo Bargen
b3d9b6ce69 Removed py25 related code (fixes #206) 2013-04-27 16:47:40 +02:00
Danilo Bargen
f98b0d7b6f New "with ignored(*exceptions)" context manager 2013-04-17 23:28:37 +02:00
David Halter
6c998067e8 Merge pull request #177 from tkf/Generator-object-has-no-attribute-start_pos
Generator object has no attribute start_pos (added a failing test)
2013-03-21 11:06:21 -07:00
Takafumi Arakaki
d1150cfdae List allowed attributes in Generator.__getattr__ 2013-03-17 13:56:54 +01:00
Takafumi Arakaki
6a2e535bcb Add er.Generator.__getattr__ 2013-03-16 21:50:05 +01:00
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
eca0f01cfb Use @common.rethrow_uncaught and stop manual re-raise 2013-03-13 23:21:49 +01:00
Takafumi Arakaki
38fc49022f Include __init__ call signature in Class.doc 2013-02-25 01:50:31 +01:00
Takafumi Arakaki
e1e2ed8fcc Add a test for docstring in call signature 2013-02-24 22:45:10 +01:00
David Halter
6ab10b6fa1 pep8 2013-02-23 01:16:02 +04:30
David Halter
9690cf3eaf removed merged Statement.used_funcs and used_vars (made no sense) 2013-02-21 21:30:57 +04:30
David Halter
774c191d7e removed code part of Statement 2013-02-21 21:26:22 +04:30
David Halter
0084b9f04d little cleanup, removed old unused code 2013-02-21 20:57:05 +04:30
David Halter
f2cdf03e6e fixed dict problems 2013-02-20 22:44:02 +04:30
David Halter
79216f189f moved parsing.Simple.module to _sub_module 2013-02-17 00:30:44 +04:30
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
f2a7788d66 fix InstanceElement get_commands (doesn't raise an error anymore, but I don't know if it works) 2013-02-11 00:21:05 +01:00
David Halter
de5de41627 fix last failing function tests 2013-02-11 00:06:31 +01:00
David Halter
da4ad7fd3f fix Name (instead of Param) as param key 2013-02-10 23:57:20 +01:00
David Halter
01c48593bf er.Array is now also iterable 2013-02-10 21:15:04 +01:00
David Halter
df17c98061 fixed the whole var args iterator stuff 2013-02-10 16:59:51 +01:00
David Halter
a091ee92a4 fix dictionary index problems 2013-02-10 16:12:30 +01:00
David Halter
fb6b3ce342 reintroduce parent and get_parent_until for er.Array, because an array is a builtin. always. 2013-02-10 15:58:02 +01:00
David Halter
7dce3cb964 param keys of dicts are statements now 2013-02-10 15:50:44 +01:00
David Halter
cd49126733 improved param generator 2013-02-10 02:01:27 +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
07f4c08069 some param fixes 2013-02-08 23:16:04 +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
70f07320aa Statement.get_assignment_details -> get_commands (makes more sense) 2013-02-08 16:19:05 +01:00
David Halter
d6257fffc8 make array slicing work again 2013-02-08 15:50:35 +01:00
David Halter
4f060ddcd9 refactor a lot of er.Array 2013-02-08 13:09:08 +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
d82b8d5e19 remove close_brackets - not needed anymore 2013-02-08 02:43:05 +01:00
David Halter
80d4c6e884 many refactoring fixes 2013-02-08 01:36:58 +01:00
David Halter
d6a5a3e0e7 further removals of unused code, also changes evaluate, now. 2013-02-07 17:39:54 +01:00
David Halter
0e41001dd6 er.ArrayElement -> ArrayMethod 2013-02-06 18:37:56 +01:00
David Halter
56d900b7e2 moved recursion parts from helper to recursion.py 2013-02-05 23:41:54 +01:00