Tim Gates
c28b337278
docs: Fix a few typos
...
There are small typos in:
- jedi/api/exceptions.py
- jedi/inference/base_value.py
- jedi/inference/compiled/mixed.py
- jedi/inference/value/dynamic_arrays.py
Fixes:
- Should read `usually` rather than `ususally`.
- Should read `modifications` rather than `modfications`.
- Should read `interpreters` rather than `interpreteters`.
- Should read `inferred` rather than `inferrined`.
- Should read `completable` rather than `completeable`.
Signed-off-by: Tim Gates <tim.gates@iress.com >
2022-07-15 17:29:02 +10:00
Lumír 'Frenzy' Balhar
eab1b8be8b
inspect now raises OSError for objects without source file
...
CPython issue: https://bugs.python.org/issue44648
2021-09-01 20:50:54 +02:00
Dave Halter
cb55b45d47
Catch an OSError on Windows
2020-09-19 22:13:45 +02:00
Dave Halter
e3fedb52f1
Remove an unused import
2020-09-19 21:40:01 +02:00
Dave Halter
f12ed2088a
Use pathlib for file ios, because the new parso is out
2020-08-05 00:52:50 +02:00
Dave Halter
1ece7698c2
Merge branch 'master' into python3
2020-07-17 16:07:54 +02:00
Dave Halter
7851dff915
Properly negate with Interpreter, fixes #1636
2020-07-17 15:57:32 +02:00
Dave Halter
9957374508
Fix dict completions for inherited dicts, fixes #1631
2020-07-14 17:50:12 +02:00
Dave Halter
a0de93a638
Remove super arguments
2020-07-02 10:59:59 +02:00
Dave Halter
f4e537fd72
Remove a lot of sys.version_info references
2020-07-02 02:49:35 +02:00
Dave Halter
86eb48a89b
Remove unwrap compatibility
2020-07-02 00:40:08 +02:00
Dave Halter
f42ab8872d
compiled_object -> compiled_value
2020-01-25 18:25:19 +01:00
Dave Halter
8cccdde28d
CompiledObject -> CompiledValue
2020-01-25 18:13:50 +01:00
Dave Halter
517fa27dc6
Revisit caching of mixed
2020-01-25 17:58:12 +01:00
Dave Halter
329329c195
Make MixedName a Namewrapper instead of inheritance
2020-01-25 17:54:19 +01:00
Dave Halter
8bde54a072
Remove underscore_memoization caching method
2020-01-25 17:29:52 +01:00
Dave Halter
235b887b75
Refactor MixedName quite a bit
2020-01-25 16:56:01 +01:00
Dave Halter
da2a55c73f
Fix issue with mixed objects, fixes #1480
2020-01-25 15:02:55 +01:00
Dave Halter
9c0efd5a67
Prepare a test for #1479
2020-01-25 01:07:20 +01:00
Dave Halter
7683c05de3
Fix value/context mixup in mixed, fixes #1479
2020-01-24 22:09:25 +01:00
Dave Halter
800ab65701
Fix a bug where parent_context was a value
2020-01-07 11:27:36 +01:00
Dave Halter
66ad620692
Get rid of a lot of flake8 errors
2020-01-01 02:42:31 +01:00
Dave Halter
902b355aea
Avoid recursion in a specific example, see also #1458
2019-12-20 01:33:41 +01:00
Dave Halter
54f4bd0bad
Fix issues with interpreter completions on unittest.mock.
...
For 3.6+ an error was ignored that lead to crashes. In 3.5 the OOM killer
eventually arrived...
Fixes #1415
2019-12-05 10:09:22 +01:00
Dave Halter
f43d144e23
Remove is_package on contexts
2019-12-01 21:01:33 +01:00
Dave Halter
582df2f76d
Fix the MixedContext and also use MixedModuleContext
2019-12-01 17:22:36 +01:00
Dave Halter
c393a406ee
Refactoring of the contexts to properly use inheritance
2019-08-23 15:28:55 +02:00
Dave Halter
041fd992b3
create_value can deal with modules now
2019-08-23 00:45:59 +02:00
Dave Halter
05fe29a156
Get rid of the node_is_value parameter
2019-08-23 00:02:39 +02:00
Dave Halter
6d5e9f4b0f
Remove node_is_object, not used anymore
2019-08-22 23:13:42 +02:00
Dave Halter
2fb04db0ab
Fix the weird py__path__ behavior
2019-08-21 23:08:42 +02:00
Dave Halter
55c08e06ab
Remove a hack that is no longer necessary
2019-08-21 09:25:15 +02:00
Dave Halter
14fc5ed289
Fix more issues with where contexts are used and where values are used
2019-08-20 09:59:10 +02:00
Dave Halter
39b294e085
Fix some interpreter issues
2019-08-20 09:09:19 +02:00
Dave Halter
165639c1dd
Start implementing the bulk of the context/value separation
2019-08-16 16:12:12 +02:00
Dave Halter
03920502c4
infer_state -> inference_state
2019-08-16 11:44:30 +02:00
Dave Halter
600272366f
parent_value -> parent_context
2019-08-15 09:36:46 +02:00
Dave Halter
9986d8c9aa
Context -> Value
2019-08-15 01:26:11 +02:00
Dave Halter
ad4f546aca
context -> value
2019-08-15 01:23:06 +02:00
Dave Halter
9e23f4d67b
Move base_context -> base_value
2019-08-15 00:41:02 +02:00
Dave Halter
a5dff65142
Evaluator -> InferState
2019-08-15 00:37:51 +02:00
Dave Halter
3b4f292464
Move the evaluate package to inference
2019-08-15 00:14:26 +02:00