1
0
forked from VimPlug/jedi

Commit Graph

  • ab4e415aec Actually make nested stubs usable Dave Halter 2018-09-01 12:36:05 +02:00
  • 369dca79ef For now arrays just return tan integer if the index is something random Dave Halter 2018-09-01 12:35:30 +02:00
  • 8dc2aee4b4 Fix py__mro__ for typing classes Dave Halter 2018-08-31 09:50:04 +02:00
  • 78ac2c1f1f Fix another stub test Dave Halter 2018-08-31 01:32:26 +02:00
  • 2dfe2de0fe Fix some stub tests Dave Halter 2018-08-31 01:26:20 +02:00
  • aef4aa6859 Fix the slice object Dave Halter 2018-08-31 01:09:21 +02:00
  • 2ec503d6eb Change some TypeVar base classes Dave Halter 2018-08-30 10:15:43 +02:00
  • f5f9fc1955 Refactor TypeVar a bit so it's more resistant Dave Halter 2018-08-30 09:58:18 +02:00
  • 10383de959 Remove todo about overload, it was already done Dave Halter 2018-08-30 01:57:44 +02:00
  • c0c6ce2987 Fix ClassVars and add tests Dave Halter 2018-08-30 01:52:05 +02:00
  • 7fc311bb3e Add tests for classes that have generics not defined Dave Halter 2018-08-30 01:46:48 +02:00
  • 5979b93a7a Tests for Type[] Dave Halter 2018-08-30 01:38:14 +02:00
  • ac6b7ff14e Fix type var completions so that there's at least no error Dave Halter 2018-08-30 01:23:28 +02:00
  • 80ab4d8ff5 Add tests for typing.TYPE_CHECKING Dave Halter 2018-08-30 01:14:48 +02:00
  • bf6974dabb Fix an issue with a type var lookups Dave Halter 2018-08-30 01:10:51 +02:00
  • 28a55386b6 Add some more tests about mappings Dave Halter 2018-08-30 00:59:10 +02:00
  • 1fce0b45f4 Fix subscriptlist unpacking in Generics Dave Halter 2018-08-30 00:52:22 +02:00
  • 18e6a784e8 Clean up some type alias things Dave Halter 2018-08-29 23:26:39 +02:00
  • 511ba5231a Get an own class for type aliases Dave Halter 2018-08-29 22:46:28 +02:00
  • 0edfe86d8b Fix Tuple support Dave Halter 2018-08-29 10:18:58 +02:00
  • 762d56204f Fix some filter issues Dave Halter 2018-08-29 09:46:10 +02:00
  • a884b6c782 Fix forward references for some things Dave Halter 2018-08-29 01:12:19 +02:00
  • 1a5710f140 Do a bit better class matching, it's not good yet, but we'll get there. Dave Halter 2018-08-28 23:28:58 +02:00
  • af9f019d37 Type aliases seem to be working, now. Dave Halter 2018-08-28 17:40:12 +02:00
  • cbf6c617de Get MutableSequence working Dave Halter 2018-08-28 01:31:12 +02:00
  • 921ab6e391 Fix two bugs that were raising exceptions Dave Halter 2018-08-27 23:37:20 +02:00
  • e74d4fe9b7 Get a first typing test with Sequence[int] working Dave Halter 2018-08-27 23:24:46 +02:00
  • 7c8051feab Fix default parameters name resolution Dave Halter 2018-08-27 23:10:23 +02:00
  • 7b896ae5d0 Differentiate between functions and methods Dave Halter 2018-08-27 20:39:51 +02:00
  • b3ffc092cd Obviously cannot return from a generator with an empty list Dave Halter 2018-08-27 20:16:31 +02:00
  • bd5af5f148 More preparations for annotated classes Dave Halter 2018-08-27 20:13:35 +02:00
  • 4a7bded98d Fix the selection of overloaded functions. Now it's at least partially working Dave Halter 2018-08-26 23:04:54 +02:00
  • 5261cdf4a1 Now overloaded functions exist, but the matching doesn't work, yet Dave Halter 2018-08-26 19:39:55 +02:00
  • 05d07c23ab abstractmethod should just pass params Dave Halter 2018-08-26 13:23:49 +02:00
  • 10bc446255 Get Any working ab it better Dave Halter 2018-08-26 13:16:25 +02:00
  • ac7ce7c481 Start implementing overload function Dave Halter 2018-08-26 03:37:26 +02:00
  • 4daa73d487 Merge with master Dave Halter 2018-08-26 03:16:57 +02:00
  • 84b07a8809 Removing a test from doctests, becaues it shouldn't be one Dave Halter 2018-08-26 03:09:46 +02:00
  • 6c555e62aa Refactor argument clinic usage Dave Halter 2018-08-26 03:02:58 +02:00
  • 3cfbedcb69 Refactor some more typing related things Dave Halter 2018-08-25 23:10:04 +02:00
  • 18b6febe86 Instances should use py__getitem__ instead of py__simple_getitem__ Dave Halter 2018-08-25 22:55:08 +02:00
  • 465264e07d Start getting inheritance working with e.g. typing.Iterable Dave Halter 2018-08-25 22:01:36 +02:00
  • 3526def0a0 Make a lot of progress with typeshed/typing Dave Halter 2018-08-25 02:35:31 +02:00
  • 05cf6af546 Implement a lot more for typing Dave Halter 2018-08-24 01:13:54 +02:00
  • 9fe9bed1c9 Fix the first issues with the new typing module implementation Dave Halter 2018-08-21 01:28:55 +02:00
  • 6ddc242746 Ignore some errors that are happening when the Python process ends and its subprocesses are cleaned up Dave Halter 2018-08-21 01:28:13 +02:00
  • 5081b06016 Add a first try of implementing the typing module Dave Halter 2018-08-20 19:51:36 +02:00
  • fe78fa9850 Move to using py__getitem__ and py__simple_getitem__ Dave Halter 2018-08-13 18:42:09 +02:00
  • 11b2ac9923 Gettattr needs unicode Dave Halter 2018-08-13 09:53:26 +02:00
  • 73682b95f5 Move get_item to a separate function Dave Halter 2018-08-10 19:50:21 +02:00
  • 705f561bdb Sometimes when terminating, the subprocess module is already gone and equals None. Dave Halter 2018-08-10 19:32:34 +02:00
  • 84b89f4689 Rename py__getitem__ to py__simple_getitem Dave Halter 2018-08-10 19:31:19 +02:00
  • bc5ca4d8ae Fix flask issues with unicode in Python2 Dave Halter 2018-08-10 00:37:36 +02:00
  • 53ca7c19cd Some changes in the PEP 0484 understanding (more future compatible) Dave Halter 2018-08-09 23:32:04 +02:00
  • b3a07941bb Fix issues with the current branch Dave Halter 2018-08-09 23:25:29 +02:00
  • 62842c8ac1 For now don't use the TypeshedPlugin until we fix all other issues with Jedi Dave Halter 2018-08-09 18:48:08 +02:00
  • d30af70351 Write a test for variables Dave Halter 2018-08-09 18:22:25 +02:00
  • 52746faabf Some better sys tests for compiled objects Dave Halter 2018-08-09 17:28:09 +02:00
  • f7f32fe206 Better checking for sys Dave Halter 2018-08-09 17:16:53 +02:00
  • aa8e2c7173 Get some sys completions working Dave Halter 2018-08-09 10:52:33 +02:00
  • facbf61133 Working with CompiledObject in stubs is now possible Dave Halter 2018-08-08 18:57:05 +02:00
  • 1ade520ac0 Fix stub name resolution Dave Halter 2018-08-08 13:02:32 +02:00
  • 5466f930be Rename some stub classes Dave Halter 2018-08-07 03:36:18 +02:00
  • 505c424cf4 Merge branch 'master' into typeshed Dave Halter 2018-08-07 02:48:41 +02:00
  • d6306a06a4 With the recent changes one performance optimization got lost Dave Halter 2018-08-07 02:47:25 +02:00
  • 62a941f233 Actually use the stub files Dave Halter 2018-08-06 23:14:58 +02:00
  • 97c9aca245 Merge branch 'master' into typeshed Dave Halter 2018-08-06 12:49:51 +02:00
  • 8fc2add242 FunctionExecutionContext should use the parent if possible Dave Halter 2018-08-06 12:49:31 +02:00
  • 4a593f9693 Use anonymous instance arguments in a different way Dave Halter 2018-08-06 11:19:29 +02:00
  • 38a22a4ae8 Move some anonymous instance function execution stuff Dave Halter 2018-08-05 23:37:46 +02:00
  • 10ecb77673 Get rid of InstanceFunctionExecution, because it's really not needed Dave Halter 2018-08-05 23:26:15 +02:00
  • 357c86ad9c Use the InstanceArguments for super as well Dave Halter 2018-08-05 14:57:00 +02:00
  • 8cae517821 Use InstanceArguments directly and not via InstanceFunctionExecution Dave Halter 2018-08-05 14:34:44 +02:00
  • 0101fdd9da Remove old garbage code Dave Halter 2018-08-05 14:18:56 +02:00
  • e17d7f5d42 Don't use arguments that are not needed Dave Halter 2018-08-05 14:17:46 +02:00
  • 7d16a35693 Also move the remaining get_params to get_executed_params Dave Halter 2018-08-05 13:58:06 +02:00
  • 1456a156a6 get_params -> get_executed_params where possible Dave Halter 2018-08-05 13:53:57 +02:00
  • 3d55b2d826 Subprocess error reporting improvements Dave Halter 2018-08-05 12:50:17 +02:00
  • 49eae5b6f8 Rename an execute function that is private Dave Halter 2018-08-05 01:32:13 +02:00
  • 7a48fdc5f6 Move execute_evaluated to a helper function Dave Halter 2018-08-05 01:26:13 +02:00
  • faba29a42b Trying to use prefer type annotations if they are available Dave Halter 2018-08-05 00:36:11 +02:00
  • 403cf02c65 Fix the last issue to pass stub tests Dave Halter 2018-08-04 23:50:11 +02:00
  • 59d43683dc Merge branch 'master' into typeshed Dave Halter 2018-08-04 23:42:17 +02:00
  • 1547177128 Fix a recursion issue about compiled objects Dave Halter 2018-08-04 23:20:51 +02:00
  • bd43608f98 Use a CompiledInstanceNameFilter that wraps the class name as well Dave Halter 2018-08-04 13:10:14 +02:00
  • 72f2a9e4a5 Prefer Python 3 import over 2 Dave Halter 2018-08-04 12:07:41 +02:00
  • b91203820c Now it's actually possible to specify a pytest environment for the same Python version Dave Halter 2018-08-04 02:00:13 +02:00
  • 71572e63cd Note that Python 3.3 support was dropped in Changelog Dave Halter 2018-08-04 00:49:45 +02:00
  • 7c9f24a18e Drop support for EOL Python 3.3 (#1019) Hugo 2018-08-04 01:40:00 +03:00
  • 9ca7b30e38 Rewrite the pyc test Dave Halter 2018-08-03 23:59:55 +02:00
  • fd8f254ce1 Fix an issue with stderr debugging of subprocesses Dave Halter 2018-08-03 23:51:58 +02:00
  • 1c76359291 stderr of the child processes should be printed in debug output Dave Halter 2018-08-03 13:35:21 +02:00
  • ccb460b433 Use close_fds for posix. Dave Halter 2018-08-03 13:08:07 +02:00
  • 30d14ea016 Remove some redundant code Dave Halter 2018-08-03 12:33:35 +02:00
  • bbb1502e06 Use names of classes to infer names of instances Dave Halter 2018-08-03 12:22:42 +02:00
  • f34a9281b9 Don't have execute and execute_evaluated on name Dave Halter 2018-08-03 11:34:33 +02:00
  • 95a1a69771 Fix an issue where __ prefixed variables where not hidden when accessed from a class Dave Halter 2018-08-03 11:05:49 +02:00
  • 50b58a314e Fix a test condition Dave Halter 2018-08-03 01:34:08 +02:00
  • a3b5247de9 Merge branch 'master' into typeshed Dave Halter 2018-08-03 00:26:09 +02:00
  • 1a4be5c91c Bound methods are now working correctly in all Python versions. Therefore a test was wrong. Dave Halter 2018-08-03 00:23:37 +02:00