337:d6b253d49e99
|
2016-12-06 |
Paul Boddie |
changeset
files
shortlog
graph
|
Moved stdin, stdout, stderr to posix.io. |
|
|
lib/posix/io.py lib/sys.py
|
|
336:8c75cdf1a764
|
2016-12-06 |
Paul Boddie |
changeset
files
shortlog
graph
|
Introduced stream classes employing C-level FILE pointers, changing the sys
stdin, stdout and stderr objects to be instances of these stream classes.
Added fread and fwrite support to the native functions.
Added support for raising EOFError. |
|
|
lib/__builtins__/exception/io.py lib/native.py lib/posix/io.py lib/sys.py templates/native.c templates/native.h templates/progops.c templates/progops.h
|
|
335:9e4234566d99
|
2016-12-06 |
Paul Boddie |
changeset
files
shortlog
graph
|
Properly fixed the buffer allocation. |
|
|
templates/native.c
|
|
334:c3aadc0a672d
|
2016-12-06 |
Paul Boddie |
changeset
files
shortlog
graph
|
Attempt to handle module ordering dependencies caused by function defaults. |
|
|
importer.py
|
|
333:aa10eecbc8ce
|
2016-12-06 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed the buffer declaration in the read function. |
|
|
templates/native.c
|
|
332:575115c7ce73
|
2016-12-06 |
Paul Boddie |
changeset
files
shortlog
graph
|
Moved sysfile into the posix.io module. |
|
|
lib/__builtins__/__init__.py lib/__builtins__/io.py lib/posix/io.py lib/sys.py
|
|
331:d6bd77febdba
|
2016-12-06 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed the native read function, allocating new strings from the input buffer.
Added a value to IOError instances and fixed IOError raising in the native
functions and helper functions.
Added a test of reading data and updated the test runner to send some default
input into every test. |
|
|
lib/__builtins__/exception/io.py templates/native.c templates/progops.c templates/progops.h test_all.sh tests/read.py tests/testinput.txt
|
|
330:fe62bfdc0d27
|
2016-12-06 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed/restored the posix submodule imports. |
|
|
lib/posix/__init__.py
|
|
329:959c65c586e8
|
2016-12-06 |
Paul Boddie |
changeset
files
shortlog
graph
|
Do not load modules while descending into packages. |
|
|
importer.py
|
|
328:7ce269cf4539
|
2016-12-06 |
Paul Boddie |
changeset
files
shortlog
graph
|
Moved native I/O function usage to functions in the posix.io module, employing
these functions in the built-in file object.
Added the raising of IOError in native functions.
Added a tentative read native function implementation.
Added a tentative fdopen native function implementation and a miscellaneous
datavalue member to the __attr structure.
Moved the read function into the posix.io module.
Temporarily removed imports from the posix top-level module. |
|
|
lib/__builtins__/io.py lib/native.py lib/posix/__init__.py lib/posix/filesys.py lib/posix/io.py templates/native.c templates/native.h templates/types.h
|
|