Introduced the detection of a particular error before its effects cause a less
helpful error later in the deduction process (involving the absence of accessor
types).
1fromsysimportlstdin 2 3printlstdin# <libc.io.sysstream instance> 4printlstdin.encoding# ISO-8859-15 5print"Reading 10 bytes..." 6s=lstdin.read(10) 7prints 8 9print"Reading to end of file..." 10s=lstdin.read() 11prints