Commits

Author Commit Message Labels Comments Date
Guido van Rossum
Fix most XXX remarks.
Guido van Rossum
Test closed, mode attribute; don't test __exit__().
Walter Dörwald
Fix utf-8-sig incremental decoder, which didn't recognise a BOM when the first chunk fed to the decoder started with a BOM, but was longer than 3 bytes.
Branches
legacy-trunk
Ziga Seilnacht
Patch #1695862: remove the cleanup code, now that Windows buildbots are green again.
Branches
legacy-trunk
Georg Brandl
Patch #1698951: clarify deprecation message in rexec and Bastion
Branches
legacy-trunk
Guido van Rossum
Make sure that writing an array instance returns the number of bytes, not the number of array elements.
Guido van Rossum
TextIO improvement: - 25% speed increse in tell(); - f.seek(0, 1) now maps to f.seek(f.tell(), 0) instead of to f.tell().
Raymond Hettinger
SF 1193128: Let str.translate(None) be an identity transformation
Branches
legacy-trunk
Georg Brandl
Repair missing spaces after \UNIX.
Branches
legacy-trunk
Georg Brandl
Exceptions are no longer old-style instances. Fix accordingly.
Branches
legacy-trunk
Georg Brandl
Bug #1697782: remove all remaining code that uses types.InstanceType.
Raymond Hettinger
SF 1191699: Make slices picklable
Branches
legacy-trunk
Georg Brandl
Add some missing NULL checks which trigger crashes on low-memory conditions. Found by Victor Stinner. Will backport when 2.5 branch is unfrozen.
Branches
legacy-trunk
Guido van Rossum
Make array().tofile() work with a new I/O object.
Guido van Rossum
Re-enable cleanup code.
Guido van Rossum
Speed up next() by disabling snapshot updating then.
Guido van Rossum
More efficient implementation of tell(); _read_chunk() doesn't have to call self.buffer.tell().
Andrew Kuchling
Describe undocumented third argument to touchline()
Branches
2.5
Andrew Kuchling
Describe undocumented third argument to touchline()
Branches
legacy-trunk
Andrew Kuchling
Point readers at the patch submission instructions
Branches
legacy-trunk
Andrew Kuchling
Add window.chgat() method, submitted via e-mail by Fabian Kreutz
Branches
legacy-trunk
Guido van Rossum
Real pickling for bytes. Restore complex pickling. Use cPickle in io.py.
Guido van Rossum
An example of action-at-a-distance: fix the problems I had in test_io.py without touching io.py or test_io.py. The cause of the failure was that bytes objects didn't pickle right. As a stop-gap measure, I'm providing bytes pickling via copy_reg. Eventually, we should use a more efficient protocol, e.g. __reduce_ex__ or __getstate__/__setstate__.
Guido van Rossum
Checkpoint so I can continue to work on this at a different box. There is somewhat working (but slow) code supporting seek/tell for text files, but extensive testing exposes a bug I can't nail down.
Georg Brandl
Repair a duplicate label and some obsolete uses of \setindexsubitem.
Branches
legacy-trunk
Guido van Rossum
truncate() returns the new size and position. write() returns the number of bytes/characters written/buffered. FileIO.close() calls self.flush(). Implement readinto() for buffered readers. Tests th check all these. Test proper behavior of __enter__/__exit__.
Guido van Rossum
Skip large file tests on Windowns and OSX. Reduce large file size to 2**31 (and a bit).
Guido van Rossum
Implement long positioning (Unix only, probably). Etc., etc.
Guido van Rossum
BufferedIOBase and TextIOBase should derive from IOBase, not from RawIOBase!
Facundo Batista
General clean-up. Lot of margin corrections, comments, some typos. Exceptions now are raised in the new style. And a mockup class is now also new style. Thanks Santiago Pereson.
Branches
legacy-trunk
  1. Prev
  2. Next