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
|
|
126:3468ff9574a1
|
2006-11-14 |
paulb |
changeset
files
shortlog
graph
|
Fixed non_accesses recording. |
|
|
annotate.py
|
|
125:60fbda2deb14
|
2006-11-12 |
paulb |
changeset
files
shortlog
graph
|
Introduced non_writes as an annotation. |
|
|
annotate.py viewer.py
|
|
124:c61ceee0c8d3
|
2006-10-31 |
paulb |
changeset
files
shortlog
graph
|
Changed non_types to non_accesses.
Tidied up the viewer output of types, non_accesses, accesses and writes. |
|
|
annotate.py viewer.py
|
|