Dave Halter
|
d67dfba7f5
|
Remove Python 2.7/3.5 support
|
2020-07-02 00:00:46 +02:00 |
|
Dave Halter
|
a3a9ae1a26
|
Add download badge
|
2020-06-27 15:15:34 +02:00 |
|
Dave Halter
|
e41b966283
|
Some test skips
|
2020-06-27 03:10:24 +02:00 |
|
Dave Halter
|
4188526e2d
|
Revert some of the Decoratee changes
|
2020-06-27 02:18:31 +02:00 |
|
Dave Halter
|
804b0f0d06
|
Some more signature adjustments
|
2020-06-27 02:18:31 +02:00 |
|
Dave Halter
|
7b15f1736c
|
Change Decoratee slightly
|
2020-06-27 02:18:31 +02:00 |
|
Dave Halter
|
4846848a1e
|
Fix an issue with decoratee names
|
2020-06-27 02:18:31 +02:00 |
|
Dave Halter
|
344fef1e2f
|
Add Project.path, fixes #1622
|
2020-06-27 02:18:31 +02:00 |
|
Dave Halter
|
bc23458164
|
Fix the of a signature with a decorator
|
2020-06-27 02:18:31 +02:00 |
|
Dave Halter
|
9a54e583e7
|
Fix docstrings for method decorators, fixes #1621
|
2020-06-27 02:18:31 +02:00 |
|
Dave Halter
|
59ccd2da93
|
Make partial use the __doc__ of its function, fixes #1621
|
2020-06-27 02:18:31 +02:00 |
|
Dave Halter
|
737c1e5792
|
Merge pull request #1614 from PeterJCLaw/fix-decorator-factory-passthrough
Support passing values through decorators from factories
|
2020-06-26 13:29:58 +02:00 |
|
Dave Halter
|
f5e6a25542
|
Merge pull request #1623 from mallamanis/master
Add __matmul__ to supported operators.
|
2020-06-26 12:10:00 +02:00 |
|
Dave Halter
|
eabddb9698
|
Remove a print
|
2020-06-24 01:29:50 +02:00 |
|
Dave Halter
|
6fcdc44f3e
|
Typeshed third party libraries should not be loaded if they don't actually exist in the environment, fixes #1620
|
2020-06-24 01:08:04 +02:00 |
|
Dave Halter
|
0d1a45ddc1
|
Add the env_vars change to CHANGELOG
|
2020-06-22 00:13:57 +02:00 |
|
Dave Halter
|
f9183bbf64
|
Merge pull request #1619 from mrclary/subprocess-env-vars
Provide option to pass explicit environment variables to Environment and CompiledSubprocess
|
2020-06-22 00:11:18 +02:00 |
|
Dave Halter
|
a3410f124a
|
Make sure that Callables are properly represented
See also comment of https://github.com/davidhalter/jedi/pull/1614#issuecomment-647054740
|
2020-06-21 01:31:58 +02:00 |
|
Dave Halter
|
3dad9cac6b
|
Use Python 3 in the deployment script
|
2020-06-20 01:19:01 +02:00 |
|
Dave Halter
|
7aa13e35e9
|
Prepare release 0.17.1
|
2020-06-20 00:39:09 +02:00 |
|
Dave Halter
|
cf1b54cfe5
|
Make sure the current version doesn't install a parso version that is new
|
2020-06-16 21:39:17 +02:00 |
|
Dave Halter
|
8669405a1c
|
Small changelog improvement
|
2020-06-16 08:53:02 +02:00 |
|
Dave Halter
|
54775acc7a
|
Mention Django Manager support for managers/querysets in changelog
|
2020-06-16 08:52:19 +02:00 |
|
Dave Halter
|
be184241fd
|
Add SyntaxError.get_message
|
2020-06-16 08:51:54 +02:00 |
|
Dave Halter
|
61ad05d511
|
Mention 3.9 support better
|
2020-06-16 08:42:18 +02:00 |
|
Dave Halter
|
1872ad311b
|
Fix decorator param completion
|
2020-06-15 00:34:55 +02:00 |
|
Dave Halter
|
364d33119c
|
Merge branch 'django'
|
2020-06-14 22:24:31 +02:00 |
|
Dave Halter
|
1702a6340e
|
Document a special case in Django a bit better
|
2020-06-14 22:23:08 +02:00 |
|
Dave Halter
|
4ab35cac7b
|
Merge branch 'master' of github.com:davidhalter/jedi
|
2020-06-14 18:11:50 +02:00 |
|
Dave Halter
|
21f1df18b6
|
Fix some issues with sub class matching, fixes #1560
|
2020-06-14 18:10:00 +02:00 |
|
Dave Halter
|
8ea4c0589c
|
Merge pull request #1613 from PeterJCLaw/fix-1425-1607-typevar-wrap-functions-and-classes
Handle passing functions and classes through a TypeVar
|
2020-06-14 18:01:48 +02:00 |
|
Dave Halter
|
1d1c0ec3af
|
Better debugging output for is_sub_class_of
|
2020-06-14 17:55:53 +02:00 |
|
Dave Halter
|
674e0114a5
|
Ignore runtime_checkable, because we don't really need it
|
2020-06-14 14:14:47 +02:00 |
|
Dave Halter
|
9de5ab2037
|
Make it possible to complete on QuerySet methods, fixes #1587
|
2020-06-13 20:55:37 +02:00 |
|
Dave Halter
|
3415ccbb73
|
Add support for Django signatures, fixes parts of #1587
|
2020-06-13 16:18:47 +02:00 |
|
Dave Halter
|
b165596a6e
|
Avoid doing a call twice for now reason
|
2020-06-13 14:25:52 +02:00 |
|
Dave Halter
|
089a4713e3
|
Fix a small extract_variable issue, fixes #1611
|
2020-06-13 01:35:58 +02:00 |
|
Dave Halter
|
365d725bc1
|
Fix a small issue that was inadvertently changed
|
2020-06-13 00:26:12 +02:00 |
|
Dave Halter
|
7586900fd9
|
Merge branch 'master' into django
|
2020-06-12 20:04:28 +02:00 |
|
Dave Halter
|
c4de9ae2d3
|
Use a customized django-stubs
|
2020-06-12 19:30:49 +02:00 |
|
Dave Halter
|
3a0a484fcb
|
Try to get get the tests for Python 3.9 passing, fixes #1608
|
2020-06-10 09:54:32 +02:00 |
|
Dave Halter
|
df7dd026d2
|
Make it possible to use inheritance on generics without always specifying type vars, see also discussion in #1593
|
2020-06-10 09:54:32 +02:00 |
|
Dave Halter
|
a2108de2c0
|
Use py__get__ for Django Model.objects
This includes the fix in https://github.com/typeddjango/django-stubs/pull/394
|
2020-06-09 23:26:43 +02:00 |
|
Dave Halter
|
6d0d75c7d9
|
@publish_method should provide arguments
|
2020-06-09 22:37:50 +02:00 |
|
Dave Halter
|
d4f0424ddc
|
Move py__getitem__ from Class to ClassMixin
|
2020-06-08 00:58:38 +02:00 |
|
Dave Halter
|
cd6113c2c3
|
Move with_generics and define_generics to ClassMixin
|
2020-06-08 00:11:45 +02:00 |
|
Dave Halter
|
c9a21adc5f
|
Make sure py__get__ is applied properly for Django metaclasses
|
2020-06-07 15:01:12 +02:00 |
|
Dave Halter
|
9adcf3d233
|
Make sure meta class filters can distinguish between classes and instances
|
2020-06-07 14:54:26 +02:00 |
|
Dave Halter
|
34cc8e9ad7
|
Properly handle __get__ in properties/partials
|
2020-06-07 14:18:45 +02:00 |
|
Dave Halter
|
105c097fea
|
Merge branch 'django-custom-object-manager' of https://github.com/PeterJCLaw/jedi into django
|
2020-06-06 01:24:24 +02:00 |
|
Dave Halter
|
574b790296
|
Make it possible to use inheritance on generics without always specifying type vars, see also discussion in #1593
|
2020-06-06 01:23:14 +02:00 |
|
Dave Halter
|
3870253b56
|
Make sure that scopes can only be exact values, see #1590
|
2020-06-05 23:04:39 +02:00 |
|
Dave Halter
|
21a380f7cb
|
Merge pull request #1590 from muffinmad/references-scope
Get references in the current module only
|
2020-06-05 19:21:34 +02:00 |
|
Dave Halter
|
24236be3ce
|
Fix a small issue with doctest completions, fixes #1585
|
2020-06-05 13:35:36 +02:00 |
|
Dave Halter
|
9980f760b1
|
Merge pull request #1601 from yuan-xy/patch_3
add test case to fix code example in doc
|
2020-05-31 11:14:58 +02:00 |
|
Dave Halter
|
8239328e42
|
Merge pull request #1599 from isidentical/py38-plus-setuppy
Upgrade setup.py's version parsing for 3.8+
|
2020-05-28 21:18:51 +02:00 |
|
Dave Halter
|
2d672d2f28
|
Merge pull request #1595 from PeterJCLaw/operator-not-in
Explicitly handle `a not in b` operator comparison
|
2020-05-23 14:48:40 +02:00 |
|
Dave Halter
|
64d131060c
|
Merge pull request #1586 from PeterJCLaw/django-more-fields
Support more Django model fields
|
2020-05-19 00:39:27 +02:00 |
|
Dave Halter
|
855fb5a936
|
Fix potential AttributeError in get_defintion_start_position/get_defintion_end_position, see #1584
|
2020-05-18 19:21:04 +02:00 |
|
Dave Halter
|
8fdf16b316
|
Fix an error of get_definition_end_pos, see #1584
|
2020-05-18 01:44:51 +02:00 |
|
Dave Halter
|
fa6194c0a9
|
Refactor test_definition_start_end_position to use parametrize
|
2020-05-18 01:41:07 +02:00 |
|
Dave Halter
|
2d17b81313
|
definition_end_position -> get_definition_end_position, same for start, see #1584
|
2020-05-18 01:18:22 +02:00 |
|
Dave Halter
|
cb1730f628
|
Merge pull request #1584 from pappasam/get_definition_position
Add BaseName.definition_[start,end]_position
|
2020-05-18 01:14:00 +02:00 |
|
Dave Halter
|
d16355fcf2
|
Fix tests in Python 2
|
2020-05-16 17:47:33 +02:00 |
|
Dave Halter
|
cd3d40a3b8
|
Fix a small issue
|
2020-05-16 15:42:15 +02:00 |
|
Dave Halter
|
b3fc10a6e4
|
Magic methods fixes for reverse methods
|
2020-05-16 15:39:48 +02:00 |
|
Dave Halter
|
09dbbc6361
|
lists and tuples should not be added
|
2020-05-16 15:10:47 +02:00 |
|
Dave Halter
|
f5ad561c51
|
Use __truediv__ instead of __div__
This ignores Python 2, but that shouldn't be an issue, since we are going to drop it anyway.
|
2020-05-16 14:57:57 +02:00 |
|
Dave Halter
|
0db50b521d
|
Fix an issue with Tuple generics
|
2020-05-16 14:55:59 +02:00 |
|
Dave Halter
|
9942a3d44c
|
A few class renames
|
2020-05-16 14:35:15 +02:00 |
|
Dave Halter
|
47637c147c
|
Better debugging
|
2020-05-16 14:31:31 +02:00 |
|
Dave Halter
|
2fb072532a
|
Skip another non-important Python 2 test that fails on Windows
|
2020-05-16 01:25:15 +02:00 |
|
Dave Halter
|
70aa7fc917
|
Fix a namespace issue when getting references
|
2020-05-16 01:05:39 +02:00 |
|
Dave Halter
|
384b2ad014
|
Fix an about dict completions
|
2020-05-16 00:46:46 +02:00 |
|
Dave Halter
|
f2975f9a05
|
Fix a None issue
|
2020-05-16 00:27:14 +02:00 |
|
Dave Halter
|
41c146a6f3
|
Implement magic method return values, fixes #1577
|
2020-05-15 23:53:44 +02:00 |
|
Dave Halter
|
be594f1498
|
Remove an unused cache method
|
2020-05-15 23:53:44 +02:00 |
|
Dave Halter
|
99eba4e0eb
|
Undefined api types should not return a random value
|
2020-05-15 23:53:44 +02:00 |
|
Dave Halter
|
d4aa583e16
|
Fix inline case where a name was removed without the code being used, fixes #1582
|
2020-05-14 23:08:37 +02:00 |
|
Dave Halter
|
381fbeda6a
|
Make the diff nicer if there is no ending newline, fixes #1581
|
2020-05-14 00:20:20 +02:00 |
|
Dave Halter
|
3104443212
|
Merge pull request #1579 from muffinmad/pseudotreenameclass
Return 'class' as _PseudoTreeNameClass.type (fix #1578)
|
2020-05-13 18:59:05 +02:00 |
|
Dave Halter
|
0caee73975
|
Merge pull request #1572 from davidhalter/classvar
Remove is_class_value from infer_type_vars
|
2020-05-12 23:56:03 +02:00 |
|
Dave Halter
|
7f25e28d89
|
Fix tuple issue in 3.6
|
2020-05-12 23:33:06 +02:00 |
|
Dave Halter
|
be7a1346ec
|
Fix #1573 again; a tree_node can be None
|
2020-05-10 13:29:58 +02:00 |
|
Dave Halter
|
6dbc5e783e
|
Fix argument clinic unpacking, remove dynamic bullshit
|
2020-05-10 13:27:20 +02:00 |
|
Dave Halter
|
bf4ec2282f
|
Fix getattr completions on very weird cases, fixes #1573
|
2020-05-10 11:37:58 +02:00 |
|
Dave Halter
|
e6e43413ff
|
Any -> AnyClass
|
2020-05-10 03:17:52 +02:00 |
|
Dave Halter
|
e9a0c01af8
|
TypedDictBase -> TypedDictClass
|
2020-05-10 03:17:07 +02:00 |
|
Dave Halter
|
d0270b5e59
|
DefineGenericBase -> DefineGenericBaseClass
|
2020-05-10 03:07:40 +02:00 |
|
Dave Halter
|
b57654aed3
|
Rename some classes to make it clearer that they are classes
|
2020-05-10 03:04:52 +02:00 |
|
Dave Halter
|
78ad06612e
|
Remove an unused import
|
2020-05-10 03:00:47 +02:00 |
|
Dave Halter
|
434866558a
|
Instances should not need get_generics
|
2020-05-10 02:59:54 +02:00 |
|
Dave Halter
|
42963a0e03
|
By having get_annotated_class_object for Tuple/Callable, some details are not necessary anymore
|
2020-05-10 02:52:42 +02:00 |
|
Dave Halter
|
c2d1da09cb
|
Make sure that Tuple/Callable instances have the correct py__class__
|
2020-05-10 01:05:55 +02:00 |
|
Dave Halter
|
f362932ec5
|
Return a more correct py__class__ for typing base objects
|
2020-05-09 16:28:05 +02:00 |
|
Dave Halter
|
3b48c76e4a
|
Make a function private
|
2020-05-09 00:49:37 +02:00 |
|
Dave Halter
|
d56f607f35
|
Reinstate an if that was deleted by mistake
|
2020-05-09 00:13:18 +02:00 |
|
Dave Halter
|
39a2cd8aa2
|
Fix a potential issue with tuples
|
2020-05-08 18:07:15 +02:00 |
|
Dave Halter
|
14ca8e6499
|
Add a comment
|
2020-05-08 18:00:35 +02:00 |
|
Dave Halter
|
2a227dcc7a
|
Remove is_class_value from infer_type_vars
|
2020-05-08 17:49:02 +02:00 |
|