SIGN IN SIGN UP

Major restructuring of _fileobject. Hopefully several things now work

correctly (the test at least succeed, but they don't test everything yet).

Also fix a performance problem in read(-1): in unbuffered mode, this would
read 1 byte at a time.  Since we're reading until EOF, that doesn't make
sense.  Use the default buffer size if _rbufsize is <= 1.
G
Guido van Rossum committed
443fec3dd9c1a2c60b538af0504d4926e633b9b4
Parent: 8c94383