340:3851a63280ff
|
2010-06-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed overwriting of exception source details. |
|
|
micropython/common.py
|
|
339:b8c6ae738723
|
2010-06-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Simplified exception raising so that the current node and unit name are added to
raised exceptions automatically.
Improved line number reporting in exceptions.
Removed the previous _scope annotations on AST nodes, handling scope conflicts
in the inspection process.
Added the note_scope and used_in_scope methods and the scope_usage attribute to
namespaces in order to track any external scope usage recorded for names.
Changed various tests to not employ name shadowing.
Added various tests which should exhibit failure due to name shadowing.
Fixed the xrange test which previously used name shadowing. |
|
|
micropython/ast.py micropython/common.py micropython/data.py micropython/inspect.py micropython/trans.py tests/attributes_class_bind_function.py tests/attributes_class_bind_function_inherited.py tests/attributes_class_bind_function_inherited_internal.py tests/attributes_class_bind_function_inherited_via_self.py tests/attributes_class_bind_function_internal.py ...
|
|
338:475fd98986d9
|
2010-06-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed the listiterator.next method to raise an exception instance.
Added a tuple.__iter__ implementation.
Removed "__init__" from the names_always_used list, introducing it into the
attribute coverage mechanism.
Fixed unknown name detection in the translation code.
Fixed an example where globals were used before being defined. |
|
|
lib/builtins.py micropython/__init__.py micropython/trans.py tests/op_add_default.py
|
|
337:d2231267c557
|
2010-06-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed the fragment occupied size upon extending a list. |
|
|
rsvplib.py
|
|
336:171279c4c97a
|
2010-06-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed memory allocation for list fragments. |
|
|
lib/builtins.py rsvp.py rsvplib.py
|
|
335:1bb8c2609f1e
334:662e6ce9a750 333:676798ee996f
|
2010-06-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Merged branches, added a separate test of xrange and lists. |
|
|
lib/builtins.py tests/xrange.py tests/xrange_list.py
|
|
334:662e6ce9a750
331:5dadd4e4a171
|
2010-06-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed scope handling where names are imported into namespaces.
Added a simple iter built-in function.
Made the xrange test use the iteration protocol. |
|
|
lib/builtins.py micropython/inspect.py micropython/trans.py tests/xrange.py
|
|
333:676798ee996f
335:1bb8c2609f1e
332:c368d83770c7 331:5dadd4e4a171
|
2010-06-11 |
Paul Boddie |
changeset
files
shortlog
graph
|
Merged dynamic/nested function and general development branches. |
|
|
micropython/__init__.py
|
|
332:c368d83770c7
328:62c4e5c5a254
|
2010-06-11 |
Paul Boddie |
changeset
files
shortlog
graph
|
Replaced the native mechanism for list initialisation with a Python-based
list.__init__ method and a simplified native method for initialising the initial
list fragment.
Introduced automatic namespace traversal of __init__ attributes for any
namespace providing such attributes. Unfortunately, this inflates the program
size substantially and needs to be reviewed.
Enabled proper testing of xrange instances using the updated support for list
initialisation. |
|
|
TO_DO.txt lib/builtins.py micropython/__init__.py rsvplib.py tests/xrange.py
|
|
331:5dadd4e4a171
333:676798ee996f 334:662e6ce9a750
|
2010-06-06 |
Paul Boddie |
changeset
files
shortlog
graph
|
Introduced the notion of dynamic definitions, to be used in conjunction with the
assessment of default parameter values, in order to determine whether functions
(and lambdas) are dynamic.
Fixed default layout for static and dynamic functions, removing lambda-specific
tests.
Changed the result of function/lambda definitions during inspection to be a
genuine function which can then be tested for dynamic properties.
Fixed loop tracking within functions. |
|
|
docs/invocation.txt micropython/__init__.py micropython/data.py micropython/inspect.py micropython/rsvp.py micropython/trans.py tests/call_func_default_global.py tests/call_func_default_global_multiple.py tests/call_func_default_global_non_constant.py
|
|