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
e39f8a246e
Merge branch 'dev' of git://github.com/davidhalter/jedi
2013-06-23 22:50:00 +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
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
c5169b2d66
parsing.Parser.scope -> parsing.Parser._scope, fixes #224
2013-05-19 10:25:00 +04:30
David Halter
f4e8972157
end_pos issues, fixes #150
2013-05-07 23:55:58 +04:30
David Halter
7c8fee1257
removed a lot of the goto usages, used goto_assignments instead. Did the same also for a lot of definition uses
2013-05-03 21:26:29 +04:30
David Halter
c37515f938
included test from #162 (seems to be working), fixes #162
2013-05-03 15:01:30 +04:30
David Halter
300d43de19
PEP 3148 module formatting, fixes #207
2013-05-03 14:17:48 +04:30
David Halter
6204cb740b
merge with dev branch
2013-05-03 01:28:50 +04:30
David Halter
aebfb3d162
fix pass indentation in functions
2013-05-02 11:33:14 +04:30
David Halter
4b36fb2f6f
corrected some doctest problems
2013-04-28 21:10:29 +04:30
Danilo Bargen
b3d9b6ce69
Removed py25 related code ( fixes #206 )
2013-04-27 16:47:40 +02:00
Danilo Bargen
86d775324b
Fix most flake8 issues ( fixes #205 )
2013-04-27 15:40:36 +02:00
David Halter
cf49bdc9ab
merge of tokenizer/dev branch
2013-04-20 19:23:15 +04:30
David Halter
d4428c497a
use tokenizer instead of tokenize in all modules
2013-04-20 09:52:54 +04:30
Danilo Bargen
f98b0d7b6f
New "with ignored(*exceptions)" context manager
2013-04-17 23:28:37 +02:00
David Halter
b08390c136
some parser end positions changed
2013-04-15 10:22:27 +04:30
David Halter
5dd05eff1a
a basic approach to the new fast parser
2013-04-10 22:33:49 +04:30
Aldo Stracquadanio
07ec134bc9
Adding python 3.3 to test environment, mani fixes
...
Added python 3.3 to test-suite
Removed unused import
Removed unused import
Migrated to EAFP for attribute checking
Bumped version of ModulePickling for migration to hashlib
Added py33 environment to tox
Fixed issue with package importing on python 3.3
2013-03-27 10:48:56 +00:00
Aldo Stracquadanio
be8ef33b69
Fixed caching issues
...
Fixed exception raised during cache reading
Switched cache hashing to hashlib
In python 3.3 the hash function is returning different hashes during
different executions of the application.
2013-03-27 10:48:13 +00:00
David Halter
df058b93c2
improve get_code of parsing_representation scopes
2013-03-16 23:26:20 +04:30
David Halter
9ad9c806bb
rename non-cycling imports to 'from jedi import ..'
2013-03-15 15:02:33 +04:30
David Halter
b5ad56d116
new part spliting of strings
2013-03-15 02:15:45 +04:30
David Halter
d063aa3d66
Merge pull request #141 from tkf/attribute-docstring
...
Attribute docstring support
2013-03-10 13:23:47 -07:00
Takafumi Arakaki
8e85adb718
Document Scope.get_defined_names
2013-03-03 15:19:34 +01:00
Takafumi Arakaki
d256c5470c
Add a very short tutorial on parsing_representation
2013-03-03 14:55:24 +01:00
Takafumi Arakaki
99ab2dec15
Document pr.SubModule
2013-03-03 14:45:07 +01:00
Takafumi Arakaki
77e8b2aecd
Remove a philosophical (and confusing) statement
2013-03-03 14:18:58 +01:00
Takafumi Arakaki
ac159bac07
Document pr.Simple.__init__
2013-03-03 14:17:16 +01:00
Takafumi Arakaki
dc9a269d35
Use literal block instead of >>> for code example
2013-03-03 14:07:48 +01:00
Takafumi Arakaki
700493cac8
Fix and improve Statement.__doc__
...
- The type of `set_vars` and `used_vars` were wrong.
- ":param ...:" was used instead of ":type ...:".
- The parameter table is aligned to make it easier to read.
2013-03-03 14:07:07 +01:00
Takafumi Arakaki
38fc49022f
Include __init__ call signature in Class.doc
2013-02-25 01:50:31 +01:00
Takafumi Arakaki
4ba9fd2b68
Fix Statement.get_code
...
Parsed Statement.assignment_details must be used. Otherwise,
incorrect code is returned at the first time Statement.get_code
is called.
2013-02-25 01:43:22 +01:00
Takafumi Arakaki
b6839fb264
Define Name.docstr as a proxy for Statement.docstr
2013-02-24 19:39:46 +01:00
Takafumi Arakaki
19b41c1cb4
Make pr.Statement "document-able"
2013-02-24 19:36:39 +01:00
David Halter
4ee4e225a6
don't encode strings in python3, affects davidhalter/jedi-vim#94 and @dbrgn
2013-02-23 21:10:22 +04:30
David Halter
6ea64a28bf
dev/refactor merge
2013-02-23 20:53:57 +04:30
David Halter
adc7a559cf
python3.2 compatibility
2013-02-23 08:58:15 +04:30
David Halter
6ab10b6fa1
pep8
2013-02-23 01:16:02 +04:30
David Halter
4d7aad4ce8
deleted old crap code
2013-02-23 01:13:21 +04:30
David Halter
6912764923
fix position problems which came with lambdas
2013-02-23 00:40:34 +04:30
David Halter
7f051087e5
basic lambda implementation
2013-02-22 23:38:06 +04:30
David Halter
c1e805d7b0
fixed invalid list comprehension tests
2013-02-22 23:06:59 +04:30
David Halter
2fda713118
basic listcomprehension/lambda move
2013-02-22 23:02:44 +04:30