136:7185f75492b3
|
2006-12-01 |
paulb |
changeset
files
shortlog
graph
|
Noted operator coverage, adding unary operator viewing and support for floor
division.
Added a border around pop-up annotation elements. |
|
|
lib/builtins.py simplify.py tests/operators.py viewer.py
|
|
135:8a7125282e77
|
2006-11-28 |
paulb |
changeset
files
shortlog
graph
|
Introduced ReturnFromFunction and ReturnFromBlock nodes, replacing usage of
Return nodes and improving the handling of locals snapshots and return values.
Added pop-up elements for certain keywords in the viewer.
Expanded operation node support.
Tidied the construction of various node representations.
Reordered various methods for potentially easier navigation.
Expanded tests, adding for2.py: a test of return values within blocks. |
|
|
annotate.py simplified.py simplify.py tests/for2.py tests/operators.py viewer.py
|
|
134:6f50625c615f
|
2006-11-27 |
paulb |
changeset
files
shortlog
graph
|
Fixed namespace merging for return values (upon finishing a shared locals block
invocation) and temporary variables.
Improved Add node support. |
|
|
annotate.py simplify.py viewer.py
|
|
133:5b213d091b9f
|
2006-11-26 |
paulb |
changeset
files
shortlog
graph
|
Introduced a CheckExc node for the specific purpose of testing exception types.
Changed the processing of exception details to test explicitly for Tuple nodes
and to flatten such structures in order to build CheckExc nodes, which are then
used directly in testing exception types and pruning the exceptions from the
current namespace.
Introduced improved namespace management in Try nodes.
Added a get_class convenience method in the Instance class.
Improved tests. |
|
|
annotate.py simplified.py simplify.py tests/tryexcept.py
|
|
132:f991da4a64a4
|
2006-11-26 |
paulb |
changeset
files
shortlog
graph
|
Simplified the Annotator's process_node function signature.
Introduced module namespace updates so that access to module globals always goes
through the current top-level namespace.
Changed the namespace merging to only update returned locals within blocks, not
to propagate such things between blocks.
Made the returned locals completely override the caller locals when returning
from a block which shares locals with the caller.
Fixed parameter types so that they are updated, not overwritten.
Updated comments and tests. |
|
|
annotate.py simplify.py tests/logical_attr.py
|
|
131:c835a3579518
|
2006-11-25 |
paulb |
changeset
files
shortlog
graph
|
Introduced type "pruning" for names where non-accesses (attribute accesses which
fail because a type cannot provide an attribute) rule out types provided by
names. |
|
|
annotate.py tests/logical_attr.py
|
|
130:20e8405a3ee5
|
2006-11-25 |
paulb |
changeset
files
shortlog
graph
|
Changed boolean to bool and __true__ to __bool__. |
|
|
lib/builtins.py simplify.py
|
|
129:793337218643
|
2006-11-25 |
paulb |
changeset
files
shortlog
graph
|
Introduced more sophisticated Not node construction, incorporating __true__
calls where necessary.
Added the object class to the builtins module, adding it automatically to the
base class list of any class not having any superclasses itself.
Suppressed object class display where classes have no other superclasses. |
|
|
lib/builtins.py simplify.py viewer.py
|
|
128:1e13a8230404
|
2006-11-14 |
paulb |
changeset
files
shortlog
graph
|
Improved/added tests of logical operators.
Renamed the string class to str, eliminating the str built-in function. |
|
|
lib/builtins.py tests/logical.py tests/logical_attr.py
|
|
127:358247608f6b
|
2006-11-14 |
paulb |
changeset
files
shortlog
graph
|
Added logical operators. |
|
|
viewer.py
|
|