Lichen

Annotated tests/read.py

843:d305986d05c8
2018-07-05 Paul Boddie Employed sets for attributes and providers referenced by accesses. This causes various attributes to be identified definitively in the access plans and instruction sequences.
paul@341 1
from posix import read
paul@331 2
paul@331 3
try:
paul@331 4
    s = read(3, 10)
paul@331 5
except IOError, exc:
paul@331 6
    print "read(3, 10): input/output error condition", exc.value
paul@331 7
paul@331 8
s = read(0, 10)
paul@331 9
print s