Commit Graph

  • 1f4c95918f Add @= ATEQUAL token Claude 2016-02-09 11:14:56 +01:00
  • 17a1a0ebfd Colorama 0.3.6 is buggy, so just don't import it if it's not there. Dave Halter 2016-01-28 14:39:18 -02:00
  • 7fe5280bda Forgot to include all tox dependencies. Dave Halter 2016-01-27 19:01:33 -02:00
  • c09a916ab5 Didn't load grammar for Python 2.6 correctly. Dave Halter 2016-01-27 17:52:42 -02:00
  • a307bc384c Merge pull request #689 from sergeyglazyrindev/master Dave Halter 2016-01-26 22:53:54 -02:00
  • c2874ff84a fix for #122 #689 Sergey Glazyrin 2016-01-26 22:54:15 +01:00
  • 257009d238 Skip pep0484 tests when using Python 2.6. Dave Halter 2016-01-26 15:59:27 -02:00
  • 633e5aa76f The typing library only works in Python >= 2.7. Dave Halter 2016-01-26 15:05:58 -02:00
  • f9a64fd637 Fix some issues in Python 2.7 Dave Halter 2016-01-26 14:59:26 -02:00
  • 3816f28dfa Merge pull request #663 from reinhrst/typing Dave Halter 2016-01-26 11:30:47 -02:00
  • 079e3bbd28 use Ellipsis instead of ..., for python 2.7 compatibility #663 Claude 2016-01-23 23:09:45 +01:00
  • 244c9976e5 cache the parsed jedi_typing module Claude 2016-01-23 23:06:28 +01:00
  • e267f63657 python 2.7 compatibility, typing module tested with docstring, so that it can also be tested in python 2.7 Claude 2016-01-23 22:53:48 +01:00
  • c9bf521efd remove renaming of class based on parameters Claude 2016-01-23 22:10:52 +01:00
  • 442d948e32 I don't need the __len__ for __iter__ to work (eventually), so leaving it out for now Claude 2016-01-17 18:04:59 +01:00
  • 941da773f6 temporary fix for typing.Mapping[...].items(), can be removed after #683 is fixed Claude 2016-01-17 17:05:31 +01:00
  • b316fb94c4 enable tests for the value type in tuple assignment from typing.Mapping[].items() Claude 2016-01-17 17:05:29 +01:00
  • 885f7cb068 fix for iterators -- should start working when py__iter__ gets fixed: https://github.com/davidhalter/jedi/pull/663\#issuecomment-172317854 Claude 2016-01-17 16:45:12 +01:00
  • b499906398 Reverted 10f5e1 --- needed some more work to get it working again Claude 2016-01-17 16:12:43 +01:00
  • ae701b2f9a Support for typing.Tuple[type, ...] Claude 2016-01-17 12:43:23 +01:00
  • a5fc149f9d use jedi.common.unite in flatten array of sets Claude 2016-01-17 10:57:38 +01:00
  • 59161c0b5d fix FakeSequence type Claude 2016-01-17 10:51:06 +01:00
  • 9d7e1ce81b add the typing module for testing Claude 2016-01-01 13:40:14 +01:00
  • 1b787e2a11 add test to check instanciated subclasses Claude 2015-12-31 11:19:59 +01:00
  • 409ee5568a test with different ways of importing the typing module Claude 2015-12-31 11:04:26 +01:00
  • 3852431549 typing.Union and typing.Optional Claude 2015-12-31 01:59:34 +01:00
  • 7b97312509 tuples and mappings in typing Claude 2015-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) Claude 2015-12-30 23:05:01 +01:00
  • 5948c63cf9 Make the classes descriptions look better --- not sure whether this is a good idea Claude 2015-12-30 20:13:33 +01:00
  • 67cbc5ebd1 made code slightly more pytho2 friendly Claude 2015-12-30 20:00:08 +01:00
  • 90c4ca8c04 should obviously keep typing.py parsable in python 2 Claude 2015-12-30 19:34:48 +01:00
  • e688a498ab Add sets and iterable/iterator Claude 2015-12-30 19:32:31 +01:00
  • 85023a22aa Not implemented classes should not default to everything Claude 2015-12-30 19:07:13 +01:00
  • cc6bd7d161 rework so that it also works withouty pep0484 type hints in jedi_typing.py Claude 2015-12-30 18:47:08 +01:00
  • 52cc721f45 made typing classes inheritable; added MutableSequence and List Claude 2015-12-30 16:39:17 +01:00
  • f5a31ad78e first try at the typing library Claude 2015-12-29 00:03:08 +01:00
  • beeffd2dcd Some pgen2 tests were always skipped. Dave Halter 2016-01-07 18:55:10 +01:00
  • 379eb440cd Fix: the parent setting of deep_ast_copy worked the wrong way. Dave Halter 2016-01-07 18:52:06 +01:00
  • 06cb82830a builtin_methods calculation of iterable works now with the mro. Dave Halter 2016-01-07 15:41:20 +01:00
  • 8216ff3b11 Merge branch 'linter' of github.com:davidhalter/jedi into linter Dave Halter 2016-01-07 12:30:45 +01:00
  • 438ba3e14a Ellipsis is still be valid in 2.6/2.7 (for now). Dave Halter 2016-01-07 11:01:00 +01:00
  • cb7ee00c75 Forgot to include precedence tests. Dave Halter 2016-01-07 10:43:31 +01:00
  • 43ad4cfeb8 Ellipsis comparisons are working now. Ellipsis was previously ignored. Dave Halter 2016-01-07 10:41:34 +01:00
  • 5cc27f632d Improve dict comprehension support. Dave Halter 2016-01-02 21:46:14 +01:00
  • 0acc5256ea Implement imitate_items(), which helps if you use {}.items(). Dave Halter 2016-01-01 12:43:07 +01:00
  • e193017163 Merge pull request #669 from reingart/master Dave Halter 2015-12-30 12:34:44 +01:00
  • 2ec196fa2e Update API doc for completions #669 Mariano Reingart 2015-12-30 06:03:51 -03:00
  • 4e93fb344b Dict.values is working now on dict literals. Dave Halter 2015-12-27 23:53:56 +01:00
  • 48f41c5231 Create a way to register builtin methods the iterable module. Dave Halter 2015-12-27 23:02:37 +01:00
  • c0f7e9f820 Fix an issue with predefined_if_name_dict. Dave Halter 2015-12-27 17:30:40 +01:00
  • 03eaf8455f Dict comprehensions are working partially. Dave Halter 2015-12-27 17:20:49 +01:00
  • b3f7d0c29a Get Set comprehensions working. Dave Halter 2015-12-27 15:37:27 +01:00
  • b479e157fc Fix an issue in YieldExpr. Dave Halter 2015-12-26 11:39:37 +01:00
  • ef3a83a74e Add a link in the finder docstring on how to understand name resolution. Dave Halter 2015-12-26 10:41:26 +01:00
  • e34c0b336c Add an acknowledgement section in the README. Thank @tkf, @dbrgn and @gvanrossum for their contributions. Dave Halter 2015-12-26 03:32:50 +01:00
  • cd5701cd41 Clean up licensing a bit. Dave Halter 2015-12-26 03:24:01 +01:00
  • 2a691eefff Including pgen2 tests from the cpython repo. Dave Halter 2015-12-26 03:15:09 +01:00
  • 507ddfa4b0 Add the Python 3.5 syntax file. Dave Halter 2015-12-26 03:10:59 +01:00
  • ab5d0ed72b Starting with Python 3.4 from is not a token that always is a "new" statement. Dave Halter 2015-12-26 02:47:22 +01:00
  • eb2e41f771 Grammar versioning has now a smoother interface. Dave Halter 2015-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 Halter 2015-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 Halter 2015-12-22 17:37:28 +01:00
  • 515d096d33 The alternative test runner script shouldn't run on skipped tests. Dave Halter 2015-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 Halter 2015-12-22 11:25:32 +01:00
  • ac294244cf Remove legacy code from FunctionExecution. Dave Halter 2015-12-22 07:37:09 +01:00
  • 8201fdc5af Merge branch 'pep484' into linter Dave Halter 2015-12-20 23:19:10 +01:00
  • c15551ccc1 Errortokens should also make the parser fail in the normal parser. Dave Halter 2015-12-20 23:11:52 +01:00
  • 5791860861 Actual forward reference annotations are working pretty smooth now. Dave Halter 2015-12-20 22:57:24 +01:00
  • c4906e0e3f Rework the parser so we can use arbitrary start nodes of the syntax. Dave Halter 2015-12-20 22:21:47 +01:00
  • 9a93d599da Fix: __module__ doesn't need to be properly defined. Dave Halter 2015-12-20 02:35:23 +01:00
  • b2a691a69a PEP 484 support also means that we should evaluate comments in the future. Dave Halter 2015-12-19 11:10:05 +01:00
  • a2905ae078 Implement get_parent_until for Comprehension. Dave Halter 2015-12-18 23:18:21 +01:00
  • e73b1a683a Tests for python2 print statement. Dave Halter 2015-12-18 17:57:19 +01:00
  • 23f40d8998 Merge branch 'linter' of https://github.com/reinhrst/jedi into pep484 Dave Halter 2015-12-17 23:46:20 +01:00
  • 160b6fca51 show off some power :) #661 Claude 2015-12-17 15:29:49 +01:00
  • 6bee214948 catch error in certain non-pep0484 annotations Claude 2015-12-17 15:23:40 +01:00
  • 8bf2fe77e2 add some more non-pep0484-junk to the test Claude 2015-12-17 15:06:20 +01:00
  • cc3c538d9d Merge branch 'buildout-unicode-decode-error' of https://github.com/mfussenegger/jedi into linter Dave Halter 2015-12-17 12:50:26 +01:00
  • 54b1b2be74 Fix: flow analysis crashed when using in combination with different modules. Dave Halter 2015-12-17 12:37:26 +01:00
  • 3d79d0994e Fix: is_class() on Instance was not implemented. Dave Halter 2015-12-15 16:44:28 +01:00
  • ab91cfa3b5 Fix: print_stmt was not actually cared for in Python 2.7, #662. Dave Halter 2015-12-15 13:08:37 +01:00
  • 7141158484 Merge master into linter. Dave Halter 2015-12-15 12:28:38 +01:00
  • 1e6397b163 check 'assigned types'-support (comes out of the jedi-box), and add tests for that Claude 2015-12-15 11:56:54 +01:00
  • 35fda3823e test dynamic annotation and dynamic forward reference Claude 2015-12-15 11:53:48 +01:00
  • 1258875300 add test that jedi doesn't break in case of non-pep-0484 comments Claude 2015-12-15 00:37:23 +01:00
  • 3cef8b6d55 string-annotations should only be interpreted by the pep-0484 code, not the parser Claude 2015-12-15 00:31:47 +01:00
  • 626fa60d03 Revert "clean out the last_* fields of sys before importing it." Claude 2015-12-14 22:37:20 +01:00
  • 0f6fb23d91 override annotation() in Lambda, instead of checking in Function on type Claude 2015-12-14 22:02:11 +01:00
  • 6ce076f413 more elaborate tests Claude 2015-12-14 12:10:48 +01:00
  • 576fdf8106 better separation pep0484 code and py__annotation__() function Claude 2015-12-14 12:10:00 +01:00
  • c85426ebac More detailed testing for value-error-too-few-values. Dave Halter 2015-12-14 06:54:02 +01:00
  • be399c81c3 clean out the last_* fields of sys before importing it. Claude 2015-12-14 00:49:09 +01:00
  • 0f08dc6ac6 Addinf myself to AUTHORS Claude 2015-12-14 00:03:07 +01:00
  • 7f8b878c8c if both docstring and annotations are present, use both for function parameters Claude 2015-12-13 23:55:07 +01:00
  • f8debace0d forward reference pep-0484 Claude 2015-12-13 23:47:45 +01:00
  • c61f39cb2b add test for annotations to test_parser_tree Claude 2015-12-13 23:45:37 +01:00
  • 7e8112d607 pep0484 return type support Claude 2015-12-13 23:05:14 +01:00
  • e0947a04eb don't fail on UnicodeDecodeError in buildout script detection #660 Mathias Fussenegger 2015-12-13 21:50:09 +01:00
  • 68cbabe819 pep0484 tests only on python >= 3.2 Claude 2015-12-13 21:43:34 +01:00
  • c02668a443 Build in version-dependency in integration tests Claude 2015-12-13 21:42:45 +01:00