378:15348c678a83
|
2016-12-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added an explicit size member to __attr for strings, eliminated strlen usage,
replaced strncpy usage with memcpy, permitting strings with zero bytes to be
stored and manipulated. |
|
|
encoders.py generator.py templates/native/buffer.c templates/native/common.c templates/native/common.h templates/native/int.c templates/native/io.c templates/native/locale.c templates/native/str.c templates/types.h ...
|
|
377:4a9521f666e9
|
2016-12-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added attributes to OSError instances. |
|
|
lib/__builtins__/exception/system.py
|
|
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
|
|