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 |
|
Takafumi Arakaki
|
a4922774c0
|
Fix the previous error
|
2013-05-23 15:32:32 +02:00 |
|
David Halter
|
fbf17e3e5b
|
Merge pull request #228 from tkf/fix-full_name
Fix full_name for import statements
|
2013-05-21 09:11:15 -07:00 |
|
Takafumi Arakaki
|
851238386f
|
Fix tests for defined_names + full_name
|
2013-05-21 14:23:59 +02:00 |
|
Takafumi Arakaki
|
339ebbbf4e
|
Fix TestFullNameWithCompletions.test_from_import
|
2013-05-21 12:30:21 +02:00 |
|
David Halter
|
5567a42334
|
fix another keyword problem
|
2013-05-21 10:59:28 +04:30 |
|
David Halter
|
a9bf06987a
|
completion on empty import problem
|
2013-05-19 21:13:32 +04:30 |
|
David Halter
|
384334ae06
|
goto on import statement (only import) raised an error
|
2013-05-19 20:40:54 +04:30 |
|
David Halter
|
c5169b2d66
|
parsing.Parser.scope -> parsing.Parser._scope, fixes #224
|
2013-05-19 10:25:00 +04:30 |
|
David Halter
|
ec061ea612
|
Merge pull request #222 from tkf/replstartup
Improve $PYTHONSTARTUP support
|
2013-05-18 21:51:26 -07:00 |
|
Takafumi Arakaki
|
6acf34efd3
|
Fix: api.defined_names was run against wrong scope
when there is only one class is defined in the module.
|
2013-05-19 05:08:18 +02:00 |
|
Takafumi Arakaki
|
200d29713e
|
Make defined_names importable at top-level
|
2013-05-19 05:08:17 +02:00 |
|
Takafumi Arakaki
|
4bd03d0c74
|
Document JediRLCompleter
|
2013-05-19 00:52:41 +02:00 |
|
Takafumi Arakaki
|
3b3310ee3e
|
Determine readline delims programmatically
|
2013-05-19 00:42:00 +02:00 |
|
Takafumi Arakaki
|
6a8a06fd0b
|
Improve JediRLCompleter for minor cases
|
2013-05-19 00:42:00 +02:00 |
|