Hugo
7c31ea9042
Drop support for EOL Python 2.6
2018-01-07 10:40:05 +02:00
Dave Halter
0762c9218c
Move arguments to a separate module.
2017-10-01 13:29:28 +02:00
Dave Halter
39b24ff2df
Move lazy contexts to a separate module not in contexts
2017-09-30 18:02:02 +02:00
Dave Halter
16011a91af
Move iterable to context/iterable.
2017-09-30 17:41:21 +02:00
Dave Halter
f733e07045
AbstractSequence -> AbstractIterable.
2017-09-30 17:23:15 +02:00
Dave Halter
2c81bd919e
ClassContext is now importable from context.
2017-09-30 16:57:28 +02:00
Dave Halter
3c75f27376
Move the base Context stuff to another module to keep context free for imports.
2017-09-30 16:46:07 +02:00
Dave Halter
8c601a1c65
Also move the class to the context package.
2017-09-29 15:39:20 +02:00
Dave Halter
95930d293c
Move instance module to the context package.
2017-09-29 15:14:56 +02:00
Dave Halter
8f177eea07
Move the ModuleContext to a separate module.
2017-09-29 13:24:48 +02:00
Dave Halter
8c0845cf0c
Move iterate logic to the context.
2017-09-28 13:13:09 +02:00
Dave Halter
b08300813e
Fix an issue surrounding namedtuples where I didn't see the tests failing.
2017-09-28 10:39:54 +02:00
Dave Halter
ed43a68c03
Remove the precedence module in favor of the syntax tree module.
2017-09-27 19:09:30 +02:00
Dave Halter
b1ed0c7d22
Add py__class__ to ContextSet.
2017-09-27 14:09:09 +02:00
Dave Halter
b74c8cb033
To be able to customize ContextSet, move a subclass to evaluate.context
2017-09-27 09:20:58 +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
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
04c4313dc7
Start refactoring arguments.
2017-09-09 17:58:06 +02:00
Dave Halter
b90589b62e
Some changes because parso has changed.
2017-05-22 15:42:42 -04:00
Dave Halter
9bca3d39f5
Actually use parso now instead of Jedi.
2017-05-19 14:20:14 -04:00
Dave Halter
b4039872bd
Replace Scope.subscopes with iter_funcdefs and iter_classdefs.
2017-04-30 01:36:17 +02:00
Dave Halter
6a9c2f8795
Start using ContextualizedNode for py__iter__.
2017-03-28 01:34:07 +02:00
Dave Halter
0f66a3c7a8
Remove the module attribute from the parser.
2017-03-18 03:53:34 +01:00
Dave Halter
eaf0100446
Some analysis improvements.
2016-12-11 15:03:19 +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
d74e48dae2
Fix context completions and super calls.
2016-11-29 18:38:04 +01:00
Dave Halter
5b81a2375d
More tests and better understanding of if/try branches name resolution.
2016-11-29 10:21:50 +01:00
Dave Halter
f6070496ad
Fixes to the isinstance tests.
2016-11-28 09:34:59 +01:00
Dave Halter
fe54285311
Only 125 fails left in the integration tests.
2016-11-26 00:25:31 +01:00
Dave Halter
75e412dbc5
Remove the old instance.
2016-11-24 19:59:26 +01:00
Dave Halter
cfc988b786
Fix super calls.
2016-11-10 09:00:24 +01:00
Dave Halter
4a8fd73601
Fixing getattr tests.
2016-11-07 20:15:58 +01:00
Dave Halter
2eb701d2d2
Some class fixes.
2016-11-01 18:28:47 +01:00
Dave Halter
75b67af000
Starting to improve function calls.
2016-10-22 21:02:15 +02:00
Dave Halter
2e6603cc2e
A lot of small improvements.
2016-10-22 17:40:42 +02:00
Dave Halter
6a8138d185
Improve the compiled object generation caching, which was very wrong and is ok now, but still needs improvements.
2016-07-03 15:32:08 +02:00
Dave Halter
5791860861
Actual forward reference annotations are working pretty smooth now.
2015-12-20 22:57:41 +01:00
Dave Halter
9e8da17688
Remove py__class__ evaluator param from representation objects.
2015-12-10 16:39:27 +01:00
Dave Halter
506d5a4f31
Remove evaluator param from py__bases__.
2015-12-10 16:16:30 +01:00
Dave Halter
98b1845784
Remove evaluator param from py__mro__.
2015-12-10 16:12:43 +01:00
Dave Halter
b10a048167
Get rid of Array.values() and Array.__iter__().
2015-12-10 15:56:45 +01:00
Dave Halter
bef5fca516
Refactor compiled.CompiledObject so it always owns an evaluator instance.
2015-12-08 02:19:33 +01:00
Dave Halter
76345c0b58
Final fixes for pure usage of py__iter__.
2015-12-04 00:15:48 +01:00
Dave Halter
21faf2431a
Added isinstance type checks in the linter.
2015-12-03 16:14:26 +01:00
Dave Halter
f66b8138b7
Remove ordered_elements_of_iterable and get_iterator_types, because they are not used anymore.
2015-12-03 09:25:11 +01:00
Dave Halter
76bbc91ff9
Remove some stdlib stuff that only complicated things.
2015-12-02 13:46:13 +01:00
Dave Halter
d835ffc5a3
Get rid of ordered_elements_of_iterable and use py__iter__ instead.
2015-12-02 13:39:22 +01:00