1
0
forked from VimPlug/jedi
Commit Graph

91 Commits

Author SHA1 Message Date
Dave Halter 4491175db4 Fix an issue with namedtuples when using strings as params 2018-11-06 08:59:30 +01:00
Dave Halter 26329de5a5 Underscored objects in stubs are not public and should never be listed 2018-11-03 14:36:46 +01:00
Dave Halter 1eb8658922 Fix issues with itemgetter 2018-11-03 13:57:15 +01:00
Dave Halter fbc327b960 Refactor py__get__ support pretty heavily 2018-11-01 19:09:07 +01:00
Dave Halter f2d67f4a5d Make version_info understandable so it can be used in for typeshed 2018-10-30 23:31:57 +01:00
Dave Halter b008a525cb Fix some more things to get async working 2018-10-21 00:35:07 +02:00
Dave Halter dddd302980 Fix issues with listing type vars 2018-10-10 02:05:23 +02:00
Dave Halter 55f0966a9a StubClassContext is now also a ContextWrapper 2018-10-09 22:53:33 +02:00
Dave Halter 8dca2b81e4 Start using ContextWrapper for annotated classes 2018-10-09 09:58:19 +02:00
Dave Halter 380f0ac404 Fix itemgetter for tuples 2018-10-05 10:51:52 +02:00
Dave Halter 1b8c87215d Fix an _sqlite3 issue temporarily 2018-10-05 10:51:39 +02:00
Dave Halter 65340e6e24 Some more work on the filter merging 2018-10-05 01:57:34 +02:00
Dave Halter f96a14e7f4 Start rewriting the StubFilter 2018-10-03 23:01:56 +02:00
Dave Halter 6539031d5a Remove CompiledStubClassContext, it's not used currently 2018-09-29 00:59:13 +02:00
Dave Halter bdff4e21a8 Fix classmethod issues 2018-09-25 00:19:55 +02:00
Dave Halter f1b45bed96 Fix some property issues 2018-09-24 22:22:50 +02:00
Dave Halter fe41c29b29 Implement iter, it's probably necessary 2018-09-24 21:10:54 +02:00
Dave Halter 75a02a13d9 Use ContextSet closer to they way how Python's set works 2018-09-24 20:30:57 +02:00
Dave Halter eb9a852443 Remove fakes, RIP 2018-09-17 02:25:01 +02:00
Dave Halter 9ece2844f4 Better is_same_class function 2018-09-13 22:41:30 +02:00
Dave Halter a646d930c8 Use some solid caching for typing 2018-09-12 22:58:35 +02:00
Dave Halter 190a531daa Fix the reversed object 2018-09-10 00:30:24 +02:00
Dave Halter 7fff203360 Fix the next builtin 2018-09-09 16:20:23 +02:00
Dave Halter bd3bd2e53b Fix type completions on classes 2018-09-09 15:51:42 +02:00
Dave Halter 6abd96a398 Try to introduce a few new classes to better deal with compiled objects 2018-09-08 17:48:00 +02:00
Dave Halter 928e80c9e9 Fix search_global for builtins 2018-09-08 16:58:18 +02:00
Dave Halter 4a69ab3bf8 Cleanup StubParserTreeFilter.values 2018-09-08 14:13:14 +02:00
Dave Halter 91a18ec63c Try to re-implement reversed 2018-09-07 23:00:32 +02:00
Dave Halter 9e7879d43f Move py__mro__ to a separate function 2018-09-07 00:46:54 +02:00
Dave Halter 99c08fd205 Flows should be respected even in stubs 2018-09-07 00:25:08 +02:00
Dave Halter 82af902cc8 Actually use the previously written builtins_next function 2018-09-06 19:24:48 +02:00
Dave Halter d0c1df5f2a TreeContextWrapper -> ContextWrapper 2018-09-06 19:13:59 +02:00
Dave Halter a5e6f26267 get_filters should always have the default search_global=False 2018-09-06 01:06:09 +02:00
Dave Halter 68bd61708e pkg_resources doesn't come packaged with the CPython stdlib 2018-09-05 19:25:27 +02:00
Dave Halter fa16c9e59d Fix some name inferance with stubs 2018-09-05 10:29:37 +02:00
Dave Halter 39162de2a8 Some more minor adaptions 2018-09-05 01:49:19 +02:00
Dave Halter 4a3fc91c1e Implement StubParserTreeFilter.values 2018-09-05 01:36:12 +02:00
Dave Halter ab872b9a34 Fix some tests 2018-09-05 00:10:25 +02:00
Dave Halter e086c433ff Fix compiled docstrings for stubs 2018-09-04 10:08:09 +02:00
Dave Halter 5d24bc7625 Refactor the compiled name stub wrappers a bit 2018-09-04 09:44:29 +02:00
Dave Halter 74db580671 Get compiled name working a bit better with stubs 2018-09-04 01:51:02 +02:00
Dave Halter f432a0b7c4 Fix namedtuple and property issues 2018-09-04 00:27:40 +02:00
Dave Halter 38176ae7e6 Implement itemgetter partially 2018-09-04 00:01:55 +02:00
Dave Halter 35ce54630e Make it possible to use *args in argument clinic 2018-09-03 19:12:36 +02:00
Dave Halter 39f1dfc85e WIP of namedtuple/itemgetter/property 2018-09-03 09:50:51 +02:00
Dave Halter 3351b06603 Implement random.choice 2018-09-03 01:35:30 +02:00
Dave Halter a28b179a45 Fix partial 2018-09-02 19:12:13 +02:00
Dave Halter e3203ebaa5 Try to change the module cache 2018-09-02 13:06:36 +02:00
Dave Halter ecda9cc746 Move py__getattribute__ to typeshed imports 2018-09-01 17:17:39 +02:00
Dave Halter ab4e415aec Actually make nested stubs usable 2018-09-01 12:36:05 +02:00