Author: guido.van.rossum
Date: Fri Apr 6 19:31:18 2007
New Revision: 54701
Modified:
python/branches/p3yk/Lib/io.py
python/branches/p3yk/Lib/test/test_io.py
Log:
Added a working Text I/O layer, by Mark Russell.
This is essentially a checkpoint.
Modified: python/branches/p3yk/Lib/io.py
===
Author: guido.van.rossum
Date: Fri Apr 6 20:11:47 2007
New Revision: 54702
Modified:
python/branches/p3yk/Lib/io.py
Log:
Get rid of duplicate definition of BufferedIOBase.
Modified: python/branches/p3yk/Lib/io.py
==
Author: guido.van.rossum
Date: Fri Apr 6 21:10:29 2007
New Revision: 54703
Modified:
python/branches/p3yk/Lib/io.py
python/branches/p3yk/Lib/test/test_io.py
Log:
Checkpoint.
Some cleanup of test_io.py and io.py.
Added seeking to buffered reader and writer, but no tests yet.
Modified: pyth
Author: guido.van.rossum
Date: Sat Apr 7 04:59:27 2007
New Revision: 54708
Modified:
python/branches/p3yk/Lib/io.py
Log:
Add some backwards compatibility stuff.
This now appears to work when io.open is substituted for the real open
in fileinput.py -- at least the latter's unit tests pass.
Mo
Author: guido.van.rossum
Date: Sat Apr 7 05:04:01 2007
New Revision: 54709
Modified:
python/branches/p3yk/Lib/pydoc.py
Log:
A class used as an exception should inherit from Exception.
(Should be backported to 2.6, really.)
Modified: python/branches/p3yk/Lib/pydoc.py
=
Author: guido.van.rossum
Date: Sat Apr 7 05:14:46 2007
New Revision: 54710
Modified:
python/branches/p3yk/Modules/config.c.in
Log:
Somehow this contained a bogus reference to "exceptions" which caused
"import exceptions" to behave bizarrely.
Modified: python/branches/p3yk/Modules/config.c.in