1
0
forked from VimPlug/jedi
Commit Graph

85 Commits

Author SHA1 Message Date
David Halter 5ad12bc8aa fix mro usage and all the type stuff (see also my blog post about why dir is wrong). fixes #314, fixes #86 2013-09-13 22:47:00 +04:30
David Halter 13f0c2b91f all the import changes 2013-09-06 01:19:19 +04:30
David Halter 33711ba966 fix problems with literals, finally 2013-09-06 00:40:08 +04:30
David Halter 1b5f4f5e0b literal classes mostly working 2013-09-05 23:45:56 +04:30
David Halter 9e54abaf22 StatementElement instead of Call and Call now inherits from that 2013-09-05 21:50:05 +04:30
David Halter d483143d47 fix a very annoying caching problem 2013-09-03 22:41:56 +04:30
David Halter 4c6a58644e removed used_vars and set_vars parameters, because they are unused 2013-09-03 01:17:35 +04:30
David Halter a355c8c54c remove more used_vars 2013-09-02 23:36:26 +04:30
David Halter 959519560d init decorators should not execute __init__ in case of self variable lookups, fixes #247 2013-08-10 22:55:58 +04:30
David Halter ff4f396957 more documentation on Instance 2013-08-10 22:18:21 +04:30
David Halter ee1df18694 instance readability improvements 2013-08-10 22:11:31 +04:30
David Halter 085bddd6a1 change Execution usage to always use the decorator function 2013-08-10 21:40:36 +04:30
David Halter 22b11e0706 ignore decorators if cannot be found (also get rid of DecoratorNotFound exception), fixes #272 2013-08-09 13:01:21 +04:30
David Halter 7548ec7280 fix problems with class method decorators 2013-08-09 11:32:44 +04:30
David Halter 5cf39565ee fix decorator problems in class methods (at least partially, there are problems with @staticmethod and @classmethod) 2013-08-09 02:11:12 +04:30
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