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
Takafumi Arakaki
0c85642e6b
Add utils.JediRLCompleter
2013-05-19 00:41:58 +02:00
Takafumi Arakaki
27f8b342e1
Document utils.setup_readline
2013-05-19 00:41:48 +02:00
Takafumi Arakaki
5f2477d5bf
Merge branch 'interpreter-api' into dev
...
Conflicts:
jedi/__init__.py
test/test_regression.py
See: #145
2013-05-18 22:28:56 +02:00
David Halter
15885e8685
preload_module function for IDEs, to control which modules to load on startup, refs #102
2013-05-13 09:13:59 +04:30
Takafumi Arakaki
3d6ef88795
Add simple PYTHONSTARTUP file
2013-05-12 08:21:55 +02:00
Takafumi Arakaki
52b3a326c4
Revert changes in jedi/modules.py in this branch
2013-05-11 22:01:48 +02:00
Takafumi Arakaki
19b3fef0c5
Remove fast option from api.Script
2013-05-11 21:59:39 +02:00
Takafumi Arakaki
a870fece0f
Use fast parser in api.Interpreter
2013-05-11 21:47:55 +02:00
Takafumi Arakaki
2846fe980b
Remove api._quick_complete
2013-05-11 21:40:00 +02:00
Takafumi Arakaki
08f8dcfae4
Do not repeat defaults in Interpreter.__init__
2013-05-11 21:37:53 +02:00
Takafumi Arakaki
6af2a0677d
Compute default line/column/source_path in api.Script
2013-05-11 21:36:43 +02:00
Takafumi Arakaki
633f582184
Add jedi.interpret.ObjectImporter
...
and move scope manipulation functions in api.Interpreter to there.
2013-05-11 21:33:57 +02:00
David Halter
3a7c8af87f
also normal imports should return the right user_stmt, similar case than #137
2013-05-09 12:16:54 +04:30
David Halter
f3a4439285
import end_pos calculated differently, fixes #137
2013-05-09 11:54:08 +04:30
David Halter
f4e8972157
end_pos issues, fixes #150
2013-05-07 23:55:58 +04:30
David Halter
0621a276b9
modules in modules (only possible with c_builtins) are now completable. however it's kind of hackish, I'm using a class instead of a real module, because this is the easiest way for jedi, fixes #126
2013-05-07 22:57:23 +04:30
David Halter
6cb0b1ed16
bump version to 0.6
2013-05-07 21:03:04 +04:30
Takafumi Arakaki
89edb73978
Fix failure due to rebase
2013-05-04 17:58:02 +02:00
Takafumi Arakaki
3d0458bca9
Export Interpreter class to top-level namespace
2013-05-04 17:50:42 +02:00
Takafumi Arakaki
e8914e7856
Document api.Interpreter
2013-05-04 17:45:34 +02:00
Takafumi Arakaki
8fc396371c
Respect settings.fast_parser
2013-05-04 17:44:59 +02:00
Takafumi Arakaki
c2e9ccda2b
Fix failing test: args for ModuleWithCursor
2013-05-04 17:44:59 +02:00
Takafumi Arakaki
dc47d15de0
Use locals() for tests in TestInterpreterAPI
...
It is better to check that Interpreter does not fail with the
real name space. Previously the doctest using locals() failed
because of the bug in _import_raw_namespace.
2013-05-04 17:44:59 +02:00
Takafumi Arakaki
a93016db1b
Python 2.5 compatibility fix
2013-05-04 17:44:59 +02:00
Takafumi Arakaki
af10891096
Document api.Interpreter._genname
2013-05-04 17:44:59 +02:00
Takafumi Arakaki
fc79f0e258
Support case like from os.path import join as pjoin
2013-05-04 17:44:59 +02:00
Takafumi Arakaki
6fb42e5f4b
Document _import_raw_namespace more
2013-05-04 17:44:59 +02:00
Takafumi Arakaki
12ac71b1fd
Document api.Interpreter
2013-05-04 17:44:59 +02:00
Takafumi Arakaki
45cad4c83b
Fake imports should locate before fake statements
2013-05-04 17:44:59 +02:00
Takafumi Arakaki
06c03cafa2
Implement the case where raw object is an instance
...
There is still a bug in this implementation.
The corresponding test fails.
2013-05-04 17:44:58 +02:00