1
0
forked from VimPlug/jedi
Commit Graph

262 Commits

Author SHA1 Message Date
Dave Halter ee52cc7501 Fix most dynamic array issues. 2017-09-26 17:26:33 +02:00
Dave Halter 592f2dac95 A lot more fixes for tests. 2017-09-26 16:29:07 +02:00
Dave Halter 174eff5875 Replace a lot more of empty sets and unite calls. 2017-09-25 23:08:59 +02:00
Dave Halter 5328d1e700 Add a ContextSet.
This is not bug free yet, but it's going to be a good abstraction for a lot of small things.
2017-09-25 11:04:09 +02:00
Dave Halter a433ee7a7e Move common to evaluate.utils. 2017-09-20 20:33:01 +02:00
Dave Halter a8a15114ac Fix namedtuple support
There were a couple issues:
 - namedtuple with one member didn't work
 - namedtuple content access was never possible
 - operator.itemgetter didn't work properly. Corrected py__bool__ for FakeSequence

Fixes #730.
2017-09-12 11:06:39 +02:00
Dave Halter e85000b798 Replace memoize_default with two nicer functions. 2017-09-05 18:46:16 +02:00
Dave Halter c47f5ca68c Fix issues with yield. 2017-09-01 18:38:19 +02:00
Dave Halter 8d6732c28c Remove a print statement. 2017-07-16 22:16:13 +02:00
Dave Halter 7e4504efbd Fix ellipsis issues of python2. 2017-07-16 20:07:49 +02:00
Dave Halter a0b65b52c6 used_names -> get_used_names(). 2017-04-12 08:56:11 +02:00
Dave Halter 1625834f81 Move get_comp_fors out of the parser. 2017-04-08 14:16:00 +02:00
Dave Halter 6a9c2f8795 Start using ContextualizedNode for py__iter__. 2017-03-28 01:34:07 +02:00
Dave Halter bb9ea54402 Remove ImplicitTuple. 2017-03-27 23:18:06 +02:00
Dave Halter e7fcc21863 Remove both MergedNodes and AlreadyEvaluated, they are unused. 2017-01-23 20:36:26 +01:00
Dave Halter 7623b1e350 Removed tree.is_node.
It's not needed anymore, because we have Node/Leaf.type now.
2017-01-23 20:34:30 +01:00
Dave Halter 1f15ee8bc7 Fix an issue with contexts. 2017-01-06 00:08:01 +01:00
Dave Halter ae8e43d3c7 Move get_node() to tree_node and replace all the custom classdefs/funcdefs. 2017-01-05 23:43:12 +01:00
Dave Halter 01099ce5a9 Create a name for the generators. 2017-01-04 18:12:33 +01:00
Dave Halter 5d071ede8c Fix the typing module issues in Python 3.6. 2017-01-02 15:01:12 +01:00
Dave Halter b7ae8a746c Simplify recursion issues. 2016-12-18 17:24:20 +01:00
Dave Halter 437f915f35 Delete a lot of names dict related stuff but also other things that were not used anymore. 2016-12-17 16:51:28 +01:00
Dave Halter 5fb5580259 Fix a few things that were broken by the mixed object refactoring. 2016-12-16 17:29:37 +01:00
Dave Halter edf1c319c6 Fix all remaining static analysis tests. This time we have just hacked around and added proper contexts to the iterables. It's not as clean as it could be. 2016-12-15 00:34:14 +01:00
Dave Halter 6c4abcc84c Fix some more issues with imports and attribute warnings of static analysis. 2016-12-14 01:35:55 +01:00
Dave Halter 97ccb74ebb Api classes test fixes. 2016-12-07 01:00:03 +01:00
Dave Halter 2edbe44d64 Fix some next() stuff. 2016-12-03 03:45:27 +01:00
Dave Halter 7607db801f Rewrite the next function. 2016-12-03 02:54:09 +01:00
Dave Halter da1a163da7 Fix python 2 string iterators. 2016-12-03 02:08:40 +01:00
Dave Halter ba8a3215f2 Fix some issues with usages and imports. 2016-12-02 23:51:01 +01:00
Dave Halter dfc06dfe83 A lot of small bug fixes. 2016-12-02 15:08:54 +01:00
Dave Halter 16a48a7a45 Fix a lot of list comprehensions. 2016-12-02 11:17:55 +01:00
Dave Halter c3f6172ca2 Fix dynamic arrays. 2016-11-27 21:51:05 +01:00
Dave Halter c1b7acc9ac Get finally rid of context.type. 2016-11-26 10:32:44 +01:00
Dave Halter bad1f85f8f Improvements towards arrays / predefined names logic. 2016-11-25 23:31:45 +01:00
Dave Halter 8fd08c86b7 Fix some mostly iterable related stuff. 2016-11-24 21:06:55 +01:00
Dave Halter 7ed1c95737 Fix dynamic param tests. 2016-11-24 00:11:26 +01:00
Dave Halter 06efc8fb8c Fixing lambdas. 2016-11-20 22:09:45 +01:00
Dave Halter 05581714d9 Fix goto tests. 2016-11-17 23:28:47 +01:00
Dave Halter d15016c5c1 Fix the whole test suite of descriptors. 2016-11-16 22:57:07 +01:00
Dave Halter 21e17b7762 Fix an issue with dicts. 2016-11-16 09:49:00 +01:00
Dave Halter af7c13d2e6 List comprehensions now at least don't cause errors anymore. 2016-11-16 09:43:45 +01:00
Dave Halter 31514dfe76 Fix a lot on PEP 484. 2016-11-14 23:29:09 +01:00
Dave Halter 03aa630932 Fixed all generator tests. 2016-11-14 20:57:46 +01:00
Dave Halter b2bdfe4a28 Array fixes except for conversions. 2016-11-13 16:18:46 +01:00
Dave Halter 7848be97ab Some improvements towards iterators. 2016-11-12 03:53:25 +01:00
Dave Halter 20380e80b0 Remove type(self).__name__ occurences, because python 2 will always output 'instance'. 2016-11-08 19:18:03 +01:00
Dave Halter 82667b85b9 Publicize the _evaluator in contexts. 2016-11-03 09:54:47 +01:00
Dave Halter 7291413696 More fixes for arrays. 2016-11-02 16:35:14 +01:00
Dave Halter 9a55c9cf50 Most function calls seem to work now. 2016-11-01 00:44:57 +01:00