Dave Halter
6e4dfda727
Fix a minor issue
2020-07-02 03:08:07 +02:00
Dave Halter
1fbe0d8d2e
Remove python_version_match from publish_method
2020-07-02 03:04:14 +02:00
Dave Halter
6e184bca97
Remove most version_info.major usages
2020-07-02 03:00:01 +02:00
Dave Halter
f4e537fd72
Remove a lot of sys.version_info references
2020-07-02 02:49:35 +02:00
Dave Halter
cfd8eb23b8
Remove all_suffixes from _compatibility
2020-07-02 02:32:02 +02:00
Dave Halter
db28eee760
Remove py__version__
2020-07-02 02:30:16 +02:00
Dave Halter
17343bb57c
Remove some more Python 3.5 references
2020-07-02 02:18:16 +02:00
Dave Halter
782c561e86
Fix the compatibility docstring
2020-07-02 02:03:34 +02:00
Dave Halter
9838040ca3
Fix a TODO
2020-07-02 01:56:23 +02:00
Dave Halter
eea35ffc31
Remove supported Pythons from environments
2020-07-02 01:52:44 +02:00
Dave Halter
49e4b1a0f8
Remove force_unicode
2020-07-02 01:47:21 +02:00
Dave Halter
07fc1ef837
Remove the pickle compatibility stuff
2020-07-02 01:29:54 +02:00
Dave Halter
e6a748b1a7
Fix some directory issues
2020-07-02 01:17:35 +02:00
Dave Halter
227cf00638
Remove the __builtin__ compatibility
2020-07-02 01:15:29 +02:00
Dave Halter
b5e0c1e9c6
Remove compatibility for zip_longest
2020-07-02 01:08:57 +02:00
Dave Halter
f9a35ae42a
Remove FileNotFoundError compatibility
2020-07-02 01:05:13 +02:00
Dave Halter
1dc83115be
Remove use_metaclass
2020-07-02 00:58:30 +02:00
Dave Halter
c651109b9a
Remove _compatibility.reraise
2020-07-02 00:56:30 +02:00
Dave Halter
1df98c5bd6
Remove no_unicode_pprint
2020-07-02 00:54:17 +02:00
Dave Halter
aab9fd2fbe
Remove queue compatibility
2020-07-02 00:52:26 +02:00
Dave Halter
4e2ca9e5fd
Remove some pickle compatibility
2020-07-02 00:50:58 +02:00
Dave Halter
395f7fc59e
Remove inspect.Parameter compatibility
2020-07-02 00:44:25 +02:00
Dave Halter
86eb48a89b
Remove unwrap compatibility
2020-07-02 00:40:08 +02:00
Dave Halter
3262ad4350
Remove the scandir compatibility
2020-07-02 00:38:44 +02:00
Dave Halter
fb34df3987
Remove a way for using imp to load Jedi in a subprocess
2020-07-02 00:37:09 +02:00
Dave Halter
23db298e2f
Removed various 3.3/3.4/3.5 references
2020-07-02 00:34:27 +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
Peter Law
f72adf0cbc
Switch to much simpler solution for preserving unbound type vars
...
Co-Authored-By: Dave Halter <davidhalter88@gmail.com >
2020-06-26 11:23:35 +01:00
Peter Law
5184d0cb9c
Support passing values through decorators from factories
...
This builds on the approach taken in https://github.com/davidhalter/jedi/pull/1613
but applies it to type vars themselves so that their type var
nature is preserved when a function returns Callable[[T], T] and
the T has an upper bound.
2020-06-26 11:22:19 +01:00
Miltos
bc5a8ddf87
Add __matmul__ to supported operators.
2020-06-25 17:35:07 +01: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
Ryan Clary
7ec8454fc1
* Provide option to pass environment variables to Environment and CompiledSubprocess (subprocess.Popen)
...
* Extend this option to find_system_enviornments and get_system_environment without breaking API
2020-06-21 08:08:32 -07: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
364d33119c
Merge branch 'django'
2020-06-14 22:24:31 +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
1d1c0ec3af
Better debugging output for is_sub_class_of
2020-06-14 17:55:53 +02:00
Peter Law
7e637c5e5e
Python 2 compatible super()
2020-06-14 16:27:39 +01:00
Peter Law
1f082b69d2
Handle passing functions and classes through a TypeVar
...
This fixes #1425 and #1607 by persisting the original underlying
function or class when we process a TypeVar they are passed into.
2020-06-13 23:28:20 +01:00
Dave Halter
3415ccbb73
Add support for Django signatures, fixes parts of #1587
2020-06-13 16:18:47 +02:00
Dave Halter
365d725bc1
Fix a small issue that was inadvertently changed
2020-06-13 00:26:12 +02:00