Author: guido.van.rossum
Date: Wed Apr 11 16:19:59 2007
New Revision: 54750
Modified:
python/branches/p3yk/Lib/io.py
python/branches/p3yk/Lib/test/test_io.py
Log:
More efficient implementation of tell(); _read_chunk() doesn't have to
call self.buffer.tell().
Modified: python/branches/p3yk/
Author: guido.van.rossum
Date: Wed Apr 11 18:07:50 2007
New Revision: 54754
Modified:
python/branches/p3yk/Lib/io.py
python/branches/p3yk/Lib/test/test_io.py
Log:
Speed up next() by disabling snapshot updating then.
Modified: python/branches/p3yk/Lib/io.py
=
Author: guido.van.rossum
Date: Wed Apr 11 18:32:43 2007
New Revision: 54755
Modified:
python/branches/p3yk/Lib/test/test_io.py
Log:
Re-enable cleanup code.
Modified: python/branches/p3yk/Lib/test/test_io.py
==
--- pyt
Author: guido.van.rossum
Date: Wed Apr 11 19:08:28 2007
New Revision: 54756
Modified:
python/branches/p3yk/Lib/test/test_array.py
python/branches/p3yk/Modules/arraymodule.c
Log:
Make array().tofile() work with a new I/O object.
Modified: python/branches/p3yk/Lib/test/test_array.py
Author: georg.brandl
Date: Wed Apr 11 21:24:50 2007
New Revision: 54761
Removed:
python/branches/p3yk/Lib/test/crashers/infinite_rec_5.py
Modified:
python/branches/p3yk/Lib/cgitb.py
python/branches/p3yk/Lib/idlelib/ObjectBrowser.py
python/branches/p3yk/Lib/idlelib/rpc.py
python/bran
Author: guido.van.rossum
Date: Thu Apr 12 07:24:24 2007
New Revision: 54774
Modified:
python/branches/p3yk/Lib/io.py
Log:
TextIO improvement:
- 25% speed increse in tell();
- f.seek(0, 1) now maps to f.seek(f.tell(), 0) instead of to f.tell().
Modified: python/branches/p3yk/Lib/io.py
===
Author: guido.van.rossum
Date: Thu Apr 12 07:44:49 2007
New Revision: 54777
Modified:
python/branches/p3yk/Lib/io.py
python/branches/p3yk/Lib/test/test_io.py
Log:
Make sure that writing an array instance returns the number of bytes,
not the number of array elements.
Modified: python/branch