1
0
forked from VimPlug/jedi
Commit Graph

47 Commits

Author SHA1 Message Date
Dave Halter
844a011193 Replacing the types list with a types set. Some tests are failing, though. 2015-10-13 18:03:36 +02:00
Dave Halter
99e819f91a Fix test failures. 2015-09-22 19:33:12 +02:00
Dave Halter
22da402a7a Replace the get_iterator_types function with a different interface, which enables Jedi to detect invalid for loop inputs that are not iterable. 2015-09-22 19:18:36 +02:00
Dave Halter
786217acad Prepare replacing get_iterator_types. 2015-09-22 17:34:46 +02:00
Dave Halter
88bcb8e476 Rename params -> arguments. 2015-09-22 12:57:04 +02:00
Dave Halter
e222a30227 Implement the type builtin better and with a lot more tests. 2015-07-01 14:27:49 +02:00
Dave Halter
ef4b424cda Replace pr with tree, #566. 2015-04-28 01:34:31 +02:00
Dave Halter
47615ae786 Remove pr.Array.type identifiers. 2014-12-19 01:05:52 +01:00
Dave Halter
4897791901 Remove old precedence stuff. 2014-12-16 18:28:45 +01:00
Dave Halter
bf8645d615 namedtuple fix 2014-12-11 13:08:09 +01:00
Dave Halter
94ea2c1096 Issues with argument clinic parser. 2014-12-08 15:45:40 +01:00
Dave Halter
e51a393e4c Fix reversed. 2014-12-01 12:41:47 +01:00
Dave Halter
9f45f18ad1 Added a grammar param to the parser. 2014-11-24 01:10:39 +01:00
Dave Halter
c152a1c58b Actually replace tree with representation (in all the imports). 2014-11-23 19:46:52 +01:00
Dave Halter
3b7454e294 copy fixes. 2014-11-20 14:51:01 +01:00
Dave Halter
a6e1348757 type implementation. 2014-11-20 12:31:11 +01:00
Dave Halter
f2e3a3d090 Just rebuilt reversed. 2014-11-20 11:56:58 +01:00
Dave Halter
ca70d32f23 isinstance fixes 2014-11-05 22:14:38 +01:00
Dave Halter
1c09a90ac1 Disable usage of filter_private_variable for now. 2014-10-28 17:00:12 +01:00
Dave Halter
4f2223ae7b Super is now working. Still has the same flaws like the old implementation, but the tests are passing. 2014-10-28 16:22:59 +01:00
Dave Halter
500ac9b384 A irst super() implementation in stdlib. 2014-10-28 15:50:05 +01:00
Dave Halter
d27df89681 A temporary argument clinic implementation for the stdlib. 2014-10-28 14:56:22 +01:00
Dave Halter
7b91050c85 introduce something that resembles argument clinic in stdlib. 2014-10-16 10:58:11 +02:00
Dave Halter
f911050300 Rewrote the isistance implementation, so that it works properly with tuples as well as normal classes. 2014-08-20 16:58:19 +02:00
Dave Halter
9abc8a19e7 By adding a py__class__ method to CompiledObject and Class, we Jedi is able to understand isinstance checks, now.
This also includes a CheckAttribute class in evaluatue.compiled, because it's way easier to generalize the AttributeErrors there.
2014-08-20 14:46:18 +02:00
Dave Halter
0e66aef511 Use IterableWrapper in the iterable module to be able to add methods like is_class quickly. 2014-08-20 14:01:41 +02:00
Dave Halter
09ca47fa93 Introduce a dedicated isinstance function implementation. 2014-08-19 23:57:59 +02:00
Dave Halter
ec7b3bf433 refactor py_base to py__bases__, because that's the general naming schema 2014-08-13 14:34:37 +02:00
Dave Halter
196afaacbf always operate on class in super and not on an instance. that's the proper way. 2014-07-30 11:34:27 +02:00
Dave Halter
3c92d175da using super() in actual executed classes wasn't possible. fixes #421 2014-07-30 11:27:27 +02:00
Dave Halter
53671bca84 replace get_super_classes with py_bases 2014-07-30 10:54:39 +02:00
Dave Halter
ddd4e92e84 temporary SuperInstance class to eventually handle super. But need something like mro() resolution first. 2014-07-29 23:57:29 +02:00
Danilo Bargen
d3620fd84f Implemented support for namedtuples (fixes #107)
Note that namedtuples are only supported for Python >2.6.
2014-07-26 17:51:38 +02:00
Dave Halter
7d73e571bb json.load[s] shouldn't return any results. fixed by overwriting the method 2014-06-27 11:56:40 +02:00
Dave Halter
cf1fd691da custom copy.copy and copy.deepcopy implementations to not confuse autocompletion (just return the first param) 2014-06-27 11:49:26 +02:00
Dave Halter
aba4a16ae3 fix indexing issues for multiple index options 2014-06-27 11:23:46 +02:00
Dave Halter
709c53a679 empty reversed issue, fixes traceback of #408 2014-05-17 12:32:18 +02:00
Dave Halter
4f3a15e235 solve random stdlib issue 2014-04-20 01:25:02 +02:00
Dave Halter
a341791fda found list indexing issue with sith and fixed it. 2014-04-16 01:31:49 +02:00
Dave Halter
db1b73d423 lo and behold - reversed is implemented - the force is strong with this one. fixes #24 2014-03-11 11:04:00 +01:00
Dave Halter
83b490dd6d PyObject -> CompiledObject, PyName -> CompiledName 2014-01-13 14:09:03 +01:00
Dave Halter
14c9ed88ca fixed the getattr/__getattr__ stuff 2014-01-10 15:14:55 +01:00
Dave Halter
f868668f0e trying to fix the getattr mess with compiled 2014-01-10 13:36:29 +01:00
Dave Halter
11e2446438 replaced builtin with compiled in all modules except imports 2014-01-09 11:05:04 +01:00
Dave Halter
e4692381cb created evaluate.iterable to push arrays and generators into a seperate file 2013-12-30 01:02:18 +01:00
Dave Halter
8561217333 evaluator executions instead of direct instances 2013-12-29 19:40:45 +01:00
Dave Halter
0f6b5b222b add a stdlib module to make it easy to write functions in pure python (instead of evaluating them) 2013-12-29 03:05:05 +01:00