Staging
v0.5.1
https://github.com/python/cpython
Revision b8c0230a27443b65c23c666ad87ed905ec606663 authored by Tim Peters on 06 September 2001, 01:17:45 UTC, committed by Tim Peters on 06 September 2001, 01:17:45 UTC
1. That seeking beyond the end of a file increases the size of a file.
2. That files so extended are magically filled with null bytes.

I find no support for either in the C std, and #2 in particular turns out
not to be true on Win32 (you apparently see whatever trash happened to be
on disk).  Left #1 intact, but changed the test to check only bytes it
explicitly wrote.  Also fiddled the "expected" vs "got" failure reports
to consistently use repr (%r) -- they weren't readable otherwise.
1 parent 6e13a56
History
Tip revision: b8c0230a27443b65c23c666ad87ed905ec606663 authored by Tim Peters on 06 September 2001, 01:17:45 UTC
Dubious assumptions:
Tip revision: b8c0230
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.cvsignore -rw-r--r-- 109 bytes
.hgtags -rw-r--r-- 2.1 KB
LICENSE -rw-r--r-- 12.0 KB
Makefile.pre.in -rw-r--r-- 25.4 KB
PLAN.txt -rw-r--r-- 12.2 KB
README -rw-r--r-- 38.1 KB
acconfig.h -rw-r--r-- 7.3 KB
configure -rwxr-xr-x 199.8 KB
configure.in -rw-r--r-- 48.1 KB
install-sh -rwxr-xr-x 5.5 KB
pyconfig.h.in -rw-r--r-- 18.8 KB
setup.py -rw-r--r-- 30.1 KB

README

back to top