244:d4e3068a5c19
|
2007-06-22 |
paulb |
changeset
files
shortlog
graph
|
Moved Namespace from annotate to simplified.utils.
Made Subprogram a Structure in order to support namespaces and operations
dependent on namespaces (such as __bool__).
Prevented context alteration on attributes acquired through modules (as
globals).
Added a get_instances method for classes.
Attempted to improve instance fixing - still needs much work. |
|
|
simplify/annotate.py simplify/fixinstances.py simplify/simplified/data.py simplify/simplified/program.py simplify/simplified/utils.py
|
|
243:963f28594cbf
|
2007-06-22 |
paulb |
changeset
files
shortlog
graph
|
Added NoneType. |
|
|
lib/builtins.py
|
|
242:e9747fe6aca2
|
2007-06-22 |
paulb |
changeset
files
shortlog
graph
|
Added a test of method references. |
|
|
tests/method.py
|
|
241:5b1f8ecf6d2d
|
2007-06-21 |
paulb |
changeset
files
shortlog
graph
|
Changed the instance fixing to deal more thoroughly with "accesses" annotations.
Added a distinct instances cache to _Class. |
|
|
simplify/fixinstances.py simplify/simplified/data.py
|
|
240:9b23f16cabb2
|
2007-06-21 |
paulb |
changeset
files
shortlog
graph
|
Made list comprehensions internal subprograms. |
|
|
simplify/ast.py
|
|
239:8662157587f2
|
2007-06-21 |
paulb |
changeset
files
shortlog
graph
|
Added a test before trying to revoke exception types. |
|
|
simplify/annotate.py
|
|
238:010ed9472152
|
2007-06-21 |
paulb |
changeset
files
shortlog
graph
|
Added missing methods. |
|
|
lib/builtins.py
|
|
237:50317047854c
|
2007-06-19 |
paulb |
changeset
files
shortlog
graph
|
Added commentary. |
|
|
simplify/fixinstances.py
|
|
236:1d95c953c114
|
2007-06-19 |
paulb |
changeset
files
shortlog
graph
|
Added a values method to the Namespace class.
Changed instance fixing to replace Attribute objects, rather than to mutate them
(which disrupts comparison operations).
Added parameters and parameter types to instance fixing.
Removed spurious namespace references in instance fixing.
Fixed the Attribute __eq__ and __hash__ methods.
Made distinct instances dictionaries contain identity mappings.
Added builtins to the test program's instance fixing. |
|
|
simplify/annotate.py simplify/fixinstances.py simplify/simplified/data.py test.py
|
|
235:4baf44a943b1
|
2007-06-18 |
paulb |
changeset
files
shortlog
graph
|
Redefined the get_distinct_instances method on _Class to return a dictionary
mapping instances to distinct instances.
Added a program fixer which replaces instances with those from a distinct set
for each class.
Updated the viewer and test program to show only distinct instances when
requested. |
|
|
simplify/fixinstances.py simplify/simplified/data.py simplify/viewer.py test.py
|
|