cpython/Objects
Tim Peters fb05db2cae file_truncate(): provide full "large file" support on Windows, by
dropping MS's inadequate _chsize() function.  This was inspired by
SF patch 498109 ("fileobject truncate support for win32"), which I
rejected.

libstdtypes.tex:  Someone who knows should update the availability
blurb.  For example, if it's available on Linux, it would be good to
say so.

test_largefile:  Uncommented the file.truncate() tests, and reworked to
do more.  The old comment about "permission errors" in the truncation
tests under Windows was almost certainly due to that the file wasn't open
for *write* access at this point, so of course MS wouldn't let you
truncate it.  I'd be appalled if a Unixish system did.

CAUTION:  Someone should run this test on Linux (etc) too.  The
truncation part was commented out before.  Note that test_largefile isn't
run by default.
2002-03-11 00:24:00 +00:00
..
.cvsignore Ignore a bunch of generated files. 2000-05-02 18:34:30 +00:00
abstract.c Fix leak of NotImplemented in previous checkin to PyNumber_Add(). 2002-03-08 21:28:54 +00:00
bufferobject.c Fix for Bug #216405: 2001-10-19 13:49:35 +00:00
cellobject.c Use new GC API. 2001-08-29 23:54:21 +00:00
classobject.c Be smarter about clearing the weakref lists for instances, instance methods, 2001-10-26 17:56:51 +00:00
cobject.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
complexobject.c Declare real and imag as read-only attributes. 2002-02-08 21:26:07 +00:00
descrobject.c SF bug #493561: incorrect format string descrobject.c (Neal Norwitz) 2001-12-15 05:00:30 +00:00
dictobject.c SF bug #491415 PyDict_UpdateFromSeq2() unused 2001-12-11 18:51:08 +00:00
fileobject.c file_truncate(): provide full "large file" support on Windows, by 2002-03-11 00:24:00 +00:00
floatobject.c SF bug 525705: [2.2] underflow raise OverflowException. 2002-03-09 04:58:24 +00:00
frameobject.c Fix memory leak in dict_to_map(), SF bug [ #485152 ] memory leak in test_scope. 2001-12-06 15:48:16 +00:00
funcobject.c Portability fix: Not every compiler implements the extension of 2001-12-17 11:39:56 +00:00
intobject.c Bugfix candidate. 2002-02-01 15:34:10 +00:00
iterobject.c Patch #427190: Implement and use METH_NOARGS and METH_O. 2001-08-16 13:15:00 +00:00
listobject.c Fix of SF bug #475877 (Mutable subtype instances are hashable). 2001-12-03 16:32:18 +00:00
longobject.c Patch #494047: removes 64-bit ?: to cope on plan9. 2002-03-09 12:02:59 +00:00
methodobject.c Add optional docstrings to getset descriptors. Fortunately, there's 2001-09-20 21:45:26 +00:00
moduleobject.c Add missing "static" declarations (found by "make smelly"). 2001-10-21 22:28:58 +00:00
object.c Whether platform malloc(0) returns NULL has nothing to do with whether 2002-03-02 08:43:19 +00:00
obmalloc.c Identifiers matching _[A-Z_]\w* are reserved for C implementations. 2001-03-11 18:36:13 +00:00
rangeobject.c Fix spelling mistakes. Bugfix candidates. 2002-01-29 00:53:41 +00:00
sliceobject.c Add values to tp_getattro and tp_flags so that dir(Ellipsis) will 2001-10-30 02:40:52 +00:00
stringobject.c %#x/%#X format conversion cleanup (see patch #450267): 2002-02-28 11:38:24 +00:00
structseq.c Guido pointed out that I was missing a couple decrefs. 2002-03-07 15:13:40 +00:00
tupleobject.c _PyTuple_Resize(): this dumped core on tuple(globals()) for me. Turns 2001-12-07 20:00:04 +00:00
typeobject.c Bugfix candidate. 2002-03-10 14:11:16 +00:00
unicodectype.c removed "register const" from scalar arguments to the unicode 2001-06-27 22:08:26 +00:00
unicodeobject.c %#x/%#X format conversion cleanup (see patch #450267): 2002-02-28 11:38:24 +00:00
unicodetype_db.h forgot to check in the new makeunicodedata.py script 2001-01-21 17:01:31 +00:00
weakrefobject.c proxy_compare(): Make sure that we unwrap both objects being compared if 2001-12-19 16:44:30 +00:00
xxobject.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00