376:333e1b23f4e4
|
2016-12-11 |
Paul Boddie |
changeset
files
shortlog
graph
|
Allocate separate strings for the function results. Fixed comments. |
|
|
templates/native/locale.c
|
|
375:553d14eaf82c
|
2016-12-11 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added a module providing locale initialisation, access and update functions. |
|
|
lib/locale.py lib/native/__init__.py lib/native/locale.py templates/native/locale.c templates/native/locale.h tests/locale.py
|
|
374:0613a74e6aca
|
2016-12-11 |
Paul Boddie |
changeset
files
shortlog
graph
|
Implemented hex and oct, adding tests. |
|
|
lib/__builtins__/character.py tests/numbers.py
|
|
373:ff3ebfe09afc
|
2016-12-11 |
Paul Boddie |
changeset
files
shortlog
graph
|
Produce an error when an argument is not supported by any known parameter. |
|
|
translator.py
|
|
372:01ac965a92a9
|
2016-12-10 |
Paul Boddie |
changeset
files
shortlog
graph
|
Implemented the all and any functions, adding some tests. |
|
|
lib/__builtins__/iterable.py tests/logical.py
|
|
371:d75ff26f7c0a
|
2016-12-10 |
Paul Boddie |
changeset
files
shortlog
graph
|
Implemented the reduce function, adding some relevant tests. |
|
|
lib/__builtins__/iterable.py tests/range.py
|
|
370:2ab8235da060
|
2016-12-10 |
Paul Boddie |
changeset
files
shortlog
graph
|
Implemented enumerate, filter, map, reversed and sum. Fixed max and min.
Extended the tests to cover these functions. |
|
|
lib/__builtins__/iterable.py tests/range.py tests/slice.py
|
|
369:2eb43643f5ed
|
2016-12-10 |
Paul Boddie |
changeset
files
shortlog
graph
|
Introduced a separate iterator for xrange objects, permitting their re-use. |
|
|
lib/__builtins__/span.py
|
|
368:22cf1ce6cfa7
|
2016-12-10 |
Paul Boddie |
changeset
files
shortlog
graph
|
Introduced a separate variable for assignment accessors, preventing conflicts
between assignment targets and assignment expressions. |
|
|
optimiser.py templates/ops.h translator.py
|
|
367:853edfa770e3
|
2016-12-10 |
Paul Boddie |
changeset
files
shortlog
graph
|
Reorganised slice and xrange so that slices do not act as ranges, permitting the
start and end of a slice to be None.
Support reverse sequences in the __getslice__ sequence method. |
|
|
lib/__builtins__/sequence.py lib/__builtins__/span.py tests/slice.py
|
|