1
0
forked from VimPlug/jedi
Commit Graph

26 Commits

Author SHA1 Message Date
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