David Halter
|
6204cb740b
|
merge with dev branch
|
2013-05-03 01:28:50 +04:30 |
|
David Halter
|
302d06de85
|
fix end_pos stuff in parser (no (None, None) end_pos anymore
|
2013-05-03 01:14:41 +04:30 |
|
David Halter
|
3eeecff1a1
|
fixed some position issues
|
2013-04-28 22:12:32 +04:30 |
|
David Halter
|
26ce32ec6b
|
fix some end_pos problems
|
2013-04-27 22:47:26 +04:30 |
|
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
|
8c56fba1e9
|
fix a problem with statements without parents
|
2013-04-20 14:12: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
|
a99d9541bd
|
on the way to a better fast_parser - improved a lot of the positioning stuff
|
2013-03-24 22:51:17 +04:30 |
|
Takafumi Arakaki
|
f5fee5f0df
|
Fix wrong imports
- "from _compatibility import ..." (not in circular imports)
- "from jedi import builtin" (one of circular imports)
- "api_classes = api.api_classes"
("from jedi import api_classes" is not supported)
|
2013-03-16 21:03:34 +01:00 |
|
David Halter
|
9ad9c806bb
|
rename non-cycling imports to 'from jedi import ..'
|
2013-03-15 15:02:33 +04:30 |
|
David Halter
|
b426835d18
|
parser preparation for the new fast_parser
|
2013-03-15 13:57:23 +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
|
95a98c9033
|
Do not use >>> for non-doctest code example
Use literal block instead.
|
2013-02-26 10:36:08 +01:00 |
|
Takafumi Arakaki
|
e458b35f1c
|
Unconditionally set attribute docstrings
As Statement.assignment_details triggers parsing inside
statement let's don't check assignment_details when setting
attribute docstrings.
|
2013-02-24 19:45:47 +01:00 |
|
Takafumi Arakaki
|
740f27c8b8
|
Add attribute docstrings (PEP 257) support
|
2013-02-24 19:39:22 +01:00 |
|
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
|
2fda713118
|
basic listcomprehension/lambda move
|
2013-02-22 23:02:44 +04:30 |
|
David Halter
|
9690cf3eaf
|
removed merged Statement.used_funcs and used_vars (made no sense)
|
2013-02-21 21:30:57 +04:30 |
|
David Halter
|
774c191d7e
|
removed code part of Statement
|
2013-02-21 21:26:22 +04:30 |
|
David Halter
|
6b5295bc40
|
also fixed nested list comprehensions
|
2013-02-21 01:39:49 +04:30 |
|
David Halter
|
4d3267b24f
|
fix list comprehension problems for non-nested
|
2013-02-21 01:13:23 +04:30 |
|
David Halter
|
c3fe5d04dd
|
line_offset to offset in Parser, which is important for exact positioning
|
2013-02-18 23:17:41 +04:30 |
|
David Halter
|
c67b9986a6
|
some minor fixes / inits to inputs refactoring
|
2013-02-17 22:48:41 +04:30 |
|
David Halter
|
1366f5fa61
|
made ListComprehensions behave more llike typical 'pr' objects
|
2013-02-17 00:23:43 +04:30 |
|
David Halter
|
a14471ad48
|
split also the parser / parser_representation docstring
|
2013-02-05 18:13:44 +01:00 |
|
David Halter
|
42450f48dc
|
change an indentifier (avoid naming collisions)
|
2013-02-05 16:16:58 +01:00 |
|
David Halter
|
d372e86317
|
splitted parsing into parsing and parsing_representation
|
2013-02-05 16:15:21 +01:00 |
|
Danilo Bargen
|
a0f07c90e8
|
Development doc fixes
|
2013-02-05 11:31:05 +01:00 |
|
David Halter
|
3678f235c0
|
new parsing docstring
|
2013-02-05 00:02:29 +01:00 |
|
David Halter
|
057ed6bda2
|
better parsing docstring
|
2013-02-04 17:55:38 +01:00 |
|
David Halter
|
4bf6332a83
|
rename some parser functions (add underlines)
|
2013-02-04 16:55:35 +01:00 |
|
David Halter
|
95c5b9a5e3
|
parsing.PyFuzzyParser -> Parser
|
2013-02-04 16:18:24 +01:00 |
|
David Halter
|
9eec549a39
|
make docstrings ready for sphinx
|
2013-02-04 14:23:50 +01:00 |
|
David Halter
|
3faf50049b
|
fix sphinx warnings/errors
|
2013-02-04 11:09:07 +01:00 |
|
David Halter
|
7b150630f0
|
stopiteration works in strange ways in the parser in py2, fixes #70, affects probably davidhalter/jedi-vim#68
|
2013-01-12 12:15:32 +01:00 |
|
David Halter
|
af92f7f9f2
|
pickling works now (had problems deriving str, see http://stackoverflow.com/questions/14248633/python-pickle-derived-str-object), #102
|
2013-01-11 22:26:30 +01:00 |
|
David Halter
|
9031e425be
|
renamed code -> source
|
2013-01-10 11:41:11 +01:00 |
|
David Halter
|
21ee6f400d
|
improvement for pickling
|
2013-01-10 09:33:15 +01:00 |
|
David Halter
|
7b73072045
|
cleanup / pep8
|
2013-01-09 22:47:21 +01:00 |
|
David Halter
|
e9aadce5ae
|
__slots__ usage works much better now -> scan for all slots and not only for current class
|
2013-01-09 21:44:59 +01:00 |
|
David Halter
|
7aa527f12e
|
use_as_parent again and fast_parent_copy deals now with __slots__
|
2013-01-09 15:23:33 +01:00 |
|
David Halter
|
b85c54932b
|
parsing.set_parent -> use_as_parent
|
2013-01-09 15:21:04 +01:00 |
|
David Halter
|
232aafeb6a
|
improved slot statements
|
2013-01-09 15:18:28 +01:00 |
|
David Halter
|
1557ea792f
|
use __slots__ to reduce memory footprint of parser, #102
|
2013-01-08 14:54:56 +01:00 |
|
David Halter
|
35186629f0
|
delete token generator after parsing, lowers the memory footprint for 10k files with a factor of 5, #102
|
2013-01-08 11:57:10 +01:00 |
|
David Halter
|
3c15471182
|
fix problems with unbounderrors in assignment calls
|
2013-01-07 20:52:40 +01:00 |
|