This website requires JavaScript.
96b57f46cb
Release notes for 0.13.0
v0.13.0
Dave Halter
2018-10-02 01:14:28 +02:00
c24eb4bd67
Fix tensorflow issues with a few hacks (temporary), fixes #1195
Dave Halter
2018-10-02 00:51:51 +02:00
862f611829
If the VIRTUAL_ENV variable changes, need to reload the default environment, fixes #1201 , #1200
Dave Halter
2018-09-30 19:06:40 +02:00
f9cbc65f2d
Return SameEnvironment as a default, fixes #1226 , #1196
Dave Halter
2018-09-30 14:07:37 +02:00
e1f9624bd4
Document that using the REPL autocompletion is only available on Linux/Mac, fixes #1184
Dave Halter
2018-09-30 13:36:05 +02:00
6a2a2a9fa1
Fix an issue with f-strings, fixes #1224
Dave Halter
2018-09-30 13:26:54 +02:00
4545d91929
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
ba5abf4700
Change some tests slightly
Dave Halter
2018-09-30 00:35:45 +02:00
78f0cc9e8a
Better indentation when running run.py
Dave Halter
2018-09-29 01:19:36 +02:00
d6bdb206c8
Remove the old typing module support in favor of the new one
Dave Halter
2018-09-29 01:08:20 +02:00
6539031d5a
Remove CompiledStubClassContext, it's not used currently
Dave Halter
2018-09-29 00:59:13 +02:00
f35c233289
Fix some small issues with resulting types
Dave Halter
2018-09-28 18:22:57 +02:00
fbd72179a1
Define generics from a different function
Dave Halter
2018-09-28 18:16:09 +02:00
af5d9d804e
A better way to define generics
Dave Halter
2018-09-28 09:25:12 +02:00
8e8271cf54
Refactor dict/set/list/tuple literal generic inferring
Dave Halter
2018-09-27 00:01:35 +02:00
b5b0214c3c
Fix forward reference resolving
Dave Halter
2018-09-26 09:18:04 +02:00
4bb7a595e8
Fix some issues with signature matching
Dave Halter
2018-09-25 23:05:23 +02:00
7d3eba1d8d
py__bool__ should be called on CompiledObject in CompiledValue
Dave Halter
2018-09-25 08:58:01 +02:00
f3b2d49880
Fix annotation variables
Dave Halter
2018-09-25 00:33:44 +02:00
bdff4e21a8
Fix classmethod issues
Dave Halter
2018-09-25 00:19:55 +02:00
f1b45bed96
Fix some property issues
Dave Halter
2018-09-24 22:22:50 +02:00
fe41c29b29
Implement iter, it's probably necessary
Dave Halter
2018-09-24 21:10:54 +02:00
a06ca5d035
Fix generator return issues
Dave Halter
2018-09-24 20:59:43 +02:00
75a02a13d9
Use ContextSet closer to they way how Python's set works
Dave Halter
2018-09-24 20:21:29 +02:00
8fad33b125
Fix some async issues
Dave Halter
2018-09-24 09:45:10 +02:00
bbc6e830e2
Make it possible to use ContextSet with an iterable parameter
Dave Halter
2018-09-24 09:43:35 +02:00
ef9d0421fa
Merge remote-tracking branch 'origin/master' into typeshed
Dave Halter
2018-09-24 00:16:13 +02:00
cc493866cd
Try to introduce is_instance and is_function
Dave Halter
2018-09-24 00:09:40 +02:00
2ec4d1e426
The BUILTINS special object is no longer used
Dave Halter
2018-09-23 23:24:24 +02:00
de311b2f2d
Replace the Generator class for now
Dave Halter
2018-09-23 23:22:33 +02:00
c2b78b175c
Use async generator/async functions from typeshed
Dave Halter
2018-09-23 22:57:08 +02:00
a2b984ce24
also remove crashes with pep 448 unpacking of lists and sets
Claude
2018-09-22 23:29:13 +02:00
6bc79b4933
Fixed crash (and now recognises correctly) {**d, "b": "b"}["b"]
Claude
2018-09-22 22:18:17 +02:00
b9127147e4
Recognize {**d} as a dict instead of set
Claude
2018-09-22 21:45:34 +02:00
ff6516d1d7
Replace AsyncGenerator
Dave Halter
2018-09-23 15:41:23 +02:00
f435f23570
Small changes so some type var inferring works better
Dave Halter
2018-09-23 00:41:32 +02:00
994e7d1910
Fix an issue with type vars
Dave Halter
2018-09-22 21:00:42 +02:00
afb2755c27
Add extras_require=testing
Daniel Hahler
2018-09-16 05:36:29 +02:00
389d4e3d9c
Fix inferring dict.values()
Dave Halter
2018-09-21 01:09:13 +02:00
43ffcb0802
Also return the issues when retruning the executed params
Dave Halter
2018-09-21 00:20:24 +02:00
5fda4a2f8b
Start putting the signature matching onto the ExecutedParam class
Dave Halter
2018-09-20 21:14:07 +02:00
9807a7f038
Infer dict.get() in a fancy way
Dave Halter
2018-09-19 01:50:35 +02:00
57fa5f5bd9
Fix some signature matching for methods
Dave Halter
2018-09-18 23:48:26 +02:00
1b11162132
Quite a few changes to prepare arrays
Dave Halter
2018-09-18 00:17:51 +02:00
75ab83da63
Make it possible to have a string_name attribute on instance params
Dave Halter
2018-09-17 17:44:14 +02:00
cc3b08fd1b
More fixes, because of CompiledObject modifications
Dave Halter
2018-09-17 02:40:34 +02:00
eb9a852443
Remove fakes, RIP
Dave Halter
2018-09-17 02:24:49 +02:00
93d50e0f0c
Get more things working
Dave Halter
2018-09-17 02:16:16 +02:00
62df944c47
Fix a few issues with the newly defined CompiledValue
Dave Halter
2018-09-17 02:10:27 +02:00
d07d1a78d3
Use CompiledValue for simple values
Dave Halter
2018-09-17 01:05:36 +02:00
1107967f76
Fix some small issues
Dave Halter
2018-09-16 14:31:55 +02:00
56bd795100
_get_virtual_env_from_var: use safe=False
Daniel Hahler
2018-08-13 17:44:19 +02:00
cdb760487b
tests: venv_path: use session scope
Daniel Hahler
2018-09-16 05:35:25 +02:00
fc9a55b042
jedi/api/environment.py: minor flake8 fix
Daniel Hahler
2018-09-16 05:44:19 +02:00
5d9f29743c
Get iter() working and a lot of other typeshed reverse engineering of type vars
Dave Halter
2018-09-16 02:19:29 +02:00
1cf5b194ca
jedi.api.environment._SUPPORTED_PYTHONS: add 3.7
Daniel Hahler
2018-09-13 07:05:20 +02:00
6807e3b6d5
Use py__name__ instead of var_name for type vars
Dave Halter
2018-09-15 11:43:23 +02:00
1244eb9998
Better debug statements
Dave Halter
2018-09-13 22:47:12 +02:00
9ece2844f4
Better is_same_class function
Dave Halter
2018-09-13 22:41:30 +02:00
a646d930c8
Use some solid caching for typing
Dave Halter
2018-09-12 22:58:35 +02:00
6f8385143f
Use a frozenset in context sets and make it comparable/hashable
Dave Halter
2018-09-12 21:44:34 +02:00
1a29552bff
open returns str and bytes now with typeshed
Dave Halter
2018-09-10 00:56:50 +02:00
190a531daa
Fix the reversed object
Dave Halter
2018-09-10 00:30:24 +02:00
a68e35c895
Comprehension parent
Nicholas Gates
2018-09-09 22:49:06 +01:00
9722860417
Don't use ValueError, it could be thrown somewhere else
Dave Halter
2018-09-09 17:04:03 +02:00
7fff203360
Fix the next builtin
Dave Halter
2018-09-09 16:20:23 +02:00
bd3bd2e53b
Fix type completions on classes
Dave Halter
2018-09-09 15:51:42 +02:00
6abd96a398
Try to introduce a few new classes to better deal with compiled objects
Dave Halter
2018-09-08 17:48:00 +02:00
eac8cfe63d
Fix mro
Dave Halter
2018-09-08 17:04:07 +02:00
928e80c9e9
Fix search_global for builtins
Dave Halter
2018-09-08 16:58:18 +02:00
4a69ab3bf8
Cleanup StubParserTreeFilter.values
Dave Halter
2018-09-08 14:13:14 +02:00
91a18ec63c
Try to re-implement reversed
Dave Halter
2018-09-07 23:00:32 +02:00
9e7879d43f
Move py__mro__ to a separate function
Dave Halter
2018-09-07 00:46:54 +02:00
99c08fd205
Flows should be respected even in stubs
Dave Halter
2018-09-07 00:25:08 +02:00
82af902cc8
Actually use the previously written builtins_next function
Dave Halter
2018-09-06 19:24:48 +02:00
d0c1df5f2a
TreeContextWrapper -> ContextWrapper
Dave Halter
2018-09-06 19:13:59 +02:00
a5e6f26267
get_filters should always have the default search_global=False
Dave Halter
2018-09-06 01:06:09 +02:00
4730c71b16
Evaluate constraints instead of Any
Dave Halter
2018-09-06 00:59:42 +02:00
9cbf20aa48
Start replacing the builtin module
Dave Halter
2018-09-06 00:30:08 +02:00
68bd61708e
pkg_resources doesn't come packaged with the CPython stdlib
Dave Halter
2018-09-05 19:25:27 +02:00
fa16c9e59d
Fix some name inferance with stubs
Dave Halter
2018-09-05 10:29:37 +02:00
39162de2a8
Some more minor adaptions
Dave Halter
2018-09-05 01:49:19 +02:00
4a3fc91c1e
Implement StubParserTreeFilter.values
Dave Halter
2018-09-05 01:36:12 +02:00
ab872b9a34
Fix some tests
Dave Halter
2018-09-05 00:10:25 +02:00
e086c433ff
Fix compiled docstrings for stubs
Dave Halter
2018-09-04 10:08:09 +02:00
5d24bc7625
Refactor the compiled name stub wrappers a bit
Dave Halter
2018-09-04 09:44:29 +02:00
74db580671
Get compiled name working a bit better with stubs
Dave Halter
2018-09-04 01:51:02 +02:00
6036ea60d1
Fix interpreter issues with modules
Dave Halter
2018-09-04 01:02:00 +02:00
f432a0b7c4
Fix namedtuple and property issues
Dave Halter
2018-09-04 00:27:40 +02:00
38176ae7e6
Implement itemgetter partially
Dave Halter
2018-09-04 00:01:55 +02:00
35ce54630e
Make it possible to use *args in argument clinic
Dave Halter
2018-09-03 19:12:36 +02:00
39f1dfc85e
WIP of namedtuple/itemgetter/property
Dave Halter
2018-09-03 09:50:45 +02:00
0edc63ca8b
Fix an issue in the tests that typeshed avoids
Dave Halter
2018-09-03 01:41:55 +02:00
3351b06603
Implement random.choice
Dave Halter
2018-09-03 01:35:30 +02:00
5302032b63
The sub typeshed definitions are wrong at the moment
Dave Halter
2018-09-03 01:04:41 +02:00
6bf21c4157
Better typevar class comparisons
Dave Halter
2018-09-03 00:58:10 +02:00
a28b179a45
Fix partial
Dave Halter
2018-09-02 19:12:13 +02:00
7d6141abb7
Fix some small things to make a lot more tests pass
Dave Halter
2018-09-02 14:03:43 +02:00
e3203ebaa5
Try to change the module cache
Dave Halter
2018-09-02 13:06:36 +02:00
ecda9cc746
Move py__getattribute__ to typeshed imports
Dave Halter
2018-09-01 17:17:39 +02:00