1
0
forked from VimPlug/jedi
Commit Graph

70 Commits

Author SHA1 Message Date
David Halter
1fb1244b68 remove unlogical operation catching 2013-08-08 12:36:26 +04:30
David Halter
68d02df017 fix a parent problem with generators 2013-08-01 15:49:52 +02:00
David Halter
284f2f1671 add __iter__method to InstanceElement, because it's needed for arrays 2013-07-24 17:21:49 +02:00
David Halter
f4fdf904ee fix lambdas in instances 2013-07-24 16:30:38 +02:00
David Halter
000eb20cce delete old IndexError catches, didn't make sense 2013-07-23 14:39:43 +02:00
David Halter
d78b72b046 fixed getattr with array call 2013-07-23 14:30:18 +02:00
David Halter
bb8e864f8e fix UnboundLocalError and TypeError within Array lookups, not a very good solution, but for now it doesn't puke errors 2013-07-23 02:33:07 +02:00
David Halter
471f492f12 generators in *args and illegal *args like *1 2013-07-23 00:07:17 +02:00
David Halter
dd6967de7c fixed a unicode test problem 2013-07-18 14:54:40 +02:00
David Halter
9348feb8bf operations (+, *, etc) shouldn't be InstanceElements, fixes #246 2013-07-18 12:31:48 +02:00
David Halter
45c8cc739b fixed the dict problem, but dictionary completions are still very bad 2013-07-17 16:14:06 +02:00
David Halter
c0d51e300b fixed problem with empty statements in function calls 2013-07-17 15:05:06 +02:00
Laurens Van Houtven
627266b38d Move isinstance checks back to unary type checks 2013-07-11 20:36:00 +02:00
Laurens Van Houtven
75f848d8a9 PEP8 indentation 2013-07-11 15:22:09 +02:00
Laurens Van Houtven
afcaa89cf0 Use isinstance instead of unary type 2013-07-10 19:00:11 +02:00
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