528:d486a4cf1730
|
2012-06-09 |
Paul Boddie |
changeset
files
shortlog
graph
|
Improved contributor and usage discovery where contribution loops are encountered.
Added a test of nested conditional statements.
Updated the "to do" list. |
|
|
TO_DO.txt micropython/data.py tests/attribute_access_type_restriction_conditional_nested.py
|
|
527:830194e3b6ab
|
2012-06-05 |
Paul Boddie |
changeset
files
shortlog
graph
|
Reinstated tentative declarations of instance attributes from attribute usage
that can be overridden by the declaration of class attributes for classes in the
same hierarchy. Thus, "mix-in" classes whose methods employ self-based attribute
accesses will not cause instance attributes to be allocated if class attributes
are defined in descendant classes making use of such "mix-in" classes. |
|
|
micropython/data.py micropython/inspect.py
|
|
526:6a5775a85248
|
2012-06-05 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added a comment about a related test. |
|
|
tests/attributes_class_used_by_superclass.py
|
|
525:deb3720de7d1
|
2012-06-05 |
Paul Boddie |
changeset
files
shortlog
graph
|
Introduced more rigid selection of suitable types depending on whether all
attributes given as being used can be found in one or more types, or whether the
selection of less satisfactory types (supporting any of the attributes) is
necessary. |
|
|
micropython/__init__.py micropython/common.py micropython/data.py
|
|
524:18271fe1fd53
|
2012-06-05 |
Paul Boddie |
changeset
files
shortlog
graph
|
Reverted the introduction of instance attribute usage as declarations. |
|
|
micropython/inspect.py
|
|
523:43f315a8e0f0
|
2012-06-05 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added warning annotations where no attribute access targets are found from usage observations. |
|
|
micropython/report.py
|
|
522:57d6f164821b
|
2012-06-04 |
Paul Boddie |
changeset
files
shortlog
graph
|
Moved the code for class hierarchy filtering of types into a common function.
Introduced type filtering in the attribute usage type deduction method. |
|
|
micropython/__init__.py micropython/common.py micropython/data.py
|
|
521:1af8032d9f88
|
2012-06-04 |
Paul Boddie |
changeset
files
shortlog
graph
|
Allow usage of instance attributes as declarations, permitting external
initialisation of such attributes. |
|
|
micropython/inspect.py
|
|
520:1114731b6e1e
|
2012-06-04 |
Paul Boddie |
changeset
files
shortlog
graph
|
Simplify attribute assignment by insisting on the types identified from usage
observations, only noting assignments on those and not on any type that could
support a particular attribute. |
|
|
micropython/__init__.py
|
|
519:814bd122d84d
|
2012-06-04 |
Paul Boddie |
changeset
files
shortlog
graph
|
Updated the documentation to reflect class attribute assignment policies.
Added tests to demonstrate class attribute rebinding. |
|
|
docs/assignment.txt docs/concepts.txt tests/attributes_class_rebind.py tests/attributes_class_rebind_ambiguous.py
|
|