1
0
forked from VimPlug/jedi
Commit Graph

797 Commits

Author SHA1 Message Date
David Halter 9348feb8bf operations (+, *, etc) shouldn't be InstanceElements, fixes #246 2013-07-18 12:31:48 +02:00
David Halter 075c60de29 fix a problem related to #246: comments were used as normal strings 2013-07-18 12:18:07 +02:00
David Halter b6e9f16a01 fix a completion problem on docstrings 2013-07-17 16:48:50 +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 73662fe893 More PEP8 indentation fixes 2013-07-11 15:26:07 +02:00
Laurens Van Houtven 8c314c2732 while 1 -> while True 2013-07-11 15:25:05 +02:00
Laurens Van Houtven 5b2028c9fc PEP8 indentation 2013-07-11 15:24:15 +02:00
Laurens Van Houtven 75f848d8a9 PEP8 indentation 2013-07-11 15:22:09 +02:00
Laurens Van Houtven 6157be1a19 PEP8 indentation of multiline expressions 2013-07-11 15:21:10 +02:00
Laurens Van Houtven 1391a5a914 PEP8 newlines between class members 2013-07-11 15:19:54 +02:00
Laurens Van Houtven 4763846b1b PEP8 indentation 2013-07-11 15:19:31 +02:00
Laurens Van Houtven f353d5f6af PEP8 imports 2013-07-11 15:18:30 +02:00
Laurens Van Houtven bb0a4e0d0a Fix indentation according to PEP8 in api.py 2013-07-11 14:55:36 +02:00
Laurens Van Houtven 3817110717 Remove unneccessary pass statement 2013-07-11 14:55:16 +02:00
Laurens Van Houtven afcaa89cf0 Use isinstance instead of unary type 2013-07-10 19:00:11 +02:00
Laurens Van Houtven 18c105b055 Remove stale debug code 2013-07-10 18:57:05 +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
Laurens Van Houtven 96477cbb13 Inline absolute import detection function 2013-07-10 12:24:19 +02:00
Laurens Van Houtven 402bc092e3 Remove has_explicit_absolute_import caching 2013-07-10 12:18:41 +02:00
Laurens Van Houtven 4068f5f058 Move has_absolute_import to SubModule class 2013-07-10 12:17:48 +02:00
Laurens Van Houtven b5ee375fe1 Rename explicit_absolute_import to has_explicit_absolute_import 2013-07-10 12:12:33 +02:00
Laurens Van Houtven 1682f24703 Merge branch 'dev' of git://github.com/davidhalter/jedi 2013-07-10 12:06:35 +02:00
David Halter 57c030c160 remove untested legacy code 2013-07-10 10:25:13 +02:00
David Halter 2ce0dfbeb7 Merge branch 'dev' of github.com:davidhalter/jedi into dev 2013-07-10 10:24:22 +02:00
David Halter 6cb021f4ae add memoize decorator to an Instance method, fixes RecursionError of #239 2013-07-10 10:23:05 +02:00
Laurens Van Houtven e39f8a246e Merge branch 'dev' of git://github.com/davidhalter/jedi 2013-06-23 22:50:00 +02:00
Laurens Van Houtven 60ee6c607a Don't throw away path optimization for modules with explicit absolute import 2013-06-23 22:43:21 +02:00
Laurens Van Houtven 368c7fd5b5 Only deal with explicit absolute_import 2013-06-23 22:30:53 +02:00
Laurens Van Houtven 58b165e4b6 Don't assume either namespace is not-None 2013-06-23 22:02:37 +02:00
Laurens Van Houtven 7eff1bbf06 Don't mess with the path if the import is absolute 2013-06-23 22:00:23 +02:00
Laurens Van Houtven e82e3eaa0d Don't assume every module has a namespace 2013-06-23 21:59:58 +02:00
Laurens Van Houtven cb4acccfe5 More PEP8, minor cleanup 2013-06-22 09:54:18 +02:00
Laurens Van Houtven 5701ac1a10 Add absolute import detection 2013-06-21 17:02:17 +02:00
David Halter 248931d9f3 Merge pull request #250 from lvh/master
Cleanup in _compatibility
2013-06-20 14:37:48 -07:00
Laurens Van Houtven fd87e8af2a Refactor the way module_path, module_file and is_package are computed to be a bit more legible 2013-06-20 22:36:16 +02:00
Laurens Van Houtven 1b0822743c Clean up find_module_py33 loader finding 2013-06-20 22:05:08 +02:00
Laurens Van Houtven f171617766 Raise a nicer exception instance instead of raising an exception class 2013-06-20 21:40:37 +02:00
Laurens Van Houtven 44b1390d80 Clean up find_module_pre_py33 2013-06-20 21:35:56 +02:00
Laurens Van Houtven 68f9cdd884 Pick find_module implementation statically 2013-06-20 21:08:33 +02:00
Laurens Van Houtven e201f89a77 Remove double reduce import 2013-06-20 21:08:33 +02:00
Takafumi Arakaki 5de63873df Fix and improve settings.cache_directory document
fixes #244
2013-06-19 15:38:24 +02:00
Takafumi Arakaki 1f3c4700c9 Fix get_path_until_cursor for empty path + continuation 2013-05-24 22:48:40 +02:00
Takafumi Arakaki 05564c23d5 Fix the error 2013-05-24 21:06:48 +02:00
David Halter b0116b0d7c Merge pull request #232 from tkf/unicode-has-no-generate_call_path
Fix: 'unicode' object has no attribute 'generate_call_path'
2013-05-23 22:33:02 -07:00
David Halter 4e3fe88141 Merge pull request #234 from tkf/None.isinstance
Fix: 'NoneType' object has no attribute 'isinstance'
2013-05-23 21:15:19 -07:00
Takafumi Arakaki b896f352ad Support "a = b = 1"-style assignment 2013-05-23 23:41:26 +02:00
Takafumi Arakaki 636b10ab8e Fix: 'NoneType' object has no attribute 'isinstance' 2013-05-23 22:41:36 +02:00