Claude
|
bc0486f723
|
python 3.5 uses atom_expr node in many places where previous python would use power node
|
2016-02-09 11:21:26 +01:00 |
|
Claude
|
1f4c95918f
|
Add @= ATEQUAL token
|
2016-02-09 11:14:56 +01:00 |
|
Dave Halter
|
17a1a0ebfd
|
Colorama 0.3.6 is buggy, so just don't import it if it's not there.
|
2016-01-28 14:39:18 -02:00 |
|
Dave Halter
|
c09a916ab5
|
Didn't load grammar for Python 2.6 correctly.
|
2016-01-27 17:52:42 -02:00 |
|
Claude
|
079e3bbd28
|
use Ellipsis instead of ..., for python 2.7 compatibility
|
2016-01-23 23:09:45 +01:00 |
|
Claude
|
244c9976e5
|
cache the parsed jedi_typing module
|
2016-01-23 23:06:28 +01:00 |
|
Claude
|
e267f63657
|
python 2.7 compatibility, typing module tested with docstring, so that it can also be tested in python 2.7
|
2016-01-23 22:53:48 +01:00 |
|
Claude
|
c9bf521efd
|
remove renaming of class based on parameters
|
2016-01-23 22:10:52 +01:00 |
|
Claude
|
442d948e32
|
I don't need the __len__ for __iter__ to work (eventually), so leaving it out for now
|
2016-01-17 18:04:59 +01:00 |
|
Claude
|
941da773f6
|
temporary fix for typing.Mapping[...].items(), can be removed after #683 is fixed
|
2016-01-17 17:05:31 +01:00 |
|
Claude
|
885f7cb068
|
fix for iterators -- should start working when py__iter__ gets fixed: https://github.com/davidhalter/jedi/pull/663\#issuecomment-172317854
|
2016-01-17 16:53:09 +01:00 |
|
Claude
|
b499906398
|
Reverted 10f5e1 --- needed some more work to get it working again
|
2016-01-17 16:12:43 +01:00 |
|
Claude
|
ae701b2f9a
|
Support for typing.Tuple[type, ...]
|
2016-01-17 12:43:23 +01:00 |
|
Claude
|
a5fc149f9d
|
use jedi.common.unite in flatten array of sets
|
2016-01-17 10:57:38 +01:00 |
|
Claude
|
59161c0b5d
|
fix FakeSequence type
|
2016-01-17 10:51:06 +01:00 |
|
Claude
|
3852431549
|
typing.Union and typing.Optional
|
2016-01-17 10:41:41 +01:00 |
|
Claude
|
7b97312509
|
tuples and mappings in typing
|
2016-01-17 10:41:40 +01:00 |
|
Claude
|
10f5e15325
|
I feel this is a nicer solution. Forward Reference busting should be part of the annotation resolving. It doesn not have anything to do with the typing module (and should indeed also happen if someone writes his own types outside of the typing module)
|
2016-01-17 10:41:40 +01:00 |
|
Claude
|
5948c63cf9
|
Make the classes descriptions look better --- not sure whether this is a good idea
|
2016-01-17 10:41:40 +01:00 |
|
Claude
|
67cbc5ebd1
|
made code slightly more pytho2 friendly
|
2016-01-17 10:41:40 +01:00 |
|
Claude
|
90c4ca8c04
|
should obviously keep typing.py parsable in python 2
|
2016-01-17 10:41:40 +01:00 |
|
Claude
|
e688a498ab
|
Add sets and iterable/iterator
|
2016-01-17 10:41:40 +01:00 |
|
Claude
|
85023a22aa
|
Not implemented classes should not default to everything
|
2016-01-17 10:41:40 +01:00 |
|
Claude
|
cc6bd7d161
|
rework so that it also works withouty pep0484 type hints in jedi_typing.py
|
2016-01-17 10:41:40 +01:00 |
|
Claude
|
52cc721f45
|
made typing classes inheritable; added MutableSequence and List
|
2016-01-17 10:41:40 +01:00 |
|
Claude
|
f5a31ad78e
|
first try at the typing library
|
2016-01-17 10:41:40 +01:00 |
|
Dave Halter
|
379eb440cd
|
Fix: the parent setting of deep_ast_copy worked the wrong way.
|
2016-01-07 18:52:06 +01:00 |
|
Dave Halter
|
06cb82830a
|
builtin_methods calculation of iterable works now with the mro.
|
2016-01-07 15:41:20 +01:00 |
|
Dave Halter
|
8216ff3b11
|
Merge branch 'linter' of github.com:davidhalter/jedi into linter
|
2016-01-07 12:30:45 +01:00 |
|
Dave Halter
|
438ba3e14a
|
Ellipsis is still be valid in 2.6/2.7 (for now).
|
2016-01-07 11:01:00 +01:00 |
|
Dave Halter
|
43ad4cfeb8
|
Ellipsis comparisons are working now. Ellipsis was previously ignored.
|
2016-01-07 10:41:34 +01:00 |
|
Dave Halter
|
5cc27f632d
|
Improve dict comprehension support.
|
2016-01-02 21:46:14 +01:00 |
|
Dave Halter
|
0acc5256ea
|
Implement imitate_items(), which helps if you use {}.items().
|
2016-01-01 12:43:07 +01:00 |
|
Dave Halter
|
4e93fb344b
|
Dict.values is working now on dict literals.
|
2015-12-27 23:53:56 +01:00 |
|
Dave Halter
|
48f41c5231
|
Create a way to register builtin methods the iterable module.
With this it's possible to e.g. register a function Array.dict_values as 'dict.values' with all the proper name resolution stuff.
|
2015-12-27 23:02:37 +01:00 |
|
Dave Halter
|
c0f7e9f820
|
Fix an issue with predefined_if_name_dict.
|
2015-12-27 17:30:40 +01:00 |
|
Dave Halter
|
03eaf8455f
|
Dict comprehensions are working partially.
|
2015-12-27 17:20:49 +01:00 |
|
Dave Halter
|
b3f7d0c29a
|
Get Set comprehensions working.
|
2015-12-27 15:37:27 +01:00 |
|
Dave Halter
|
b479e157fc
|
Fix an issue in YieldExpr.
|
2015-12-26 11:39:37 +01:00 |
|
Dave Halter
|
ef3a83a74e
|
Add a link in the finder docstring on how to understand name resolution.
|
2015-12-26 10:41:26 +01:00 |
|
Dave Halter
|
2a691eefff
|
Including pgen2 tests from the cpython repo.
|
2015-12-26 03:15:09 +01:00 |
|
Dave Halter
|
507ddfa4b0
|
Add the Python 3.5 syntax file.
|
2015-12-26 03:10:59 +01:00 |
|
Dave Halter
|
ab5d0ed72b
|
Starting with Python 3.4 from is not a token that always is a "new" statement.
|
2015-12-26 02:47:22 +01:00 |
|
Dave Halter
|
eb2e41f771
|
Grammar versioning has now a smoother interface.
|
2015-12-25 19:30:25 +01:00 |
|
Dave Halter
|
a373e34229
|
The parser without error recovery raises an error now if he's not able to parse something.
|
2015-12-25 18:53:05 +01:00 |
|
Dave Halter
|
936cef97e9
|
Fix param position lookups. Also forward annotations have the correct resolution path now (starting at the end of the file).
|
2015-12-22 11:25:32 +01:00 |
|
Dave Halter
|
ac294244cf
|
Remove legacy code from FunctionExecution.
|
2015-12-22 07:37:09 +01:00 |
|
Dave Halter
|
8201fdc5af
|
Merge branch 'pep484' into linter
|
2015-12-20 23:19:10 +01:00 |
|
Dave Halter
|
c15551ccc1
|
Errortokens should also make the parser fail in the normal parser.
|
2015-12-20 23:11:52 +01:00 |
|
Dave Halter
|
5791860861
|
Actual forward reference annotations are working pretty smooth now.
|
2015-12-20 22:57:41 +01:00 |
|