Dave Halter
eb9a852443
Remove fakes, RIP
2018-09-17 02:25:01 +02:00
Dave Halter
bd3bd2e53b
Fix type completions on classes
2018-09-09 15:51:42 +02:00
Dave Halter
ac7ce7c481
Start implementing overload function
2018-08-26 03:37:26 +02:00
Dave Halter
05cf6af546
Implement a lot more for typing
2018-08-24 01:13:54 +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
11b2ac9923
Gettattr needs unicode
2018-08-13 09:53:26 +02:00
Dave Halter
84b89f4689
Rename py__getitem__ to py__simple_getitem
2018-08-10 19:31:19 +02:00
Dave Halter
7a48fdc5f6
Move execute_evaluated to a helper function
2018-08-05 01:28:03 +02:00
Dave Halter
59d43683dc
Merge branch 'master' into typeshed
2018-08-04 23:42:17 +02:00
Dave Halter
1547177128
Fix a recursion issue about compiled objects
2018-08-04 23:20:51 +02:00
Dave Halter
a3b5247de9
Merge branch 'master' into typeshed
2018-08-03 00:26:09 +02:00
Dave Halter
9ff5050d01
Use TreeContext in a good way
2018-08-03 00:25:25 +02:00
Dave Halter
e827559340
Get some first stubs working
2018-07-25 23:48:53 +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
88243d2408
Don't catch IndexError where we don't have to
2018-04-20 01:46:32 +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
5c1d979522
Fix an issue around __dir__ in the interpreter
...
Fixes #1027 .
2018-03-12 01:46:12 +01:00
Dave Halter
52298510ed
Fixing more py27 stuff
2017-12-29 02:02:34 +01:00
Dave Halter
05b2906dcc
Some more small improvements for Python 2
2017-12-28 23:58:19 +01:00
Dave Halter
ba81aa16a2
Use unicode in way more cases
2017-12-28 23:19:17 +01:00
Dave Halter
a8d3c46e9d
Refactor some things regarding Python 2 support
2017-12-27 02:09:58 +01:00
Dave Halter
8a82a5237d
Casting to str is not necessary
2017-12-26 15:32:25 +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
5a06ea2699
Start using a lot more unicode literals for Python 2
2017-12-24 03:11:28 +01:00
Dave Halter
c3efde3bfa
Add an optimization around compiled dir()
2017-12-14 22:28:22 +01:00
Dave Halter
3a7bc92863
Use builtins_module instead of BUILTINS
2017-12-10 18:52:51 +01:00
Dave Halter
13f8f37547
Use even more subprocess accesses
2017-12-06 15:16:27 +01:00
Dave Halter
f09ca9fc20
Use access handles everywhere
2017-12-06 14:46:27 +01:00
Dave Halter
617b11c92b
Move another usage of create to builtin_from_name
2017-12-04 08:57:43 +01:00
Dave Halter
85abc55e89
Remove unused code
2017-12-03 19:39:31 +01:00
Dave Halter
15d9e64281
Start creating access objects in a different way
2017-12-03 19:37:03 +01:00
Dave Halter
2aa2005502
Move some of the compiled.create calls to compiled.builtin_from_name
2017-12-01 09:54:29 +01:00
Dave Halter
543f4f7ff2
Move some stuff from compiled to context
2017-11-29 01:03:01 +01:00