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
|
|
330:8aba4d89a078
|
2010-06-06 |
Paul Boddie |
changeset
files
shortlog
graph
|
Changed the function/lambda support to generate special function instances for
both kinds of function where the defaults are dynamic.
Added support for testing dynamic defaults and for the strict constant nature of
non-dynamic attributes.
Consolidated the function declaration and definition code generation routines. |
|
|
micropython/ast.py micropython/data.py micropython/inspect.py micropython/trans.py tests/lambda_defaults_local_non_constant.py tests/nested_functions_using_defaults.py
|
|
329:ac8d3b0cf626
|
2010-06-05 |
Paul Boddie |
changeset
files
shortlog
graph
|
Changed parameter initialisation to explicitly use Instance() instead of None.
Made the default parameter value code use the same mechanisms as other
attribute-setting code.
Added tests of lambdas and nested functions with locally defined defaults. |
|
|
micropython/data.py tests/lambda_defaults_local_non_constant.py tests/lambda_defaults_non_constant.py tests/nested_functions_using_defaults.py
|
|
328:62c4e5c5a254
329:ac8d3b0cf626 332:c368d83770c7
|
2010-06-05 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed function name to avoid conflict with keyword. |
|
|
lib/operator.py
|
|
327:5b0445117268
|
2010-06-05 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added a test of nested functions. |
|
|
tests/nested_functions.py
|
|
326:6409cf41ace3
|
2010-06-05 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added null argument notation in order to actually support other arguments when
processing the package itself. |
|
|
test.py
|
|
325:58b093e67a2e
|
2010-06-02 |
Paul Boddie |
changeset
files
shortlog
graph
|
Removed usage of getattr by introducing lambda functions providing the methods
specific to each operation. |
|
|
lib/operator.py
|
|
324:7fa0f8a72b49
|
2010-05-30 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added a missing operator definition to micropython.common.augassign_methods.
Added the operator module which could eventually be used to support all usage of
operators in a program. |
|
|
lib/operator.py micropython/common.py
|
|
323:10506f500308
|
2010-04-21 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added node qualification of name usage, since some name usage really involves
attributes and not globally recognised names.
Tidied up a test, replacing previous commentary. |
|
|
micropython/inspect.py tests/attribute_access_type_restriction_conditional.py
|
|