Dave Halter
94dfe7bf69
Use even more stubs to get more complex completions for e.g. strings working
2019-06-07 02:37:51 +02:00
Dave Halter
97f342fc4c
Fix qualified names for CompiledObject
2019-06-07 01:33:37 +02:00
Dave Halter
de03b96232
Fix a small issue about accesses
2019-06-05 23:29:45 +02:00
Dave Halter
0a56211df8
Setting correct parents for CompiledObject filters
2019-06-04 23:31:42 +02:00
Dave Halter
9aa8f6bcf2
Better signature calculation
2019-05-23 01:36:51 +02:00
Dave Halter
b17e7d5746
A work in progress improvement for compiled signatures
2019-05-21 09:37:17 +02:00
Dave Halter
4b2518ca9a
Remove special objects, they are no longer needed
2019-05-19 14:28:39 +02:00
Dave Halter
c4f0c7940f
Remove MODULE_CLASS in favor of a typeshed solution
2019-05-19 14:22:03 +02:00
Dave Halter
f9eedfbf64
Remove FUNCTION_CLASS, in favor of a typeshed solution
2019-05-19 14:19:30 +02:00
Dave Halter
2cb1bd162f
Better signature support for docstrings
2019-05-05 19:09:21 +02:00
Dave Halter
c0f5c5f24c
print_to_stderr can be replaced with a proper future import
2019-04-03 09:37:40 +02:00
Dave Halter
fcda3f7bc5
Properly handle no __getitem__ on CompiledObject
2018-12-20 00:34:15 +01:00
Dave Halter
644e292fa7
Get rid of is_super_class and do some different things in analysis
2018-11-24 14:09:14 +01:00
Dave Halter
2ec4d1e426
The BUILTINS special object is no longer used
2018-09-23 23:24:24 +02:00
Dave Halter
de311b2f2d
Replace the Generator class for now
2018-09-23 23:22:33 +02:00
Dave Halter
c2b78b175c
Use async generator/async functions from typeshed
2018-09-23 22:57:08 +02:00
Dave Halter
eb9a852443
Remove fakes, RIP
2018-09-17 02:25:01 +02:00
Dave Halter
fe78fa9850
Move to using py__getitem__ and py__simple_getitem__
...
This change is necessary to handle more complex cases with py__getitem__
2018-08-13 18:42:09 +02:00
Dave Halter
84b89f4689
Rename py__getitem__ to py__simple_getitem
2018-08-10 19:31:19 +02:00
Hugo
7c9f24a18e
Drop support for EOL Python 3.3 ( #1019 )
2018-08-04 00:40:00 +02:00
Dave Halter
9ca7b30e38
Rewrite the pyc test
2018-08-03 23:59:55 +02:00
Dave Halter
f25310e0b9
BoundMethods now have access to the function that they are using
2018-08-03 00:25:25 +02:00
Dave Halter
508ed7e5b8
Directly load modules if possible, with this it's not necessary anymore to use dotted_from_fs_path, also fixes #1013 .
2018-07-05 10:03:05 +02:00
Dave Halter
f4aad8bbfe
Finally make it possible to use auto_import_modules for packages
...
This means that you can now write 'from gi.repository import Gtk' and Gtk completions work.
It also means that other libraries could be used like that for speed or other reasons.
Fixes #531
2018-07-03 00:58:43 +02:00
Dave Halter
5d36114be4
Use inspect.Parameter.kind for better differentiation between param types
...
Refs #292
2018-03-13 22:47:08 +01:00
Dave Halter
3820111d1e
Fix some more await things
2018-02-28 23:30:20 +01:00
Dave Halter
2d4636da5b
Fix for all python versions
2018-02-21 01:23:50 +01:00
Dave Halter
c1d06f4638
Getting more edget cases work in 3.6 for async
2018-02-21 01:11:59 +01:00
Dave Halter
f1c2aef963
Fix the merge issues. Now async stuff should at least partially work
2018-02-19 01:35:37 +01:00
Dave Halter
92c76537d6
print_to_stderr needs to be used with one argument
...
See #1010 .
2018-02-05 19:19:05 +01:00
Dave Halter
ac597815d7
Print errors that happen when importing certain objects
...
See also #1010 .
2018-02-04 23:50:28 +01:00
Dave Halter
3ae0560f1c
Fix an issue where a default value was wrongly used
2018-01-31 00:11:30 +01:00
Dave Halter
fc458a3c2a
inspect.signature throws weird errors sometimes, just make it a bit simpler
...
Fixes #1031
2018-01-26 01:30:10 +01:00
Dave Halter
fe813292cf
Try to migrate to the new project API
2018-01-16 23:56:35 +01:00
Dave Halter
a1051bd5f2
Better display of descriptors
2017-12-29 03:29:08 +01:00
Dave Halter
a8d3c46e9d
Refactor some things regarding Python 2 support
2017-12-27 02:09:58 +01:00
Dave Halter
ab42e856fb
Use unicode in compiled access
2017-12-26 03:24:26 +01:00
Dave Halter
c3483344fe
Refactor allowed_getattr_callback a bit to not raise random errors.
2017-12-24 12:55:32 +01:00
Dave Halter
993b0973c5
The default of one function was not actually used
2017-12-24 12:12:27 +01:00
Dave Halter
4a366ab728
Refactor a bit and force unicode in some places and use an appropriate function name for it
2017-12-24 04:05:02 +01:00
Dave Halter
085a9e0e33
More unicode conversions
2017-12-24 03:46:33 +01:00
Dave Halter
ee099a4ff7
Don't use getattr, use the abstractions
2017-12-24 03:39:28 +01:00
Dave Halter
40f1354f67
More unicode conversions
2017-12-24 03:35:15 +01:00
Dave Halter
5a06ea2699
Start using a lot more unicode literals for Python 2
2017-12-24 03:11:28 +01:00
Dave Halter
a38acdbe08
Use unicode sys paths always
2017-12-24 02:42:14 +01:00
Dave Halter
6780eba157
Fix sys_path propagation for builtins load_module
2017-12-18 20:16:58 +01:00
Dave Halter
c3efde3bfa
Add an optimization around compiled dir()
2017-12-14 22:28:22 +01:00
Dave Halter
e03afc60ef
Make get_repr static in access.
2017-12-13 19:16:29 +01:00
Dave Halter
b196c6849b
Don't try to pickle ellipsis
2017-12-11 20:55:34 +01:00
Dave Halter
649225333f
Get the subprocess mostly working
2017-12-08 09:44:12 +01:00