1
0
forked from VimPlug/jedi
Commit Graph

2287 Commits

Author SHA1 Message Date
Dave Halter 9aa8f6bcf2 Better signature calculation 2019-05-23 01:36:51 +02:00
Dave Halter b2b08ab432 Better annotation signature string for classes 2019-05-22 20:34:35 +02:00
Dave Halter 3bec1a6938 Better signature generation 2019-05-22 20:31:30 +02:00
Dave Halter 9bb88b43ca Fix stub_to_actual_context_set for bound methods 2019-05-22 10:35:04 +02:00
Dave Halter a2931d7a48 Introduce is_bound_method 2019-05-22 10:19:47 +02:00
Dave Halter d241c31e3c Try to make qualified_names access clearer 2019-05-22 10:10:37 +02:00
Dave Halter b1e6901d61 Some more signature tests 2019-05-22 00:51:52 +02:00
Dave Halter c05629b3de Adapt small changes in parso's FileIO 2019-05-22 00:03:01 +02:00
Dave Halter c64ee8a07c Make it clear what a param needs to implement 2019-05-21 18:21:40 +02:00
Dave Halter 857f6a79ae Merge branch 'master' of github.com:davidhalter/jedi 2019-05-21 13:39:27 +02:00
micbou 744662d096 Fix resource warnings 2019-05-21 13:35:12 +02:00
micbou 3df63cff12 Fix docstring tests 2019-05-21 12:07:17 +02:00
Dave Halter b17e7d5746 A work in progress improvement for compiled signatures 2019-05-21 09:37:17 +02:00
Dave Halter 95cd8427f4 Fix a NotImplementedError when loading random modules 2019-05-20 09:54:41 +02:00
Dave Halter 03de39092a Reindent some code 2019-05-20 09:34:12 +02:00
Dave Halter aa924cd09b Small change for a comment 2019-05-20 09:30:13 +02:00
Dave Halter beacb58eb1 Remove a NotImplementedError and a bit of code where we don't seem to pass anymore 2019-05-20 09:20:49 +02:00
Dave Halter 70527d7329 Merge branch 'repr' of https://github.com/blueyed/jedi
Fixed a small merge conflict by hand.
2019-05-20 00:31:32 +02:00
Dave Halter 7583d297ad Deal with SyntaxErrors coming from numpydoc when used with Python 2 2019-05-19 18:12:01 +02:00
Dave Halter 146ddd5669 Fix a few unicode accesses for Python 2 2019-05-19 17:52:35 +02:00
Dave Halter ea490b9a2b Remove remap_type_vars, which was never used 2019-05-19 16:15:52 +02:00
Dave Halter 7ec76bc0b5 Remove get_matching_functions, it was unused code 2019-05-19 16:06:22 +02:00
Dave Halter 4b2518ca9a Remove special objects, they are no longer needed 2019-05-19 14:28:39 +02:00
Dave Halter 1b668966ce Better completions for MethodType 2019-05-19 14:27:09 +02:00
Dave Halter c4f0c7940f Remove MODULE_CLASS in favor of a typeshed solution 2019-05-19 14:22:03 +02:00
Dave Halter f9eedfbf64 Remove FUNCTION_CLASS, in favor of a typeshed solution 2019-05-19 14:19:30 +02:00
Dave Halter 05a3d7a3bc Remove _create_class_filter, it was unused 2019-05-19 14:06:21 +02:00
Dave Halter cbd16e6d6b Bump latest grammar from 3.6 to 3.7 2019-05-19 14:03:29 +02:00
Dave Halter dc2f4e06c8 Fix a few casts for Python 2/3 interopability 2019-05-18 20:51:42 +02:00
Dave Halter 4176af337f A few Python 2 fixes 2019-05-18 01:09:09 +02:00
Dave Halter 0fb5fd271a Better scanning for module names, now includes namespace packages and stubs 2019-05-18 00:11:08 +02:00
Dave Halter 4b829c358b Fix an import names completion issue 2019-05-17 23:34:17 +02:00
Dave Halter c640aa9213 goto_assignments should work even if something is only defined in a stub 2019-05-17 14:58:55 +02:00
Dave Halter 9d5f57d798 Make sure inferring works even if a stub doesn't have all variables defined 2019-05-17 14:45:22 +02:00
Dave Halter b5d1e00930 Deal better with instance conversions for stubs 2019-05-17 12:27:53 +02:00
Dave Halter f53c977069 Fix an issue with stub conversion 2019-05-16 00:52:14 +02:00
Dave Halter 051db30dfb Proper loading for third-party stub packages 2019-05-16 00:45:09 +02:00
Dave Halter e4170d65b7 Make namespace folders work with stubs 2019-05-15 21:55:54 +02:00
Dave Halter b7eeb60e9c Move stub caching around 2019-05-15 21:10:35 +02:00
Dave Halter 7fc7e631f8 Move a part of stub lookups 2019-05-15 21:06:36 +02:00
Dave Halter 0e95aaeaad A first try to load foo-stub directories 2019-05-15 08:19:46 +02:00
Dave Halter dcbc60e1f0 Add a docstring to mention PEP 561 2019-05-14 21:12:34 +02:00
Dave Halter 03f29c51cf Improve stub loading from random places 2019-05-14 21:09:20 +02:00
Dave Halter 5ff3e4d1d1 Implement stub tests and a first iteration of loading them from some random place 2019-05-13 10:13:59 +02:00
Dave Halter 8b1d4a7824 Fix call signatures, use stubs if possible 2019-05-11 12:44:20 +02:00
Dave Halter 079783e3a1 Move trying to resolve stubs to a different place 2019-05-10 22:33:49 +02:00
Dave Halter 409bf907d9 Fix os path imports 2019-05-10 10:08:14 +02:00
Dave Halter de7b638e6c Remove StubClass, it should really not be needed anymore 2019-05-10 01:29:06 +02:00
Dave Halter a6a71c59f4 Move some contents of gradual.stub_contexts to gradual.conversion 2019-05-10 01:24:58 +02:00
Dave Halter e57ff54caa Some minor moving 2019-05-10 01:19:59 +02:00