Dave Halter
|
92c59180fd
|
Make sure goto definitions works on with, fixes #1280
|
2019-12-13 16:57:18 +01:00 |
|
Dave Halter
|
923fcf95d9
|
Make sure that __getattr__ is always working with Interpreter
fixes #1378
|
2019-12-13 16:07:38 +01:00 |
|
Dave Halter
|
902f0754e0
|
qualified names can be None, so we need to handle it
|
2019-12-13 14:36:05 +01:00 |
|
Dave Halter
|
12b07a435d
|
Cleanup some callbacks
|
2019-12-13 12:47:55 +01:00 |
|
Dave Halter
|
769b3556d2
|
Make sure warnings are not shown if a property is executed, fixes #1383
|
2019-12-13 01:48:56 +01:00 |
|
Dave Halter
|
5e3e268cc6
|
Fix RecursionError: global statements in modules should just be ignored, fixes #1457
|
2019-12-13 00:21:36 +01:00 |
|
Dave Halter
|
e656a5f18f
|
Make it possible to infer Callable TypeVars, fixes #1449
|
2019-12-12 23:46:55 +01:00 |
|
Dave Halter
|
536a77551b
|
Account for sys path potentially not being all unicode in typeshed, fixes #1456
This is a bit stupid, but don't care too much, it will get removed soon, when
Python 2 support is going to get removed.
|
2019-12-11 00:30:37 +01:00 |
|
Dave Halter
|
a2cebc4b92
|
Make sure docstrings can always be inferred for builtins modules, fixes #1432
|
2019-12-11 00:06:58 +01:00 |
|
Dave Halter
|
8e33fd1931
|
Get the context of a class name right, fixes #1396
|
2019-12-09 09:56:03 +01:00 |
|
Dave Halter
|
28ecc2709a
|
Don't use globals anymore
|
2019-12-09 00:15:21 +01:00 |
|
Dave Halter
|
33224ae7e1
|
Remove a duplicate method
|
2019-12-09 00:11:51 +01:00 |
|
Dave Halter
|
d9260bf78b
|
More docstrings
|
2019-12-09 00:07:07 +01:00 |
|
Dave Halter
|
a51dc54759
|
A bit better documentation
|
2019-12-09 00:02:44 +01:00 |
|
Dave Halter
|
5acbb06315
|
Refactor so typing uses BaseTypingValueWithGenerics
This makes it finally possible to use type vars with Callable and some other classes.
Fixes #1413
|
2019-12-08 23:50:57 +01:00 |
|
Dave Halter
|
7319f8bf2c
|
Make some more classes private for inference.gradual.base
|
2019-12-08 23:15:31 +01:00 |
|
Dave Halter
|
d9ddaa31ae
|
Use _create_instance_with_generics
|
2019-12-08 23:09:55 +01:00 |
|
Dave Halter
|
5874b0bd69
|
The generics manager is now part of DefineGenericBase
|
2019-12-08 23:03:15 +01:00 |
|
Dave Halter
|
9eef771ec5
|
Remove get_index_and_execute and use something else
|
2019-12-08 22:55:52 +01:00 |
|
Dave Halter
|
9e6c53151b
|
_InstanceWrapper to _GenericInstanceWrapper
|
2019-12-08 22:47:07 +01:00 |
|
Dave Halter
|
84d10657a3
|
Another rename for readability
|
2019-12-08 22:46:35 +01:00 |
|
Dave Halter
|
5c4b3da45d
|
Merge GenericClass and _AbstractAnnotatedClass
|
2019-12-08 22:45:30 +01:00 |
|
Dave Halter
|
ad92882c48
|
Use the generics manager for all the typing classes
|
2019-12-08 22:42:01 +01:00 |
|
Dave Halter
|
8213d183fb
|
Start using generic managers, for #1413
|
2019-12-08 21:56:30 +01:00 |
|
Dave Halter
|
4fca7bd22d
|
Start working on generic managers, see #1413
|
2019-12-08 20:35:00 +01:00 |
|
Dave Halter
|
c112858a1c
|
Move iter_over_arguments to a separate file
|
2019-12-08 20:14:15 +01:00 |
|
Dave Halter
|
deaa7265dd
|
value_of_index -> context_of_index
|
2019-12-08 20:09:53 +01:00 |
|
Dave Halter
|
72fc85f4c3
|
Try to prepare DefineGenericBase for a more general usage
|
2019-12-08 19:58:00 +01:00 |
|
Dave Halter
|
df697cfb03
|
Make AbstractAnnotatedClass private
|
2019-12-08 19:00:26 +01:00 |
|
Dave Halter
|
fd054d1add
|
Move parts of AbstractAnnotatedClass to the new class DefineGenericBase
|
2019-12-08 18:58:28 +01:00 |
|
Dave Halter
|
95763f0bb0
|
Formatting
|
2019-12-08 18:23:55 +01:00 |
|
Dave Halter
|
aab0002950
|
Rename two classes to make some things clearer
|
2019-12-07 15:32:59 +01:00 |
|
Dave Halter
|
ddbb87fd1d
|
Make some lines shorter
|
2019-12-07 15:29:56 +01:00 |
|
Dave Halter
|
bc99fbdfea
|
Remove an unused InstanceArguments
|
2019-12-07 15:27:26 +01:00 |
|
Dave Halter
|
48ac0c9421
|
Move more stuff from gradual/typing.py to gradual/base.py
|
2019-12-07 15:27:14 +01:00 |
|
Dave Halter
|
37a9d1536c
|
Remove TypingName, it looks like it's not used
|
2019-12-07 15:12:27 +01:00 |
|
Dave Halter
|
3dbe5c10ae
|
Start splitting up gradual/typing.py
|
2019-12-07 15:11:50 +01:00 |
|
Dave Halter
|
ab8f0ba834
|
Make sure Callable TypeVars are better identified, solves a part of #1413
|
2019-12-07 15:02:41 +01:00 |
|
Dave Halter
|
4bd7c2e627
|
Remove a TODO that was implemented
|
2019-12-07 14:56:20 +01:00 |
|
Dave Halter
|
36b800f8d3
|
Make sure that Tuple autocompletes properly, fixes #1389
|
2019-12-05 18:55:33 +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
|
700bd12122
|
Improve call signature detection by a lot
Fixes #1399
|
2019-12-04 23:55:26 +01:00 |
|
Dave Halter
|
4ba3dc69b3
|
Make sure we use the right context in case of goto with decorators, fixes #1427
|
2019-12-04 00:25:43 +01:00 |
|
Dave Halter
|
b8a1f6da55
|
Python 2 still sucks.
|
2019-12-03 23:41:33 +01:00 |
|
Dave Halter
|
19aa50bb7f
|
Make sure an assert no longer causes unnecessary trouble
Fixes #1426, fixes #1414
|
2019-12-03 23:10:24 +01:00 |
|
Dave Halter
|
f46f00bc71
|
Avoid wrong random call signature completion, fixes #1433
|
2019-12-03 22:12:33 +01:00 |
|
Dave Halter
|
fea80c7fc8
|
Make sure py__iter__ has the right signature
|
2019-12-03 17:18:55 +01:00 |
|
Dave Halter
|
87852c1295
|
Remove probably dead code
|
2019-12-03 17:16:38 +01:00 |
|
Dave Halter
|
3d784c748e
|
Python 2
|
2019-12-03 16:53:07 +01:00 |
|
Dave Halter
|
e5d1091e80
|
Make sure execute_function_slots and get_function_slots is defined for all instances
|
2019-12-03 16:50:34 +01:00 |
|