392:6d66508a5758
|
2016-12-13 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added encoding attributes and text encoding/decoding support to file streams.
Added a test of Unicode object creation and output. |
|
|
lib/__builtins__/file.py lib/__builtins__/unicode.py lib/posix/io.py tests/unicode.py
|
|
391:fd5cc95c936a
|
2016-12-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Store module dependencies in the cache so that the module ordering is repeatably
computable in the importer. The importer must preserve the original dependencies
for the cache while updating the references for the rest of the program. |
|
|
importer.py modules.py referencing.py
|
|
390:0538ce057931
|
2016-12-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added initial support for Unicode strings based on byte strings. |
|
|
lib/__builtins__/__init__.py lib/__builtins__/str.py lib/__builtins__/types.py lib/__builtins__/unicode.py
|
|
389:f326b1d00b21
|
2016-12-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Set the current assignment to True rather than to a value that may be undefined. |
|
|
inspector.py
|
|
388:887f9d80a137
|
2016-12-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed the substring length calculation for negative step values. |
|
|
templates/native/str.c
|
|
387:d11750cc8bf3
|
2016-12-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added tests of illegal sequences when converting between encodings. |
|
|
tests/iconv.py
|
|
386:ef11d7542969
|
2016-12-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Support incremental conversion of strings, handling incomplete sequences of
characters, employing the string representation method to obtain the result.
Added a native function to reset the iconv context.
Added tests of feeding incomplete sequences followed by the remaining bytes. |
|
|
lib/native/__init__.py lib/native/iconv.py lib/posix/iconv.py templates/native/iconv.c templates/native/iconv.h tests/iconv.py
|
|
385:e11d55280718
|
2016-12-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed operation encoding for attribute access tests. |
|
|
deducer.py encoders.py
|
|
384:f42e303e5dc5
|
2016-12-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed string slicing to produce strings, changing sequences to not provide
list-based slicing to all descendant classes.
Changed the native substring function to use start, end and step information,
adding step support.
Changed the names in the native string module to reflect __data__ attribute
usage.
Added tests of string slicing. |
|
|
lib/__builtins__/sequence.py lib/__builtins__/str.py lib/native/str.py templates/native/str.c tests/string.py
|
|
383:42fed2e5be00
|
2016-12-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Put exception handling around all conversions. |
|
|
tests/iconv.py
|
|