Dave Halter
|
ec7a609e44
|
Remove some unnecessary code in dynamic.py
|
2015-03-05 01:13:43 +01:00 |
|
Dave Halter
|
f273e314b6
|
Preparing for an eventual replacement of using expr_stmt for all nodes.
|
2015-03-05 00:07:50 +01:00 |
|
Dave Halter
|
96add84459
|
Fix a very complicated issue with comprehensions.
|
2015-03-03 12:56:48 +01:00 |
|
Dave Halter
|
1520ebf557
|
Fixed an issue with ArrayInstances that were using name lookups, which it doesn't have.
|
2015-03-03 02:39:02 +01:00 |
|
Dave Halter
|
5322c4a965
|
decorator dotted_names goto lookups.
|
2015-03-02 14:31:12 +01:00 |
|
Dave Halter
|
5a845e4dea
|
Fix a decorator goto issue.
|
2015-03-02 13:23:26 +01:00 |
|
Dave Halter
|
6d3bb5c4b1
|
Fix generator comprehensions issue when used as an argument.
|
2015-03-02 03:06:58 +01:00 |
|
Dave Halter
|
2b1ddb19c9
|
Need py__bool__ on generators as well as any other object.
|
2015-02-27 12:36:03 +01:00 |
|
Dave Halter
|
610068dde4
|
Fix merged array values.
|
2015-02-27 11:23:53 +01:00 |
|
Dave Halter
|
a5728f8767
|
list comprehensions should be completeable.
|
2015-02-27 11:14:08 +01:00 |
|
Dave Halter
|
f5dad437dd
|
Get rid of the None default for memoize_default. It shouldn't have a default if not given. This also uncovered a bug in for/else loops, that wasn't teste before.
|
2015-02-27 01:42:14 +01:00 |
|
Dave Halter
|
a998c36fa3
|
Fix an attribute error in static analysis code.
|
2015-02-26 14:40:33 +01:00 |
|
Dave Halter
|
b8a8c4d402
|
Fix an array lookup issue. list.pop calls work now pretty well and return the right type.
|
2015-02-26 13:57:54 +01:00 |
|
Dave Halter
|
d318d3c855
|
Fix a potential issue in sys path searching. However not tested. This is something that raised an error with sith that was not reproducible.
|
2015-02-26 13:56:28 +01:00 |
|
Dave Halter
|
d7b69ab92c
|
Fix a small bug in the logic of finding self variables.
|
2015-02-25 13:54:13 +01:00 |
|
Dave Halter
|
0ae74a7666
|
Replace a __bases__ call with an __mro__ call, because the latter is closer to how Python actually works. __bases__ is never used.
|
2015-02-23 19:07:23 +01:00 |
|
Dave Halter
|
4f2d4992da
|
Fix an mro resolution issue.
|
2015-02-23 19:04:35 +01:00 |
|
Dave Halter
|
4613a810a5
|
Some small refactorings to the names_dict/deep_ast_copy logic.
|
2015-02-12 13:24:08 +01:00 |
|
Dave Halter
|
a8d3a9ab42
|
Remove old deep_ast_copy code.
|
2015-02-12 11:24:17 +01:00 |
|
Dave Halter
|
bcf6be0636
|
Radically rewrote deep_ast_copy.
|
2015-02-12 02:25:54 +01:00 |
|
Dave Halter
|
a12f259a0f
|
Actually remove check_first from deep_ast_copy.
|
2015-02-11 14:47:28 +01:00 |
|
Dave Halter
|
315c687048
|
Remove the need for the check_first param in deep_ast_copy.
|
2015-02-11 14:46:51 +01:00 |
|
Dave Halter
|
bc722a70f2
|
Simplify deep_ast_copy.
|
2015-02-11 02:16:57 +01:00 |
|
Dave Halter
|
6e5ba3de87
|
Fix remaining issue siwh the Param refactoring.
|
2015-02-11 01:40:18 +01:00 |
|
Dave Halter
|
cdbe26786a
|
Trying to get ird of the weird param generation in the parser tree.
|
2015-02-10 15:49:26 +01:00 |
|
Dave Halter
|
a095f8d9e0
|
Replace some isinstance checks in the parser tree with .type checks.
|
2015-02-09 12:27:29 +01:00 |
|
Dave Halter
|
8125d5f562
|
Remove asserts and calculate them dynamically.
|
2015-02-05 20:16:55 +01:00 |
|
Dave Halter
|
0a3797cf6e
|
Small refactorings.
|
2015-02-05 19:47:26 +01:00 |
|
Dave Halter
|
d0f1fd5267
|
Rename Simple -> BaseNode.
|
2015-02-05 14:18:30 +01:00 |
|
Dave Halter
|
0c1bbf78e2
|
Rename SubModule to Module, because that's a more fitting description. There were reasons for the name before the new fast parser, but those don't exist anymore.
|
2015-02-05 14:16:43 +01:00 |
|
Dave Halter
|
a77ecdbed6
|
Remove param from get_statement_for_position.
|
2015-02-05 12:28:55 +01:00 |
|
Dave Halter
|
a4bd412801
|
Fix an issue with the positions of InstanceNames that used the original position_modifier.
|
2015-02-02 02:29:39 +01:00 |
|
Dave Halter
|
9a0f1363e3
|
Start removing the print statements that were used for debugging.
|
2015-02-01 02:32:52 +01:00 |
|
Dave Halter
|
bc118e8047
|
Simplify the fast parser tokenizer more. Now it is more readable and less buggy (+bugfixes).
|
2015-01-31 20:09:44 +01:00 |
|
Dave Halter
|
cf223a71f5
|
Add a position modifier for the fast parser. Not yet in use though.
|
2015-01-15 13:57:56 +01:00 |
|
Dave Halter
|
95b518e9fc
|
Use the Python 3.4 parser for docstring types.
We had to switch, because Ellipsis was otherwise not parseable.
|
2015-01-13 13:17:21 +01:00 |
|
Dave Halter
|
e6b9111749
|
Python 2.7 compatibility.
|
2015-01-13 02:12:49 +01:00 |
|
Dave Halter
|
582b9b01af
|
Get invalid INDENTs working.
The following DEDENT's are removed.
|
2015-01-12 12:22:57 +01:00 |
|
Dave Halter
|
5c98f6cf04
|
Suites don't have to contain statements anymore, this makes autocompletion better in certain cases.
|
2015-01-12 01:11:46 +01:00 |
|
Dave Halter
|
5334f8dbad
|
Implemented the in operator in a very simple fashion: It returns nothing.
|
2015-01-09 16:05:09 +01:00 |
|
Dave Halter
|
53b456dff2
|
Cleaning up.
|
2015-01-09 01:55:23 +01:00 |
|
Dave Halter
|
e8ef3b8ad4
|
Remove legacy code.
|
2015-01-09 01:45:09 +01:00 |
|
Dave Halter
|
d78a89df51
|
Move filter_after_position.
|
2015-01-09 01:37:42 +01:00 |
|
Dave Halter
|
26ecb16e5f
|
CompiledObject.type resembles now the Node.type values.
|
2015-01-09 01:33:59 +01:00 |
|
Dave Halter
|
144c20579b
|
Get rid of get_defined_names in compiled modules.
|
2015-01-08 17:53:20 +01:00 |
|
Dave Halter
|
bd304d33c7
|
Get rid of Function's get_magic_function_X, they are not used anymore.
|
2015-01-08 14:17:33 +01:00 |
|
Dave Halter
|
47fc3cbdfe
|
Functions are not exceptions anymore in the name finder.
|
2015-01-08 14:14:01 +01:00 |
|
Dave Halter
|
0dc61292b9
|
Remove get_defined_names methods from evaluate representation objects.
|
2015-01-08 13:42:52 +01:00 |
|
Dave Halter
|
6d58fed0e8
|
Remove get_defined_names in favor of names_dict in the parser tree.
|
2015-01-08 13:38:03 +01:00 |
|
Dave Halter
|
a20fd12de9
|
Remove all scope_names_generator usages.
|
2015-01-08 13:24:01 +01:00 |
|