b499906398
Reverted 10f5e1 --- needed some more work to get it working again
Claude2016-01-17 16:12:43 +01:00
ae701b2f9a
Support for typing.Tuple[type, ...]
Claude2016-01-17 12:43:23 +01:00
a5fc149f9d
use jedi.common.unite in flatten array of sets
Claude2016-01-17 10:57:38 +01:00
59161c0b5d
fix FakeSequence type
Claude2016-01-17 10:51:06 +01:00
9d7e1ce81b
add the typing module for testing
Claude2016-01-01 13:40:14 +01:00
1b787e2a11
add test to check instanciated subclasses
Claude2015-12-31 11:19:59 +01:00
409ee5568a
test with different ways of importing the typing module
Claude2015-12-31 11:04:26 +01:00
3852431549
typing.Union and typing.Optional
Claude2015-12-31 01:59:34 +01:00
7b97312509
tuples and mappings in typing
Claude2015-12-31 01:29:03 +01:00
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)
Claude2015-12-30 23:05:01 +01:00
5948c63cf9
Make the classes descriptions look better --- not sure whether this is a good idea
Claude2015-12-30 20:13:33 +01:00
67cbc5ebd1
made code slightly more pytho2 friendly
Claude2015-12-30 20:00:08 +01:00
90c4ca8c04
should obviously keep typing.py parsable in python 2
Claude2015-12-30 19:34:48 +01:00
e688a498ab
Add sets and iterable/iterator
Claude2015-12-30 19:32:31 +01:00
85023a22aa
Not implemented classes should not default to everything
Claude2015-12-30 19:07:13 +01:00
cc6bd7d161
rework so that it also works withouty pep0484 type hints in jedi_typing.py
Claude2015-12-30 18:47:08 +01:00
52cc721f45
made typing classes inheritable; added MutableSequence and List
Claude2015-12-30 16:39:17 +01:00
f5a31ad78e
first try at the typing library
Claude2015-12-29 00:03:08 +01:00
beeffd2dcd
Some pgen2 tests were always skipped.
Dave Halter2016-01-07 18:55:10 +01:00
379eb440cd
Fix: the parent setting of deep_ast_copy worked the wrong way.
Dave Halter2016-01-07 18:52:06 +01:00
06cb82830a
builtin_methods calculation of iterable works now with the mro.
Dave Halter2016-01-07 15:41:20 +01:00
8216ff3b11
Merge branch 'linter' of github.com:davidhalter/jedi into linter
Dave Halter2016-01-07 12:30:45 +01:00
438ba3e14a
Ellipsis is still be valid in 2.6/2.7 (for now).
Dave Halter2016-01-07 11:01:00 +01:00
cb7ee00c75
Forgot to include precedence tests.
Dave Halter2016-01-07 10:43:31 +01:00
43ad4cfeb8
Ellipsis comparisons are working now. Ellipsis was previously ignored.
Dave Halter2016-01-07 10:41:34 +01:00
5cc27f632d
Improve dict comprehension support.
Dave Halter2016-01-02 21:46:14 +01:00
0acc5256ea
Implement imitate_items(), which helps if you use {}.items().
Dave Halter2016-01-01 12:43:07 +01:00
ef3a83a74e
Add a link in the finder docstring on how to understand name resolution.
Dave Halter2015-12-26 10:41:26 +01:00
e34c0b336c
Add an acknowledgement section in the README. Thank @tkf, @dbrgn and @gvanrossum for their contributions.
Dave Halter2015-12-26 03:32:50 +01:00
ab5d0ed72b
Starting with Python 3.4 from is not a token that always is a "new" statement.
Dave Halter2015-12-26 02:47:22 +01:00
eb2e41f771
Grammar versioning has now a smoother interface.
Dave Halter2015-12-25 19:30:25 +01:00
a373e34229
The parser without error recovery raises an error now if he's not able to parse something.
Dave Halter2015-12-25 18:53:05 +01:00
6bad5a924b
Making it possible for static analysis tests to be skipped if the python version doesn't match.
Dave Halter2015-12-22 17:37:28 +01:00
515d096d33
The alternative test runner script shouldn't run on skipped tests.
Dave Halter2015-12-22 11:45:24 +01:00
936cef97e9
Fix param position lookups. Also forward annotations have the correct resolution path now (starting at the end of the file).
Dave Halter2015-12-22 11:25:32 +01:00
ac294244cf
Remove legacy code from FunctionExecution.
Dave Halter2015-12-22 07:37:09 +01:00