micropython

Changelog

(0) -300 -100 -10 +10 +100 +300 tip
414:ea8cd6ca4083
2011-05-08 Paul Boddie changeset files shortlog graph Fixed the placeholder default for getattr which was a hybrid of the old and new mechanisms for defining such a placeholder.
lib/builtins.py
413:57ac9550cc0b
2011-05-08 Paul Boddie changeset files shortlog graph Added a test which demonstrates the need for speculative attribute coverage when getattr is involved.
TO_DO.txt tests/getattr_instance_methods.py
412:e78c27763673
2011-05-01 Paul Boddie changeset files shortlog graph Added support for dynamic attribute accesses by extending string constants that potentially refer to attributes with object table index information, using the new _accessor class. Such constants are produced when the _accessor class is in use, currently only when the built-in getattr function is used, mentioning the _accessor class and causing it to be incorporated into generated programs. Added tests of attribute access involving the object table and getattr, together with tests which should demonstrate strings remaining as instances of str because getattr has been replaced with a "fake" version that invokes the object table mechanisms directly.
lib/builtins.py micropython/__init__.py micropython/data.py micropython/inspect.py micropython/raw.py micropython/rsvp.py rsvplib.py tests/attributes_class_uncertain.py tests/attributes_instance_uncertain.py tests/getattr_class.py ...
411:ef635f7f79ea
2011-04-30 Paul Boddie changeset files shortlog graph Added support for "raise" without arguments.
micropython/ast.py
410:fa58e72b573a
2011-04-26 Paul Boddie changeset files shortlog graph Added missing list method. Added simple import test.
lib/builtins.py tests/import_pygame.py
409:bcdd14822a46
2011-03-23 Paul Boddie changeset files shortlog graph Made ObjectSet more usable as a set member and as a collection. Store products of ObjectSet instances in a set, not a list. Fixed the HTML generation to show attribute types again.
micropython/common.py micropython/report.py
408:930e3447f06f
2011-03-23 Paul Boddie changeset files shortlog graph Fixed function definitions to copy extra parameters before the frame is extended, otherwise the extended frame elements are erroneously copied into the star argument tuple. Added tests to check the behaviour of star argument initialisation in the presence of locals. Introduced a _tuple native method to convert lists to tuples. Updated the native library functions to use variables indicating the size of fragment headers.
TO_DO.txt lib/builtins.py micropython/ast.py micropython/trans.py rsvplib.py tests/call_func_extra_known_with_locals.py tests/call_func_extra_unknown_with_locals.py tests/tuple_call.py
407:fd96865ebfb7
2011-03-21 Paul Boddie changeset files shortlog graph Changed the test runner to support separate-process invocation of the test program, since running all tests in the same process appears to cause substantial memory usage as if memory is not being freed, even when garbage collection is explicitly requested.
test.py test_all.py
406:7696283f6599
2011-03-21 Paul Boddie changeset files shortlog graph Fixed attribute coverage analysis to obtain the real identity of attributes in order to properly follow attribute references. Added various tests of instance attribute definition, usage and preservation.
micropython/__init__.py micropython/inspect.py tests/attributes_instance_defined_in_method_used_by_subclass.py tests/attributes_instance_unused.py tests/attributes_instance_used_by_subclass.py
405:5c0225bbbd03
2011-03-20 Paul Boddie changeset files shortlog graph Added support in the code generation for class attribute assignment, introducing optimisation-related configuration of the support depending on whether attribute usage is being tracked. Prevented __class__ attribute assignment if detected at compile-time. Added run-time support for class attribute assignment. Added registration of instance attribute usage upon assignment. Added a special attribute to exception instances, protecting it from vacuuming. Fixed a test of class attribute assignment so that it can be run successfully.
lib/builtins.py micropython/ast.py micropython/data.py micropython/inspect.py micropython/opt.py micropython/trans.py rsvp.py tests/attributes_class_assignment_unknown_alternatives.py
(0) -300 -100 -10 +10 +100 +300 tip