Aldo Stracquadanio
d481a7aae4
Created find_module helper to handle compatibility with python 3.3
...
Moved package checking logic in follow_str function
Created find_module compatibility helper method
Conditional implementation of load_module for python 3.3
2013-03-27 10:47:29 +00: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
95a98c9033
Do not use >>> for non-doctest code example
...
Use literal block instead.
2013-02-26 10:36:08 +01:00
David Halter
926ab81bf2
some import fixes
2013-02-19 00:11:15 +04:30
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
f3635ae75c
imports docstring
2013-02-06 18:20:57 +01:00
David Halter
59de98af67
builtin.Parser -> builtin.BuiltinModule
2013-02-06 15:42:27 +01:00
David Halter
2b64171dd7
evaluate.get_scopes_for_name -> evaluate.find_name
2013-02-05 18:27:01 +01:00
David Halter
650b96dbda
improve docstrings of evaluate
2013-02-05 18:21:38 +01:00
David Halter
e6352ae0a2
move CachedModule and get_sys_path from builtin.py to modules.py
2013-02-05 17:17:10 +01:00
David Halter
bc08ea9630
renamed all occurences of parsing
2013-02-05 16:29:39 +01:00
David Halter
ac2b0016d5
fix import problems with negative kill_counts, fixes #111
2013-01-14 21:25:48 +01:00
David Halter
64465dae8d
fix problem with empty import_paths
2012-12-30 10:32:11 +01:00
David Halter
41362370ed
follow imports if they are in the file path, fixes davidhalter/jedi-vim#56
2012-12-30 10:29:35 +01:00
David Halter
50d6f8e916
fix completions on 'from . import variable'
2012-12-27 16:13:48 +01:00
David Halter
21bd50c608
follow 'from . import variable', fixes parts of davidhalter/jedi-vim#56
2012-12-27 15:30:43 +01:00
David Halter
31b335dc08
fix for tar_import stuff, that was caused by http://bugs.python.org/issue16791 , may affect davidhalter/jedi-vim#56
2012-12-27 13:32:39 +01:00
David Halter
0d6d84402d
move star_import_cache to cache.py
2012-12-22 01:39:22 +01:00
David Halter
c1d442fa17
added a line_offset attribute - enables fast_parser to change positions
2012-12-16 17:23:15 +01:00
David Halter
9b45ddcb7c
removed faked_scopes, was only necessary because of weakrefs.
2012-12-12 21:31:41 +01:00
David Halter
e8ddc35a1b
caches have their own module now.
2012-12-12 21:28:19 +01:00
David Halter
9dfa98c474
refactoring of a few tests
2012-12-09 21:38:39 +01:00
David Halter
48a45ee55b
import statement doc works now -> fixes davidhalter/jedi-vim#44
2012-12-09 19:02:37 +01:00
David Halter
d7727bdccd
fix python3.2 problems
2012-12-09 16:49:26 +01:00
David Halter
6bdda36205
removed all the weakref stuff again. It didn't speed up anything, but made things much more complicated
2012-12-09 16:33:24 +01:00
David Halter
1e259c1c6e
none positions shouldn't be an option, (0, 0) is the 'invalid' or 'generated' position for objects that are always found
2012-11-24 17:42:52 +01:00
David Halter
e921ec11e3
fixed a recursion problem, that occured with invalidate_star_imports
2012-11-24 15:43:05 +01:00
David Halter
936f7f9fd5
private variables are not accessible anymore, but still completeable - fixes and tests for #56
2012-11-22 23:50:26 +01:00
David Halter
816d01b543
finally fixed the most prominent bug, that is being featured on the front page of github-jedi -> class methods shouldn't return their params as a completion
2012-11-22 13:01:00 +01:00
David Halter
c706bae55b
fixed star import invalidation exception
2012-11-21 16:58:22 +01:00
David Halter
586dcc273c
developed star import caching. useful for numpy/pylab/scipy... fixes jedi-vim issue 23
2012-11-21 16:47:31 +01:00
David Halter
890748ac9f
star caching preparations
2012-11-21 13:45:38 +01:00
David Halter
1d3ee0237e
remove RessourceWarning from Python3 tests
2012-11-20 15:56:15 +01:00
David Halter
95eab8e0d4
remove module_find_path, fixes #36
2012-11-18 01:17:12 +01:00
David Halter
6a98aaf65d
star imports of object imports were ignored, fixes #59
2012-11-13 11:22:35 +01:00
David Halter
20ef1ffd18
restructured api_classes, use the same base class
2012-11-07 23:29:40 +01:00
David Halter
47608b1f4d
added debug var imports_processed
2012-10-23 14:06:50 +02:00
David Halter
197c2f642b
fixed some evil bugs in the import mechanism and even worse: In helpers.fast_parent_copy.
2012-10-22 17:22:44 +02:00
David Halter
bb76792ea8
make source_path in script optional, fixes #32
2012-10-20 13:57:04 +02:00
David Halter
3a6d9ba955
fixed bug in recursion detection (not really a fix, I don't understand why this happens only in python3)
2012-10-14 02:19:58 +02:00
David Halter
8059b075c6
handled import statement recursions
2012-10-10 22:55:07 +02:00
David Halter
eda2430ad7
__class__ -> type
2012-10-01 08:50:12 +02:00
David Halter
0bdcc968e3
removed statement_path/goto_names
2012-09-22 00:29:03 +02:00
David Halter
c464925647
removal of old unused goto stuff
2012-09-22 00:26:30 +02:00
David Halter
fd760f1870
renaming and goto work now +/-
2012-09-22 00:15:32 +02:00
David Halter
32b51e0c68
import goto tests work almost again
2012-09-21 23:26:39 +02:00
Danilo Bargen
21826e7a34
Moved jedi files to separate package folder
2012-09-17 22:38:38 +02:00